Skip navigation
Inject multiple IP addresses into a NIC during replica failover

Inject multiple IP addresses into a NIC during replica failover

Q. During a Hyper-V Replica failover can multiple IP addresses be injected into a single NIC?

A. Hyper-V Replica enables a failover IP configuration for each NIC which is injected into the VM during a failover. You can have multiple NICs attached to a VM each with its own failover IP configuration but what if a single NIC needs multiple IP addresses? This can be done using WMI but not using the graphical interface or PowerShell. Microsoft has an example of assigning multiple IP addresses during a failover in their article at http://blogs.technet.com/b/virtualization/archive/2012/05/29/inject-ip-address-into-the-vm-during-failover.aspx. Scroll to the bottom of the article for the example code. The key point is an array is created for each NIC consisting of the multiple IP addresses and subnet masks.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish