HalCHub
asked on
hyper-v network settings
I have a windows 2012 r2 server as hyperv host
Nic1 - 192.168.1.205
Nic2 - Hyper-v virtual switch
I configure the hyper-v switch as 192.168.1.206
Both are point to the same gateway and dns server.
When I configure the two going to the same gateway I get:
Warning - Multiple default gateways are intended ... and my hyperv guest does not have internet access.
In addition, can the guest be 192.168.1.210 or must it be in a separate like 192.168.44.x ?
Thank you
Nic1 - 192.168.1.205
Nic2 - Hyper-v virtual switch
I configure the hyper-v switch as 192.168.1.206
Both are point to the same gateway and dns server.
When I configure the two going to the same gateway I get:
Warning - Multiple default gateways are intended ... and my hyperv guest does not have internet access.
In addition, can the guest be 192.168.1.210 or must it be in a separate like 192.168.44.x ?
Thank you
NIC1 and NIC2 are 2 different physical NICs or is NIC1 the one assigned to the virtual switch?
You should not be configuring ANYTHING on the NIC for the virtual switch. In fact, when you create an "external" virtual network and bind it to a NIC, IPv4 is disabled which means if you are setting any IPv4 settings, you are forcibly re-enabling something that should not be enabled.
A virtual switch is very much like a physical layer-2 switch. It doesn't have an IP address or default gateway of its own. You assign those to any VM you "attach" to the switch. And since that'll be in the VM, you won't have the multiple default gateway issue.
A virtual switch is very much like a physical layer-2 switch. It doesn't have an IP address or default gateway of its own. You assign those to any VM you "attach" to the switch. And since that'll be in the VM, you won't have the multiple default gateway issue.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I teamed the host network cards and the guest is now getting its IP address from dhcp on the router and it can access the internet. When I try to change the guest os IP address to a static address it is unable to access the internet.
Please advise
Hal
Please advise
Hal
How your internet traffic is flowing ?
When you remove DHCP, its stopping internet ?
When you remove DHCP, its stopping internet ?