Forum Discussion
Allow Hyper-V VM attached to Internal Switch access internet and host folders
I have Created an internal switch and attached it to 4 VMs (for a lab setup) on a win2k19 hyper-V host. The hyper-V is in the my local home subnet 192.168.0.1.
The 4 VMs are configured with following IPs and gateway.
- VM1 10.10.0.10 -DefaultGateway 10.10.0.1
- VM2 10.10.0.11 -DefaultGateway 10.10.0.1
- VM3 10.10.0.12 -DefaultGateway 10.10.0.1
- VM4 10.10.0.13 -DefaultGateway 10.10.0.1
In the lab document, it is not indicated how/where to assign the 10.10.0..1 IP?
When I check the vEthernet (Private Network), It has "DHCP" for IP and got my local DNS IP.
Checking its status, I see
DHCP Enabled: Yes
Autoconfiguration IPv4 Address: 169.254.32.39
IPv4 Subnet Mask: 255.255.0.0
IPv4 Default Gateway:
Not sure where this 169.254.... IP comes from?
I tried assigning the IP 10.10.0.1 to this but it fails.
In fact I need to allow VMs to access some host folders as well as internet to download some Microsoft tools.
Thanks for your help