Am 09.02.2013 19:07, schrieb Sam Varshavchik:
> Occasionally, upon reboot, apparently my eth0 and eth1 end up getting 
> "swapped". Hillary ensues because HWADDR in
> /etc/sysconfig/network-scripts/ifcfg-Auto_eth[01] no longer matches:
> 
> Feb  9 12:53:46 shorty network[1325]: Bringing up interface Auto_eth0:  ERROR 
>    :
> [/etc/sysconfig/network-scripts/ifup-eth] Device eth0 has different MAC 
> address than expected, ignoring.
> 
> etc…
> 
> I'm tired of logging in on a console, and initiating another reboot. eth0 and 
> eth1 are different hardware. One is
> handled by tha atl1c kernel module, the other port is handled by the r8169 
> kernel module.
> 
> Anyone happen to know how to get the drivers to come up in stable order?

first throw away ANY MAC-reference from ifcfg*-files
nobody needs them because "DEVICE=ethx" is pretty clear

second "/etc/udev/rules.d/70-persistent-net.rules" still works
on 999 out of 1000 machines

[root@srv-rhsoft:~]$ cat /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="24:be:05:1a:c0:27", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="68:05:ca:0d:62:c1", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="28:10:7b:ca:be:51", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"



Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to