Static IP addresses fail!

Avi Greenbury lists at avi.co
Fri Jul 22 13:21:42 UTC 2011


compdoc wrote:
> There's a file that doesn't get cleaned properly when you make a lot
> of changes to your nics, such as adding or removing a physical card.
[snip]
> /etc/udev/rules.d/70-persistant-net.rules

This is the file that udev uses to map physical interfaces to their
ethX names. It doesn't need 'cleaning' when you make configuration
changes to the cards, only if you physically remove one and would like
to reuse its ethX address.

Say you have eth0 eth1 eth2 and eth3. If you remove eth0 and add a new
card, that'll become eth4 and there'll just be no eth0.

You can either manually edit that file and set whatever's detected as
eth4 to be eth0 (preserving eth1, eth2 and eth3) or delete it and
surprise yourself with the new order. Either way you'll have an eth0 to
eth3 afterwards and no eth4.

I very much doubt that has anything at all to do with this problem,
especially since he's already noted that hwaddress isn't valid :)

-- 
Avi




More information about the ubuntu-users mailing list