Network changing from eth0 to eth1

Mikkel L. Ellertson mikkel at infinity-ltd.com
Fri Jan 2 01:09:18 UTC 2009


Bill Davidsen wrote:
> Mikkel L. Ellertson wrote:
>> With /etc/udev/rules.d/70-persistent-net.rules, you are probably not
>> going to run into it if you do not use HWADDR in ifcfg-eth? On the
>> other hand, I do tend to use something like the first example I gave
>> - you don't need to, but it can prevent surprises.
>>
> There are valid arguments both ways, as long as you have only one NIC.
> After that you really want to have them called by the same names.  ;-)
> 
The 70-persistent-net.rules file will take care of that. It keeps
tract of the MAC addresses, and assures that the same device name is
always assigned to that MAC address. What I have found with HWADDR
is that the interface will not come up if the MAC address is wrong,
but it can not guaranty that the NICs will be assigned the correct
device.

It does make changing a NIC a bit more work - you end up with 2
places you have to change the MAC address. (I don't know if the
network config GUI will change the entry in 70-persistent-net.rules...)

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090101/97e58500/attachment-0001.sig>


More information about the fedora-list mailing list