On 5/5/11 11:34 PM, R P Herrold wrote:
On Thu, 5 May 2011, Ljubomir Ljubojevic wrote:
I do not have personal experience with CentOS, but I have seen different X86-PC MB's on embedded units/routers recognizing LAN and Wireless NIC's differently ones from PCI1 to PCI5, others from PCI5 to PCI1, one MB even without any order at all. I had now Monitor so I had to power the unit, guess NIC to connect to, login and see what was recognized in what order.
Built from the sources that will become a CentOS 6 series, there is a more mature udev implementation, which tracks MAC addresses, and assigns them 'durably' to persist at a given device name. Debian testing supports a similar approach, but with more manual intervention
I'll try to blog about it, but once one knows the 'secret' it is not all that hard to predict -- This unit has three NICs (two onboard of the same type and an addon) which do NOT 'wander around' through reboots
But can you swap the disk into a new chassis of identical hardware and have it come up with the right subnets on the NICs in the corresponding physical positions? Without knowing MAC addresses ahead of time?