[Ilugc] eth0 became eth5 after installation

  • From: raamanp@xxxxxxxxxxx (Raman.P)
  • Date: Wed, 12 Dec 2012 12:48:03 +0800 (SGT)



--- On Tue, 11/12/12, Balasubramaniam Natarajan <bala150985 at gmail.com> wrote:

This worked on an instance, thanks.? However
how do I make sure that the
OS
does not rename the interface automatically and
cause this confusion ?


See above - entries in the persistent rules file should
not change
mapping of eth name to mac address.? You can make
a backup copy of the
persistent rules file for reference.



This has happened around 3 time in approximately 50 servers
so far.? If the
same continues I am planning to turn on the file immutable
with chattr to
prevent it from getting changed, do you think that might
help ?


Sometime back I faced the similar  situation. I wanted all eth's to be static 
even if card is changed (a box in a remote location).
I edited /etc/udev/rules.d/75-persistent-net-generator.rules. In whitelist I 
added eth*. This stopped udev from assigning rules for eth.

However, what you face should be bug. Better to take it in debian mailing list.
Raman.P
blog:http://ramanchennai.wordpress.com/


Other related posts: