Network issues since upgrade, and questions

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Jazz1
Posts: 41
Joined: 19. Jan 2019, 00:30

Network issues since upgrade, and questions

Post by Jazz1 »

Hi,
I am having network issues since upgrade to ver 7.0.20.
Some VM's(win11 for 1) have no network and some do.
I have Many VM's set up, but only run 1 at a time.

In networks I have many in the list(attached)
Is there supposed to be 1 for every VM?
Do I need them all?
Can I delete most of Them?
Some enabled some disabled?
How do I enable/disable them?
How do I tell which one is for which VM? IE which one is for win11?
All VM settings are set for NAT.
Screenshot 2024-08-01 101513.jpg
Screenshot 2024-08-01 101513.jpg (87.53 KiB) Viewed 1591 times
Not a real tech wizard so kind of lost.
All answers/help much appreciated.
Galactic
Posts: 11
Joined: 28. Apr 2016, 04:52

Re: Network issues since upgrade, and questions

Post by Galactic »

I don't know how that happened in the first place, but to answer your questions...

Is there supposed to be 1 for every VM?
Only if you want them all to use host-only networking mode, and only if you want them all to be able to speak to the host but not to each other. This is a very unlikely scenario. You said you are running only a single VM at a time anyway.

Do I need them all?
Can I delete most of Them?
Some enabled some disabled?
They can be removed. They are all using a /16 subnet mask. The first 16 address bits are the same in all of them. In other words, the host has 19 different addresses on the same network. This is useless.

By default, you start out with a single host-only adapter, with an address of 192.168.56.1 and a 255.255.255.0 (/24) mask. If you were to create another adapter with, for example, an address of 192.168.57.1, and the same mask, both networks would be separate and contain the host and whichever guests you attach to each.

How do I enable/disable them?
You can't disable them (certainly not from the GUI). You can remove them though.

The only aspect of them than can be disabled is the DHCP server that automatically assigns IP addresses to the guests attached to that network.

How do I tell which one is for which VM? IE which one is for win11?
Look in the Settings for each VM. Go to the Network section and check what each adapter is attached to.

Also, if your VMs need access to the outside world/internet, you don't even want to be using host-only networking mode in the first place. You probably want NAT mode instead. For more advanced use cases, learn about the other networking modes here: viewtopic.php?t=96608 and in the manual: https://www.virtualbox.org/manual/ch06. ... rkingmodes
thijsee
Posts: 9
Joined: 3. Jun 2019, 15:15

Re: Network issues since upgrade, and questions

Post by thijsee »

F.y.i. the IP-address range 169.254.0.0...169.254.255.255 is reserved for Automatic Private IP addressing.
If DHCP is switched on and no DHCP server is found within a certain time, a random address in this range is applied for the network adapter of the DHCP client.
Jazz1
Posts: 41
Joined: 19. Jan 2019, 00:30

Re: Network issues since upgrade, and questions

Post by Jazz1 »

Fixed issue with Win11.
Had to delete/ uninstall adapter in advanced properties. would not uninstall normally.
after uninstall, rebooted and everything worked fine.
Jazz1
Posts: 41
Joined: 19. Jan 2019, 00:30

Re: Network issues since upgrade, and questions

Post by Jazz1 »

Thank you for your help and replies.
Deleted all disabled adapters.
Post Reply