Static IP
Configure a static address in /etc/network/interfaces:
auto lo eth0
iface lo inet loopback
iface eth0 inet <static|dynamic>
address 192.168.1.101
netmask 255.255.255.0
gateway 192.168.1.1DNS
DNS servers are listed in /etc/resolv.conf.
Restart
/etc/init.d/networking restartCaution: restarting networking is an admin action.
Info
ifconfigUpdated:
2026 Aug 19

