“Fix Tech Daily helps you solve real-world IT problems, with daily tips on Windows, Office, networks, and devices.”
Friday, August 8, 2025
Hyper v network issue in Window servers Virtualization (Physcial internet working)
Great! Since you're using Hyper-V, here’s a step-by-step guide to fix the no internet/network issue in your Windows VM hosted on a physical server with this IP setup:
-
Physical Server IP: your main server ip like 192.168.0.90 or 192.168.1.120 etc
-
Subnet:
255.255.255.0 as per your ip class
-
Gateway: Default gateway
-
DNS: any/given by ISP
Let’s get your VM connected to the internet through Hyper-V.
✅ Step-by-Step: Get Network Working on a VM in Hyper-V (Windows Server 2022)
๐น Step 1: Open Hyper-V Manager
-
Press
Start
, search for Hyper-V Manager, and open it.
๐น Step 2: Create an External Virtual Switch
-
In the right pane, click Virtual Switch Manager.
-
Select New virtual network switch → External → Click Create Virtual Switch.
-
Name it:
ExternalSwitch
. -
Under Connection type, select your physical adapter:
-
Broadcom NetXtreme Gigabit Ethernet
.
-
-
Check: ✅ Allow management OS to share this network adapter.
-
Click OK to save.
๐น Step 3: Assign the Switch to Your VM
-
In Hyper-V Manager, right-click on your VM → Click Settings.
-
In the left pane, click on Network Adapter.
-
On the right, set Virtual Switch to
ExternalSwitch
. -
Click OK.
๐น Step 4: Boot into the Virtual Machine
Let the VM start up, then log into Windows OS inside the VM.
๐น Step 5: Configure Network in VM (Static or DHCP)
๐ Option A: Use DHCP (Recommended if network supports it)
-
Go to Control Panel > Network and Sharing Center.
-
Click Change Adapter Settings.
-
Right-click Ethernet → Properties.
-
Select Internet Protocol Version 4 (TCP/IPv4) → Click Properties.
-
Select:
-
✅ Obtain an IP address automatically
-
✅ Obtain DNS server address automatically
-
-
Click OK and close.
✅ Try opening Google.com or pinging from CMD:
ping 8.8.8.8 ping google.com
๐ Option B: Use Manual Static IP (If DHCP doesn’t work)
-
Follow steps 1–4 above.
-
Set these values:
-
IP Address: (next available IP)
-
Subnet Mask:
255.255.255.0, depend on your ip
-
Default Gateway: Default/isp
-
Preferred DNS: dns
-
Alternate DNS:
8.8.8.8
(optional)
-
-
Click OK → Close.
๐น Step 6: Test Internet in VM
Open CMD and run:
ping 8.8.8.8 ping google.com
Open a browser and try browsing to check DNS resolution.
๐งช Troubleshooting if It Still Doesn’t Work
Problem | Fix |
---|---|
No IP or limited | Try switching between DHCP and Static |
DNS not resolving | Use Google DNS 8.8.8.8 |
No response at all | Recreate the Virtual Switch |
Firewall blocking | Disable Windows Firewall temporarily for testing |