I'm running a few Ubuntu Xenial instances on an Openstack private cloud, and running into trouble with predictable network interface naming. I've tried to disable it by setting GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
in /etc/default/grub
. After rebooting, the first network interface still has its old 'predictable' name (ens3
), but the second interface has its old name (eth1
).
dmesg
has [ 1.403328] virtio_net virtio0 ens3: renamed from eth0
How do I configure Ubuntu so my first network interface is named eth0
?
GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=1 biosdevname=0"
– Doug Smythies Jul 27 '16 at 00:33ens3
etc) – insertjokehere Jul 27 '16 at 02:04