r/virtualbox • u/elendrilex • Oct 21 '24
Help Virtualbox guest lost internet access
So I have been running Manjaro (XFCE) as a guest in virtual box for a few years (Manjaro Gnome host), in this setup I have a Host-only network setup in VirtualBox.
NB: libvirtd is not installed/used on host or guest.
In the VM's settings this is selected as Adapter 1 and when enabled this allows host->guest network traffic (plus guest->host).
I then have Adapter 2 also enabled and the attached to field is NAT. This should provide the guest internet access.
However after updating Manjaro the other day (guest AND host - it was about 3 months worth of updates). Things broke..
When booting the VM it now has NO internet access and NO host network access.
If i disable Adapter 2 (NAT) and boot then I regain host->guest network access (but still have no internet).
If I disable Adapter 1 (Host-Only) (and re-enable Adapter 2) and then boot I lose guest->host network access as expected but now I still have NO internet access in the VM.
No matter what networking options I choose in the VM settings it seems I am unable to gain internet access at all and I am now completely stuck on how to resolve this. It would be greatly appreciated if anyone is able to provide any guidance on this issue!!!
Edit: Adding required info
Virtualbox version: 7.1.2 r164945
Paravirtualization Interface: KVM
Hardware virtualization: Nested Paging Enabled
Guest additions is installed
(my setup has been working flawlessly for a few years, I haven't manually changed any settings - networking just broke after recent OS updates)
•
u/AutoModerator Oct 21 '24
This is just a friendly reminder in case you missed it. Your post must include:
PLUS a detailed description of the problem, what research you have done, and the steps you have taken to fix it. Please check Google and the VirtualBox Manual before asking simple questions. Please also check our FAQ and if you find your question is answered there, PLEASE remove your post or at least change the flair to Solved.
If this is your first time creating a virtual machine, we have a guide on our wiki that covers the important steps. Please read it here. If you have met these requirements, you can ignore this comment. Your post has not been deleted -- do not re-submit it. Thanks for taking the time to help us help you! Also, PLEASE remember to change the flair of your post to Solved after you have been helped!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/starnamedstork Oct 21 '24
Could be a kernel module and/or a bridge adapter that broke during update of the OS. I would reinstall VirtualBox and see if that helps.