Primary interface not eth0

I’ve been having some issues with my virtual machines running Debian Etch coming up with their primary interface as eth2 or eth3, even though there is only one “physical” (it’s virtual, actually) NIC in the system. Well, another kind soul has had the exact same problem: Primary interface not eth0. Debian caches the MAC address used so that interface numbers are somewhat persistent. The fix? Look at the contents of /etc/udev/rules.d/z25_persistent-net.rules. If you’re too lazy for that, just delete the file. Don’t forget to reboot.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s