Setting the primary IP on Windows Server 2012

16 Jun

I recently added a second IP to a VM and had some DPM issues as a result. Upon investigation I would ping the Server by using the original¬†IP, but it would respond from the new IP which the firewall in-between didn’t like and dropped it.

I found a nice little guide here.

The solution was to set the primary IP of the server:

netsh int ipv4 add address <Interface Name> <ip address> <subnetmask> skipassource=true