Network adapter setup on Hyper-V Window 2008

My server has two lan card. LAN card 1 will be configured for Hyper-V IP address. LAN card 2 will be configured and all the VM will be binded to this LAN card. Is this a recommended way to configure my LAN card for Hyper-V and guest ?

BTW, do I need a fixed IP address on LAN Card 2, or just a dynamic IP address is fine ? I suppose that I will only use IP Address of LAN card 1 to communicate with Hyper-V server and each guest will have its own IP address, so IP address binded to LAN card 2 doesn't affect anything. Am I correct ?



Thanks
AXISHKAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Noo91Commented:
Hi, yes it should work for dynamic IP on LAN 2, but it is not recommanded, aka if your dhcp scope is full, you take the risk to put down all your VM.
Best practice is to had a NIC for LAN Administration, HyperV (NIC1 in your case) and use the other NICS for VM, with fixed IP address.
 
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AXISHKAuthor Commented:
To clarify my understanding, both NC should be configured with fixed IP address, correct ?

Thanks.
0
Noo91Commented:
yes.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

AXISHKAuthor Commented:
I have used LAN2 as the network adapter of the guest OS. However, it doesn't work. Ping from Hyper-V server get response, but when I ping the guest server on my laptop, it doesn't get any respond.

Any idea about this ?

Thanks
0
AXISHKAuthor Commented:
More things to check

1. Do I need to put the default gateway on the 2nd network card on the Hyper-V server ? Currently, I haven't put anyting as I think it will be shared with the first network card ?

2. To configure 2nd network card under Virtual Network Manager, I have select "External" as the guest VM need to access the internet and allow domain users to access. In addition, I haven't selected "Allow management operating system to share this network adapter" as I think the card will be totally dedicated to the guest OS. Are they correct ?

Thanks
0
AXISHKAuthor Commented:
One more add, if I don't select "Allow management operating system to share this network adapter" , the 2nd network card shown under Hyper-V server don't bind to any IP address. Is it correct ? However, the guest VM seem able to use the 2nd network card. So, it is a recommended setting for guest VM ?
0
Noo91Commented:
1. Do I need to put the default gateway on the 2nd network card on the Hyper-V server ? Currently, I haven't put anyting as I think it will be shared with the first network card ?
=> just put ip, mask and if you need DNS, you let register IP checkbox or not depending of your skill
2. To configure 2nd network card under Virtual Network Manager, I have select "External" as the guest VM need to access the internet and allow domain users to access. In addition, I haven't selected "Allow management operating system to share this network adapter" as I think the card will be totally dedicated to the guest OS. Are they correct ?
=> to dedicate the 2nd card to one unique VM, you setup it under the VM settings but it didn't prevent you the 2nd card to be used by another VM if you don't take care about this.

 
0
AXISHKAuthor Commented:
What is the option  "Allow management operating system to share this network adapter"  used for ?

Thanks
0
Noo91Commented:
It is for the management of HyperV, you have to be sure that you have another NIC that you can bind to manage.
this could help, it speaks about different versions of HyperV and this option :  http://blogs.technet.com/b/jhoward/archive/2009/05/04/new-in-hyper-v-windows-server-2008-r2-part-1-dedicated-networks.aspx
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.