I just upgraded a virtual 14.04 server machine to 16.04. After rebooting the VM I see the following error:
[FAILED] Failed to start Raise network interfaces.
See 'systemctl status networking.service' for details
After login I can run the mentioned command and get the following output (image as I'm not able to connect):
The configuration in /etc/network/interfaces
looks fine - featuring the manually configured eth0 (not using dhcp here)
What makes me wondering is that ifconfig -a
lists
- ens160
- lo
Where I would expect
- eth0
- lo
Trying to up the eth0 device via
sudo ifup -v eth0
outputs:
...
Cannot find device "eth0"
Failed to bring up eth0.
The virtual wired network device itself is still configured in the VM itself as it was before.
ip link
shows as well lo
and ens160
- where ens160
has the mac address configured in vmware for the single configured virtual network device.
UPDATE
I am able to solve the issue if i change all references of eth0 in /etc/network/interfaces
to ens160.
BUT - this feels wrong for me for several reasons:
- I would like to understand this problem
- I would like to stick to eth0 instead of ens160
So please can someone explain this change, which didn't happen to several other 14.04 machines on the same server which I also upgraded to 16.04.