I am using Ubuntu 12.04.
/etc/network/interfaces file consists of:
# The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192.168.1.58 gateway 192.168.1.1 network 192.168.1.0 broadcast 192.168.1.255 dns-nameservers 22.214.171.124 126.96.36.199
I ran the command:
Which responded with:
*Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces *Reconfiguring network interfaces... RTNETLINK answers: File exists Failed to bring up eth0 [ OK ]
Next I ran ping google.com and received:
ping: unknown host google.com
I am not sure if my interfaces refreshed. How do I properly configure my network with my static DNS addresses?