# apt-get -y install ifupdown resolvconf # ifconfig
Obecna konfiguracja DHCP
enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.6 netmask 255.255.255.0 broadcast 192.168.1.255
# nano /etc/network/interfaces
# Interface Name # auto enp0s3 # Static IP Address # iface enp0s3 inet static # IP Address # address 192.168.1.10 # Netmask # netmask 255.255.255.0 # Gateway # gateway 192.168.1.1 # DNS Servers # dns-nameservers 192.168.1.1 dns-nameservers 8.8.8.8 # Search Domain # dns-search itzgeek.local
# service networking restart