3 mai 2012 20:00
I am in the process of working through the 70-647 exam and setting up a hyper-v server with a few VMs in a couple of domains / forests. But i am getting confused . . . . .
To create two domains with a DC in each domain how many physical network cards would the hyper-v server need? To add to this how many physical network cards would the hyper-v server need to have if i wanted to create three domains each with a DC?
Any help would be much appreciated.
- Editat de hyperNoddy 3 mai 2012 20:01
4 mai 2012 01:46ModeratorHi,
General speaking, it is recommended that you dedicate one physical network adapter for Hyper-V host management. Then you can use one or more physical network adapters for virtual machines(External Virtual Network).
I am not an active directory professional, however, as far as I know, it is recommended that you only use one network adapter on a domain controller.
In your environment, you can create one External Virtual Network bind to one physical network adapter, and attach all your domain controller virtual machines to the same External Virtual Network, you can also create different External Virtual Networks bind to different physical network adapters, then attach different domain controller virtual machines different External Virtual Networks.
By the way, if there is only one physical machine for your test, you can create Internal Virtual Netowrk or Private Virtual Network for the virtual machines.
4 mai 2012 04:33
This depends on whether you need the domains to be separated or isolated.
If they need to be isolated and lead them out to physical clients that recieve IP addresses through DHCP from each domain, then you should consider adding a physical network card for each domain, create external virtual networks for each and connect them to their own switches. If all testing will be done in your virtual environment, then you can create private virtual networks instead like Vincent suggested.
If they only need to be separated, you should be able to connect them to the same external virtual network, but configured with different IP ranges.Note: You might want to double check about putting multiple domains on the same net in an active direcotry forum before doing so.
4 mai 2012 12:12
thanks for the replies guys.
I dont want two domains (DCs) in the same subnet as this will cause complication with DHCP etc. I want two subnets with a domain (DC) in each subnet.
I can then setup sites in AD and child domains etc. So it will be a multiple domain \ multiple site configuration.
I understand this concept perfectly in terms of physical hardware i just cannot get my head round it in a virtual environment.
It just seems a bit strange how its looking like each VM will need its own physical NIC. This is almost (but not quite) defeating the object of virtualisation!
the hyper-v machine will not be a member of any of the domains i create, it is just a hyper-v box much like an ESX box would sit there and do nothing more than host VMs.
Any other advice would be much appreciated.
4 mai 2012 13:06
ok . . i have been reading up on the network types in hyper-v and i think this may have answered my question.
Each external virtual network i setup will require its own physical NIC. This means if i want to create two subnets / sites / domains i am going to need three physical NICs in the hyper-v server. One NIC for the hyper-v server and a NIC for domain A and a NIC for domain B.
Unless i can do it with internal virtual networks?
4 mai 2012 13:11
Internal virtual networks connects the host to the virtual networks as well. For pure and isolated VM networking, you should use private virtual networks.
internal and private virtual networks can not be bound to physical adapters, and will therefor not be able to communicate with your physical LAN.
4 mai 2012 13:24
i am not bothered about the VMs being able to communicate with the physical LAN as its only a lab. But what i do want is to be able to communicate between internal virtual networks. For example -
if i create internal virtual network A and internal virtual network B this will mean i have created two virtual switches. My VMs then connect to the correct respective virtual switch BUT my question is . . will i be able to route from a VM in internal virtual network A to a VM in internal virtual network B?
4 mai 2012 13:35Yes, if you add two NICs in the settings of a VM and connect them to each network, that VM can then be configured to act as router. No other connection exists between the two virtual switches.
4 mai 2012 13:56so add a third VM with two NICs? Virtual NICs i presume?
4 mai 2012 13:58Yes, virtual NIC's.
4 mai 2012 14:33and one more question :) virtual NICs can be added without the need for physical NICs? So if i only have a single NIC in the hyper-v server can i still add numerous virtual NICs?
4 mai 2012 15:31Yes, if memory serves me right, you can add up to 12 virtual NICs on a virtual machine, 8 network adapters and 4 legacy network adapters. Then you connect them to the desired virtual networks you've created... or not at all.
- Marcat ca răspuns de hyperNoddy 4 mai 2012 15:41
4 mai 2012 15:41
perfect thank you very much, my question is now answered!
Thanks for all the help!