Network interfaces for a Debian Etch guest under VMWare
I’m using Debian Etch as a guest OS under VMWare. When you copy the VM (to another machine or another instance on the same machine), VMWare wants to give it a new UID (you should let it so you don’t end up with duplicate machines). A side effect is that you get a new ethernet MAC address. In Debian Etch, a side effect of that is that it thinks you have a new network card but it doesn’t forget about the old network card, so instead of the network interface being eth0, it is now eth1. And the next time you copy the VM, it is eth2, and so on.
It is really a pretty simple fix, once you know where to look. The clue is that udev is what is remembering the old MAC address. In my VMs, the addresses were in:
/etc/udev/rules.d/z25_persistent-net.rules
It is just a plain text file. Delete the lines with the old MAC addresses and change the last one to be eth0.
Thank you, this was exactly my problem. I wish Google had brought this page up well before wasting a solid hour searching around. ;-)
Beautiful, you just saved me a lot of time! I never expected to fix that within 5 Minutes. Thanks for posting!
Aah beautiful!
Thanks, works like a charm! :)
This has been annoying me for some time and to fix it I’ve been randomly trying different eth[n] numbers, with limited success but wanted to know what the actual issue was.
Googling for “vmware etch networking” you were number one and issue fixed in 2 minutes.
Ta!
This was driving me bonkers!
Thank you thank you!
Lifesaver, many thanks!
Thanks!
It’s so simple when you know it ;-)
Thank you
You’re the man!
Thank you so much!
I was getting crazy….. your solution saved my sanity :)
Thanks, pal!
Thanks so much. I would never have figured it out. This issue has been plaguing me for ages (on different systems).
Thx, working at a glance !
Thanks a lot… simple and effective!!! :D