Network changing from eth0 to eth1

Bill Davidsen davidsen at tmr.com
Fri Jan 2 00:43:49 UTC 2009


Nat Gross wrote:
> On Thu, Jan 1, 2009 at 6:19 PM, Bill Davidsen <davidsen at tmr.com> wrote:
>> Nat Gross wrote:
>>> On Mon, Nov 3, 2008 at 3:09 PM, Phil Meyer <pmeyer at themeyerfarm.com>
>>> wrote:
>>>> Jim wrote:
>>>>> FC8, KDE
>>>>> What is changing the Network settings from eth0 to eth1 ?
>>>>>
>>>>> Even if you go into /etc/sysconfig/network-scripts/ifcfg-eth0 and setup
>>>>> as
>>>>> eth0, and reboot box,it will change settings to eth1.
>>>>>
>>>>> And it is causing a unstable network.
>>>>>
>>>>> This box only has one ethernet card in  it.
>>>>>
>>>> Now days, when Fedora detects a different NIC from one it knew (right or
>>>> wrong), it creates a new entry in:
>>>> /etc/udev/rules.d/70-persistent-net.rules
>>>>
>>>> This is why you get messages in dmesg and at bootup that eth0 is being
>>>> 'moved' to eth1.
>>>>
>>>> It is reasonably safe to remove this file, plus
>>>> /etc/sysconfig/network-scripts/ifcfg-eth? and reboot.
>>>>
>>>> If you are just doing DHCP, then udev will recreate the file, put the
>>>> correct NIC into it, and set up a generic ifcfg-eth0 script.
>>>>
>>>> Good luck!
>>>>
>>> Thanks for this post, it helped me a bit, but I still have nameserver
>>> problem.
>>> Yesterday my [only]nic in a 32 bit fc8 box blew. When I replaced it,
>>> it insisted to be eth1 and gave me eth0 errors when booting. I did an
>>> ifconfig 192.168.... and had eth1 up and running.
>> You did change the MAC address in the config, to reflect the change right?
>> Otherwise eth0 will go to the old MAC address even if not present, and the
>> next NIC found will be eth1, eth2, etc.
> In the network gui, there is a "probe" button. I used that and saw it
> magically change the MAC.
> 
That should do it.

-- 
Bill Davidsen <davidsen at tmr.com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot




More information about the fedora-list mailing list