Hi I'm using Ubuntu Server on my VirtualBox. But I changed the MAC address of the NIC from virtual box settings. But now I cannot find the interface when I enter ifconfig. What should I do?
Ubuntu – Network interface missing in ubuntu after changing MAC address
mac addressnetworkingUbuntu
Best Answer
have you ran
ifconfig -a
?ubuntu and debian these days use udev to persistently assign the same nic the same device name. This works great except for when it doesn't do what you want it to do.
if you run that on your VM you will most likely see two lines, one for eth0 and one for eth1. the easy way to fix it is to delete the eth0 line, and change the remaining eth1 to eth0.