Virtubox Ubuntu eth0 network not found problem | 2011-05-29

Technology Blog » System Administration

If you have problem of detecting eth0 network card in Ubuntu that runs in Virtualbox, mostly it is because for every new mac address, a new network card will be generated.

Type ifconfig -a
You probably will see more than one ethernet adapters. To solve it, just
sudo vi /etc/udev/rules.d/70-persistent-net.rules
comment out all eth line that has ethnet settings
Restart your ubuntu, eth0 will be back and your ethnet card 0 is back. Or you could just
sudo vi /etc/network/interfaces
change "auto eth0" to latest ethnet card, for example "auto eth4" (use ifconfig -a to check)