I installed ubuntu server 14.04 that has 3 ethernet nics.
The names are not consistent between boots:
Sometimes I get this:
# lshw -businfo -C network
Bus info Device Class Description
================================================== ======
pci@0000:02:00.0 rename4 network 82574L Gigabit Network Connection
pci@0000:05:00.0 p2p1 network I210 Gigabit Network Connection
pci@0000:06:00.0 p3p1 network I210 Gigabit Network Connection
or this:
~# lshw -businfo -C network
Bus info Device Class Description
================================================== ======
pci@0000:02:00.0 p2p1 network 82574L Gigabit Network Connection
pci@0000:05:00.0 p2p2 network I210 Gigabit Network Connection
pci@0000:06:00.0 p3p1 network I210 Gigabit Network Connection
#biosdevname -i rename4
p2p1
# biosdevname -i p2p1
p2p2
It seems to get in some circular naming, so they are never consistent.
Changing kernel command line in /etc/default/grub:
GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=1 biosdevname=0"
Will get the names back to eth0, eth1, eth2,
however I'm not sure they will be consistent either.
How can I return to names defined by mac address?
Wayne
Bookmarks