Network changing from eth0 to eth1

Phil Meyer pmeyer at themeyerfarm.com
Mon Nov 3 20:09:19 UTC 2008


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!




More information about the fedora-list mailing list