I haven't paid too much attention to the thread, but here's what I do on my 
SLES servers to correct the names based on mac address sequence.  It doesn't 
differentiate between internal and external, but a little more logic might do 
it.

echo > /etc/udev/rules.d/30-net_persistent_names.rules
macs=( `ifconfig -a |grep eth |awk '{print $5}' |awk ' { gsub("[A-Z]","&"); 
print }' | tr '[A-Z]' '[a-z]'|sort -f` )
for element in $(seq 0 $((${#ma...@]} -1)))
do
        mac=${macs[$element]}
        echo 'SUBSYSTEM=="net", ACTION=="add", SYSFS{address}=="'$mac'", 
IMPORT="/lib/udev/rename_netiface %k eth'$element'"' 
>>/etc/udev/rules.d/30-net_persistent_names.rules
done


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of "Andreas Bergstrøm"
Sent: Tuesday, November 16, 2010 8:43 AM
To: [email protected]
Subject: Re: Consistent Network Device Naming for LOMs coming...


Robin Bowes skrev:
> I also agree that this seems silly.
>
> Surely the problem here is unpredictable ordering of NICs, not the
> actual *name* of the NIC?
>
> Also, I would imagine that those "pesky LAN-on-Motherboard NICs" are
> actually the ones used by 95% of Dell customers, so changing their name
> to something other than the long-established linux standard is just
> opening up a whole world of unnecessary pain, IMHO.

Personally, I welcome this change. Predictable ordering of NICs will be
very welcome. And since I understand this was rejected for kernel space,
thus making it impossible to do in ethX name space, another name seems
necessary.

Personally I found ethomX most logical of the names suggested thus far.
(EnX makes me think OS X machine).

However, couldn't the entire naming issue be alleviated by adding symlinks
from ethX to ethomX/enX/lomX to ensure backwards compatibility while
making things easier to setup on multi-NIC machines?

Regards,

-- 
Andreas Bergstrøm
Østfold University College
Dept. of Informatics
http://media.hiof.no

_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

Reply via email to