Debian/Ubuntu change eth1 back to eth0
Friday, May 14th, 2010By: Andrew
Many times I have needed to change network cards on a linux box, or I move a virtual machine and the nic mapping changes from eth0 to eth1. Thankfully it is really easy to fix if you just know where to look.
sudo vi /etc/udev/rules.d/70-persistent-net.rules
My example shows the two cards. The top one is the old card – no longer installed; the bottom one the new.
What you do is delete the top card from the list, and change the mapping on the bottom card to eth0.
:wq to save and exit and reboot. Congratulations! You have changed the network card mapping.

This entry was posted on Friday, May 14th, 2010 at 5:57 am and is filed under Uncategorized. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Leave a Reply
You must be logged in to post a comment.