One thing I forgot to mention (if it could influence device ordering):
eth0 and eth1 are bond to one device (bond0) for load sharing...
and server runs RHEL5
christian
--
"I sense much NT in you, NT leads to Blue Screen.
Blue Screen leads to downtime, downtime leads to suffering. NT is the path to
the darkside."
- Unknown Unix Jedi
________________________________
From: [email protected]
[mailto:[email protected]] On Behalf Of Masopust, Christian
Sent: Monday, June 21, 2010 12:44 PM
To: [email protected]
Subject: [rhelv5-list] Safe way to have fixed ordering of
network-devicesafter kernel update
Hi all!
I have a server with 2 onboard network-devices (tg3) and one additional
network card (e100).
Everytime there is a kernel update the order of these devices gets
corrupt. So I tried to add
the following "rules-file" to /etc/udev/rules.d:
[r...@atvies00qx rules.d]# cat 50-net-persistent.rules
KERNEL=="eth?", SYSFS{address}=="00:30:05:aa:df:fb", NAME="eth0" #
MAC of first on-board interface in lowercase
KERNEL=="eth?", SYSFS{address}=="00:30:05:9d:27:8d", NAME="eth1" #
MAC of second on-board interface in lowercase
KERNEL=="eth?", SYSFS{address}=="00:02:b3:b3:a8:9a", NAME="eth2" #
MAC of additional interface in lowercase
I works for reboots as long as there is no new kernel. When updating
the kernel, again the
order gets corrupted...
Any idea what I'm doing wrong? Or do you know a better (i.e. safe)
way to do this?
Thanks a lot,
Christian
Btw... I've also a similar problem with a autochanger-device on a
CentOS-system (sometimes device is
/dev/sg3, sometimes it's sg7.....)
___________________________________________________________
Christian Masopust
SIEMENS AG SIS SDE SVI CON IPB
Tel: +43 (0) 5 1707 26866
E-mail: [email protected]
Addr: Austria, 1210 Vienna, Siemensstraße 90-92, B. 33, Rm. 243
Leader of the RUGA
<http://www.rational-ug.org/groups.php?groupid=119>
Firma: Siemens Aktiengesellschaft Österreich, Rechtsform:
Aktiengesellschaft,
Sitz: Wien, Firmenbuchnummer: FN 60562 m,
Firmenbuchgericht: Handelsgericht Wien, DVR 0001708
___________________________________________________________
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list