-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNetworking.net
35 lines (26 loc) · 920 Bytes
/
Networking.net
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
>> /etc/network/interfaces
#STATIC [Debian 12 Bookworm]
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface with static IP
allow-hotplug ens33
iface ens33 inet static
address 192.168.18.140
netmask 255.255.255.0
gateway 192.168.18.2
dns-nameservers 192.168.18.2 1.1.1.1 8.8.4.4
dns-domain guler.com
#DHCP [Debian 12 Bookworm]
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug ens33
iface ens33 inet dhcp