Roger Oberholtzer wrote:
On Thursday, October 03, 2013 06:26:21 PM Per Jessen wrote:
Roger Oberholtzer wrote:
I have a rather new SuperMicro MB that has two on-board NIC, as well as a card with 4 Intel NIC ports. The problem is that it seems that the BIOS does not report these in the same order (I am guessing) so that the same NIC gets the same ethX across reboots. 90% of the time they are the same. But the rest of the times they are different.
I thought I could add something like this as a udev rule: In 12.3, 70-persistent-net.rules should be automatically set up for you.
It is. But the problem is that the file is set up however the BIOS reported the devices when the system was installed (it seems). If that changes in a later boot, it seems that the rules no longer work.
Hmm, I can't quite follow you - _what_ exactly changes in a later boot? The MAC addresses?
As I suggested, perhaps that is because of possible conflicts with the original names. I surely cannot rename an interface in the rules file to be the same as an existing one.
Correct. Because of the possiblity of using the same names (eth0-1-2-3-4-5...) but on different mac-addresses, usually devices are first renamed to <somethingelse>, then renamed to the names specified.
And when the order of when each rule changes (the BIOS presents the list in a different order), this may happen.
No, the order isn't (shouldn't be) relevant for the rules. They simply take a MAC-address and rename the interface when it matches. Of course, if your driver has named an interface 'eth0' and you try to use that too, it won't work. Do you have rename rules for all 6 MACs ? -- Per Jessen, Zürich (15.9°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org