Re: Why does network interface sometimes change name?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Apr 6, 2015 at 4:36 PM, Felix E. Klee <felix.klee@xxxxxxx> 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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux