udev/network question

Frantisek Hanzlik franta at hanzlici.cz
Mon Sep 16 21:50:41 UTC 2013


Frank Murphy wrote:
> On Mon, 16 Sep 2013 13:16:03 -0700
> Gary Artim <gartim at gmail.com> wrote:
> 
>> I have 6 nics that I'd like assigned like:
> 
>>
>> Any help greatly appreciated!
> 
> http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
> (I don't like this, how do I disable this?)
> on the kernel line place:
> net.ifnames=0
> to keep your eth*
> 
> I have three that match what I want using above, on kernel line.

When You use 'net.ifnames=0', then systemd-udev ignore
"/etc/udev/rules.d/NetworkNaming.rule". You get ethN interfaces,
but in order in which kernel found them - isn't possible rename
them via systemd-udev mechanism, and their order can randomly change
after each reboot. Maybe it is so-so stable on system with three NICs,
but on system with 5+ NICs it is seen normally (my experience).

You would have to rename them manually, in phase when they are not
active. It is not to big problem ( it is problem for systemd/udev
developers ;), but You must then manually initialize them too.



More information about the users mailing list