My interfaces file which used to govern the IP configuration of my Ubuntu server is no longer having any affect over the interface settings on my ethernet int. On an identical hardware machine I have:
auto lo eth0
iface eth0 inet static
address 192.168.0.51
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameserver 8.8.8.8
On a newly installed 16.04.3 Ubuntu Server I have:
auto lo enp0s25
iface enp0s25 inet static
address 192.168.0.59
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameserver 8.8.8.8
Regardless of whether I ifdown
and then ifup
or flush the interface or even reboot the machine it won't take the configuration. On another machine with identical hardware, I installed Ubuntu 16.04.3 Desktop and was able to configure it from the GUI but not from the CLI using the same method I tried above. Can someone please hint at my error?
The ifconfig
output on the first quote says eth0
, the ifconfig
output of the second device says enp0s25
for it's interface that it why I specified them as such. The desktop Ubuntu that had the same problem had the same ifconfig
output of enp0s25
.