eth0 / 1 confused over MAC address??
Hi,
I'm using Fedora 4 on a firewall box. Had a network problem the other day getting access to the internet. After pulling my hair out for while I finally managed to sort out the problem. It seemed the two ethernet interfaces confused each others MAC address. I think they may have loaded in a different order. Anyway, to solve the problem i just clicked the 'probe' using the system-config-network tool. I presume this updated the MAC addresses. Can anyone shed any light on why this may have occured in the first place and can I hard code the MAC address and interface order to stop this problem reocurring? Cheers guys, Nick |
Code:
# ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx Not familiar with Fedora, but you will have to hack your network initscripts to save from doing this manually at boot. |
The first network module to load gets to be eth0
Depending on your scripts and when the modules are loaded it is possible one could beat the other sometimes and swap the eth order.. If they are different, make sure they are defined in /etc/modules.conf, eg alias eth0 8139too alias eth1 via-rhine If both cards use the same module it gets interesting.. |
And this link has some answers.. http://www.science.uva.nl/research/a...InterfaceNames
|
All times are GMT -5. The time now is 02:02 AM. |