Reindl Harald writes:
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
Well, apparently I'm the 1 in 1000, because mine already has these rules, the timestamp on that file is almost two years old, but occasionally the kernel still boots with the ports out of order. Pulling the MAC addresses out of the ifcfg files would probably mean that the public IP address would come up on my LAN port, and my Internet port get 192.168.0.1, which isn't really better than not having those ports come up at all.
# cat 70-persistent-net.rules # PCI device 0x10ec:0x8169 (r8169)SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:21:2f: 31:4e:dd", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
# This file was automatically generated by the /lib/udev/write_net_rules # program, run by the persistent-net-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single # line, and change only the value of the NAME= key. # PCI device 0x1969:0x1063 (atl1c)SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address} =="bc:ae:c5:49:b9:3d", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
Attachment:
pgpCQPJlYJ36K.pgp
Description: PGP signature
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx 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