Home » Questions » Computers [ Ask a new question ]

Renumbering ethernet devices in Linux

Renumbering ethernet devices in Linux

I have a VMware machine running Ubuntu 9.10 (Karmic) with three virtual ethernet NICs. For some reason, the kernel has decided that these NICs are: eth3, eth4, and eth5. There is no eth0-eth2. How can I force the kernel to renumber these three ethernet devices to be eth0, eth1 and eth2?

Asked by: Guest | Views: 169
Total answers/comments: 1
Guest [Entry]

As root, edit the NAME= fields in /etc/udev/rules.d/70-persistent-net.rules, save, and reboot.