Monday, June 3, 2013

Adding Multiple IP Address to Network Interfaces in Windows 2008R2

In order to add a secondary (or tertiary, etc.) IP v4 address to Windows 2008R2, you can use the usual gui method. However, this will create ips that will automatically register. So, you'll have multiple DNS A records for the same hostname, which may not be desired - especially if you using SSL certs on the host.

To get around this problem, do not add the additional IP addresses in the GUI. Use the powershell:

Netsh int ipv4 add address "Local Area Connection 2" 192.168.77.23 255.255.252.0 skipassource=true