F18: unpredictable 'Predictable Network Interface Names'?

Frantisek Hanzlik franta at hanzlici.cz
Tue Feb 26 00:00:59 UTC 2013


poma wrote:
> On 02/25/13 21:01, Reindl Harald wrote:
> […]
>> so switch to anything else as ethX in your naming in
>> /etc/udev/rules.d/70-persistent-net.rules
>> like "lan0", "lan1", "wan0", "wan1" in ifcfg-lan1....
>>
>> so you would not have race-conditions in kernel/udev naming the interfaces
>>
> 
> mv /etc/udev/rules.d/70-persistent-net.rules(70-moje-net.rules)
> /etc/udev/rules.d/70-persistent-net.rules.bkp(70-moje-net.rules.bkp)
> 
> /boot/grub2/grub.cfg:
> linux   /vmlinuz-… ifname=eth0-atl1:00:1e:8c:93:b5:8d
> ifname=eth1-e1000e:00:1b:21:69:5f:74 ifname=eth2-8139too:00:1b:11:63:96:35
> 
> /etc/default/grub:
> GRUB_CMDLINE_LINUX="… ifname=eth0-atl1:00:1e:8c:93:b5:8d
> ifname=eth1-e1000e:00:1b:21:69:5f:74 ifname=eth2-8139too:00:1b:11:63:96:35"
> 
> dmesg | grep rename ;)
> 
> man dracut.cmdline
> 
> 
> Cheers,
> poma

Thanks and yes, it is documented and will work. But why has kernel did
that what udev did well before and systemd shit not know now?
And whereas Fedora docs say that should be working by udev rules?



More information about the users mailing list