[arch-general] Why does network interface sometimes change name?

Mike Cloaked mike.cloaked at gmail.com
Tue Apr 7 08:08:29 UTC 2015


On Mon, Apr 6, 2015 at 4:36 PM, Felix E. Klee <felix.klee at inka.de> wrote:

> I am running Arch as a guest in VMware Player on Win7X64. On every odd
> boot, the name of the network interface changes. Sometimes it is:
>
>     eno16777736
>
> Sometimes it is:
>
>     eth0
>
>
I had the corresponding issue on a machine with two nics (not vm though),
and what fixed it for me was to add a udev rule (though it does depend on
having consistent mac address for each nic):

# cat /etc/udev/rules.d/10-network.rules
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="4c:72:b9:32:45:30",
NAME="eno1"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="4c:72:b9:32:45:32",
NAME="eno2"

If you want to associate a specific nic to a name chosen by you then this
may help.

-- 
mike c


More information about the arch-general mailing list