How do the Hyper-V machines get identical IPs even the physical machine has only 1 Network interface

hyper-vnetworkingvirtual-machines

In windows 2008 we can have multiple Hyper-V instances on the same physical machine. Generally that machine has only 1 network interface. (I assume 1 card with 1 MAC Address). Then how do the Hyper-V machines get identical IP Addresses? Does the Network adapter need to support any special features?

Best Answer

If your virtual machines are getting the same IP, it is probably an RFC1918 private address, which is being NAT'ed by the Hyper-V software hosting the guest OSs.

If your virtual machines have independent IPs on the same VLAN as the host, then Hyper-V is probably using a bridging virtual network adapter. This virtual adapter programs the network card to respond to several IP's at Layer 2 and forwards the correct packets to the guest OSs.