No network on VM

Don
Joined
23 Oct 2005
Posts
44,241
Location
North Yorkshire
Hi guys,

I have an intermittent issue with my VM (hyper-vm) - standard windows 10 build, for some reason I often have to reboot the vm several times for the network to start working. Any ideas? I created a new external switch using the network adapter through the PC. Not sure why it's always struggling to find the gateway? I have tried manually inputting the IP details and still nothing works.

Any ideas? Screenshot 2022-09-13 233326.png
 
There's not enough information here to help you.
The Host is what? Windows 10? If so, what was wrong with the "default" switch that was mandated in Win10 1809 onwards?
What type of networking are you trying to achieve? VM out to the internet? VM to other VM? VM to Host?
If external (VM to internet and possibly other devices on your network), have you then altered any of the bridge adapter / WiFi / LAN settings since? Is the v-switch configured on WiFi or Physical LAN?

Cheers for the response. Hopefully the below helps more.

The host is on Windows 11. The VM on Windows 10 Home.

All I am trying to achieve is a internet connection on the VM, using default achieves no internet, after research that is where I read I should create a new virtual externals witch, making sure the external network is my Realtek network card and that should fix things but it doesn't. The VM is just getting not retrieving any IP details, just a default IP address.

Nothing has changed on the adapter or the router, my PC never has an issue. Strangely though, often a reboot an fix the problem, but its completely random with how many reboots are needed, the majority of the time there just won't be any internet.
 
Andy, you say configured the IP settings on the VM to use a static IP, but the screenshot still shows DHCP.

Setting the IP, subnet, gateway and DNS manually should get you your VM internet access.

Hi mate, sorry didn't mean to say I gave it a static address, it's just getting details via DHCP. I can try to give it a static IP and I'll report back
 
Andy, you say configured the IP settings on the VM to use a static IP, but the screenshot still shows DHCP.

Setting the IP, subnet, gateway and DNS manually should get you your VM internet access.

I gave it a static and its just classed as 'unidentified network', no change, still can't ping the gateway
 
Exactly what I have done @Pigeon_Killer and mine looks the same as your pic @Django x2

I appear to have found a workaround, ipconfig /release and renew when I log in and it gets the IP info. No idea why this forces the VM to get the details and it's not just collected on startup...any ideas?
 
Last edited:
Back
Top Bottom