LWN.net Logo

Char devices for network interfaces

Char devices for network interfaces

Posted Oct 15, 2009 15:24 UTC (Thu) by Banis (guest, #59011)
Parent article: Char devices for network interfaces

This is a real problem that needs solved. When I switched from RHEL4 to RHEL5 every single one of my boxes with multiple network cards had the order of network interfaces randomized. For me that's about 100 boxes that used to have one port as eth0 with RHEL4 and with RHEL5 it was a different one. It was more than a little annoying. When I put a multi-nic card in a box it's a 30 minute exercise to figure out which new ethX device corresponds to which port on the new card. The order never makes sense and never maps to the numbered ports on the card.


(Log in to post comments)

Char devices for network interfaces

Posted Oct 15, 2009 17:46 UTC (Thu) by dlang (✭ supporter ✭, #313) [Link]

ethtool -p ethX is your friend, for many cards it will blink a light on the card so you can identify which interface it is.

Char devices for network interfaces

Posted Oct 15, 2009 19:47 UTC (Thu) by Cato (subscriber, #7643) [Link]

That's nice but it doesn't really work for a large number of servers.

Char devices for network interfaces

Posted Oct 15, 2009 19:59 UTC (Thu) by dlang (✭ supporter ✭, #313) [Link]

which is why my current builds remove udev ;-)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds