Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 266
  • Last Modified:

Hyper-V NIC card addres

I'm setting up a Windows Srv 2012 it has two NIC  cards.

On NIC 1 I have a static IP address.

Question,

On NIC 2 should I give it a static IP address now, meaning before I use it as a NIC for the Hyper-V Srv or should I wait until after I tell Hyper-V Srv to use NIC 2 as it NIC?

I know that after tell the Hyper-V Srv which NIC to use it will convert that NIC into a Virtual NIC, so do I put the IP address after it's a Virtual NIC or before?

A bit confused, can someone please explain which way is correct?
0
noad
Asked:
noad
  • 2
  • 2
1 Solution
 
VB ITSSpecialist ConsultantCommented:
No need to configure the second NIC if you're going to be assigning it to a Hyper-V Virtual Switch for your virtual machines.

Open Hyper-V Manager > click on Virtual Switch Manager on the far right underneath Actions > create a new virtual switch with the type set to External > select your second NIC from the dropdown list > untick the Allow management operating system to share this network adapter box > OK when done

Now the second NIC should disappear on the Hyper-V host as it has been assigned to the Hyper-V Virtual Switch for your VMs to use. You then configure the IP address within your VMs.

Keep in mind that with this configuration, if your first NIC dies you won't be able to remotely manage the Hyper-V host. For this reason, I'd recommend you team the NICs inside Server Manager (Server 2012 now has built-in NIC teaming capabilities).
0
 
noadAuthor Commented:
VBITS,

Thanks for your quick reply,
Yes I do have a team NIC set up on the Hyper-V Server, actually I have a total of 4 NIC which I have setup into 2 teams one for the Hyper-V Srv and the other for the team for the 2nd Hyper-V machines.

Thanks for clearing up my confusion.
0
 
VB ITSSpecialist ConsultantCommented:
Not a problem, happy to have helped.

Glad to hear you have 4 NICs in 2 teams as well, ideal setup for a single Hyper-V host.
0
 
noadAuthor Commented:
You can never be to careful...
Thanks again
0
 
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
I have a Hyper-V Hardware and Software Best Practices Guide on EE. I suggest giving that a read.

Team the physical NICs in 2012 RTM/R2's native teaming setup. Use the defaults in 2012 R2 as the dynamic team setup is generally best.

EDIT: Updated for comments above. :)
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now