How do I set the order of multiple IP addresses all bound to one ethernet interface?
Windows Server 2008 R2 IP Address Binding order
ethernetipv4tcpipwindows-server-2008
Related Topic
- Dead gateway detection on Windows 2008 Server
- Firewall – Windows Server 2008 firewall rules order problem
- Nat – Windows Server 2008: specifying the default IP address when NIC has multiple addresses
- Force windows server 2008 to use a certain IP address for outbound connections
- IIS 7 and Windows 2008: only one ip address showing for IIS binding when multiple aliases exist
- CentOS, ifdown on virtual interface removes IPv6 addresses on physical interface
- IPv4 Address Exhaustion – How Bad Is It?
Best Answer
I ran into this same issue today. It appears that Windows uses the lowest numbered IP address on an interface as the primary interface IP in the route table, no matter what ordered they are specified or added. I cannot find a source to confirm this though.
In order to add additional IPs to an interface, and be assured that they are not used as the source IP for outbound connections, you must use the following command:
The key part being
skipassource=true
.You can confirm this worked correctly with the following command:
Unfortunately, you cannot make this change on an existing IP address, so it must be deleted and re-added.