-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 26 Jul 2009, Tim Evans wrote:
> Date: Sun, 26 Jul 2009 08:57:11 -0400 > From: Tim Evans <[email protected]> > To: [email protected] > User-Agent: Thunderbird 2.0.0.22 (X11/20090612) > X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED > autolearn=unavailable version=3.2.3 > Subject: [rhelv5-list] eth0/eth1 flip-flopped in upgrade > > We did a fresh install of RHEL 5 to upgraded a 4.8 system. The two ethernet > devices flip-flopped IP addresses in the install from what they'd been > previously. I restore the /etc/sysconfig/network-script/ifcfg-ethXX scripts, > which contain the hardware addresses, but it appears the two NIC's were > physically counted reverse from the prior install. > > How to fix? Try this: # touch /etc/udev/rules.d/70-persistent-net.rules # echo 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:11:22:33:44:55", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"' >> /etc/udev/rules.d/70-persistent-net.rules # echo 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="11:22:33:44:55:66", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"' >> /etc/udev/rules.d/70-persistent-net.rules # reboot 00:11:22:33:44:55 and 11:22:33:44:55:66 are MAC addresses. Gabriel - -- // Gabriel VLASIU // // OpenGPG-KeyID : 0xE684206E // OpenGPG-Fingerprint: 0C3D 9F8B 725D E243 CB3C 8428 796A DB1F E684 206E // OpenGPG-URL : http://www.vlasiu.net/public.key -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFKbFsWeWrbH+aEIG4RAneCAJ9oirK0MBETg2CPYfnvgP6uyURbZACdHD1a ZPdCXe3YL8mFrHwDm/XrHMI= =HC1F -----END PGP SIGNATURE----- _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
