Inject multiple IP addresses into a NIC during replica failover

Inject multiple IP addresses into a single vmNIC during Hyper-V Replica failover.

John Savill

November 8, 2015

1 Min Read
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.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like