VirtualBox guest has no network
It appears that your guest only has a loopback interface for whatever reason.
Try entering the virtual machine settings and see if the VM has a network card installed.
If that is not the case. And you have recently changed the VM's mac address then I would look at this thread as the user seems to have the exact same problem as you.
https://forums.virtualbox.org/viewtopic.php?f=7&t=43090
specifically this "each time you give a new MAC address (in VBox guest settings) Debian and Ubuntu guests udev assigns a new eth number edit /etc/udev/rules.d/70-persistent-net.rules or delete the file: it will be recreated @ next boot"
Related videos on Youtube
usr-local-ΕΨΗΕΛΩΝ
Chuck Norris is the only one who can type my name on a keyboard by using my teeth as keys, courtesy of a roundhouse kick in my mouth
Updated on September 18, 2022Comments
-
usr-local-ΕΨΗΕΛΩΝ over 1 year
I have openSUSE 12.1 x64 host and I'm running Ubuntu 10.04 x86 as guest.
My problem is that Ubuntu sees no network at all. I have both tried NAT and bridge setup but I have no interface on the VM.
ifconfig
returns onlylo
VirtualBox version is 4.1.18_OSE running as a member of vboxusr group and I installed the correct addins in the guest.
How can I fix this?
-
usr-local-ΕΨΗΕΛΩΝ almost 12 yearsI followed the advice and found that the .rules file has been recreated matching the virtual device's MAC address but still ifup eth0 says "ignoring unknown interface eth0"
-
usr-local-ΕΨΗΕΛΩΝ almost 12 yearsI had to add "auto eth0 iface eth0 inet dhcp" to /etc/network/interfaces. Problem solved
-
VBwhatnow almost 12 yearsGood, did you change the rules file by the way? or did you just notice it was correct?
-
usr-local-ΕΨΗΕΛΩΝ almost 12 yearsIt was recreated correctly with the proper mac address
-
drodsou over 10 yearsWorked for me also in Ubuntu 12.04 deleting that file:
rm /etc/udev/rules.d/70-persistent-net.rules
and then creating a wired conetion linked to the new mac insystem settings/network/options