[NTLUG:Discuss] Troubleshooting a network connection - fixed
Chris Cox
cjcox at acm.org
Thu May 11 11:29:07 CDT 2006
Terry Henderson wrote:
> Couldn't you have just swapped the cables?
Hee hee... nope. Unless you deploy named interfaces, the
names can dynamically swap based on many, many, many, many
different variables.
That's a SUSE thing of course.. victims of a hotplug
world.
Search for PERSISTENT_NAME and sysconfig.
or see:
http://www.novell.com/coolsolutions/tip/15362.html
>
> On 5/11/06, LEROY TENNISON <leroy_tennison at prodigy.net> wrote:
>>As usual I stumbled across the solution quite by accident (or maybe it was divine help). Noticed that the MAC address seemed different under Knoppix which led to the discovery that CentOS had selected opposite NICs for eth0 and eth1 from what Red Hat 9 used. This may be due to my starting out with only one NIC originally under RH9 and then adding the second later, it's been too long to remember. What I did was put
>>
>> HWADDR= ...
>>
>> in both ifcfg-eth0 and ifcfg-eth1 (both in /etc/sysconfig/network-scripts, this path will be different for other distros such as SuSE).
>>
>> This raises a couple of questions:
>>
>> How does Linux decide which NIC is going to be eth0, eth1, and so on?
>>
>> How do I tell what driver is being used for eth0 and eth1. 'ifconfig' gives me the hardware address and IP configuration but doesn't tell me what driver.
>>
>> Anyone know where the format of ifcfg-eth0, ifcfg-eth1 and so on is documented?
>>
>> Thanks for the help.
>>
>>_______________________________________________
>>http://ntlug.pmichaud.com/mailman/listinfo/discuss
>>
>
>
More information about the Discuss
mailing list