...
Code Block | ||
---|---|---|
| ||
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192.168.0.50 netmask 255.255.255.0 gateway 192.168.0.1 # IName believeservers thisare entry is only necessary if your /etc/resolv.conf is empty and not working in an internal home network for example. Still need to validate next time I build a home Ubuntu system. My server system does not appear to need this. required for static entries. dns-nameservers 192.168.0.1 # Required as of Ubuntu 13.04 (in my testing, but I read 12.04 and up requires this) |
If you have not already, make sure are running from the console for this step. Otherwise you will be disconnected and have to connect again with the new ip address.
...
- http://www.debian-administration.org/articles/254
- Explains name servers are required for static entries - https://wiki.debian.org/NetworkConfiguration#Configuring_the_interface_manually