I am trying to set up a virtual machine on Ubuntu 16.04 and need to define the 3 network interfaces.
I have used hardinfo
and ifconfig
and both tell me that instead of the usual eth0
, eth1
etc. the interface names are:
enp0s25
enp2s1f0
enp2s1f1
However, when I try to use these in the interfaces file and restart the network, it does not recognise these interface names.
From journalctl -xe
I get lines such as:
Dec 29 10:32:10 Xerxes ifup[6531]: Unknown interface enp0s25
In addition, the interfaces are renames by virtualbox (my virtual machine) to em0 and em1 (the third is not recognised at all).
Can anyone help me understand what is going on please?