View Full Version : Ethernet devices switched around after upgrade
dcmbrown
2007-01-31, 09:21 AM CST
I just upgraded a machine from FC4 to FC6. After I did this however, my 3 ethernet devices are all switched around so they no longer have the correct IP addresses. I don't know if the device assignment is dependant upon the order of which modules are loaded but how do I switch the interfaces back to their correct order?
b_martinez
2007-01-31, 10:49 AM CST
hello dcmbrown.
One thing you may want to try is to openup "network device control" and use it to alias the names. This may work. If not, you can use it to delete all of them, then add each one back in, in the order you want.
Better yet, now that I think on it, why not just assign the addresses you want to each of the cards/devices? You will have to disable getting address via dhcp to do so.
On the other hand, I may be totally off the wall on this, as I'm no network expert.
hth
Bill
parish
2007-01-31, 11:47 AM CST
Add the hardware of address each card to the appropriate ifconfig scripts. Here's one of mine with the actual address replaced by ##:##:##:##:##:##...
% cat /etc/sysconfig/networking/devices/ifcfg-eth1
# nVidia Corporation MCP55 Ethernet
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=dhcp
HWADDR=##:##:##:##:##:##
TYPE=Ethernet
Daniel
dcmbrown
2007-01-31, 12:07 PM CST
Parish,
Thanks that's exactly what I wanted actually. It seems the upgrade replaced all of the ifcfg-ethN files with new ones (backing the old ones up). I wasn't aware you could set the interfaces in this manner however.
parish
2007-01-31, 06:16 PM CST
Your welcome, glad I could help.
Daniel
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.