Server 2008 R2 SP1 and Virtual Networks on Hyper-V

الإجابة Server 2008 R2 SP1 and Virtual Networks on Hyper-V

  • Freitag, 23. November 2012 19:42
     
     

    I am running a single physical server -- a Dell PowerEdge T410 -- with Server 2008 R2 SP1 as the parent OS. I have 2 physical network cards configured with 2 static IP addresses (#.#.9.132 and 9.133 respectively). I want to use the first (9.132) as the NIC for the parent (NIC1) and the second (NIC2 = 9.133) for the 4 virtual machines I am going to run as guest (or child) OSes. I brought up the parent and updated the OS to current. I configured the 2 NICs (for IPv4 only) and had internet access on both. I then added the Hyper-V role and chose NIC2 as my virtual network (an external network).  As expected, NIC2 now shows only the Microsoft Virtual Network Switch protocol enabled and I have a new "Virtual network" connection with the IP address of 9.133 -- all of this sounds reasonable and expected to me. The problem is that I don't get internet access on the virtual network connection -- every time I look at the properties, the DNS address is blank. I re-enter it and reboot and it still comes back with no DNS address.

    It seems like I dealt with this once in the past, but I can't find the solution. What am I missing in this process?

    TIA

Alle Antworten

  • Freitag, 23. November 2012 19:50
     
     Beantwortet

    On the second NIC that you use for the virtual switch you do not need an IP adress or DNS, as you said, the virtual network switch protocol is the only that should be configured

    and on that you do not need the share with management on the virtual switch (this will remove your second net adapter in the parent)

    The virtual machines that you connect to this external virtual switch do need to be configured with a correct IP and dns.

    Am i explaining good enough?

    • Als Antwort markiert gpence Montag, 26. November 2012 14:16
    •  
  • Samstag, 24. November 2012 03:30
     
     

    Thanks for the response vNiklas:

    So, in the Virtual Network Manager, when I create the external network, I should NOT check the "Allow management operating system to share this network adapter" -- correct?

  • Samstag, 24. November 2012 18:59
     
     

    Yes that is correct, if you have more than one nic in your Hyper-V host and already have configured the first with the right ip settings.

    If it is not totally clear what card you have chosen in the virtual switch wizard you might want to open a cmd window and run ipconfig /all to check the names of the nic to see that you choosen the right one and then you do not check the "allow management oper.. to share.."

    //niklas