Posted in
Windows Server |
No Comment | 5,603 views | 10/05/2012 10:29
If you have multiple ip addresses on your Windows Server, Windows always use nearest ip adress to gateway. So if you need to change it, you should remove all ip addresses and add it via Netsh.
netsh interface ip add address "Local Area Connection" 10.10.10.2 255.255.255.0 skipassource=true |
netsh interface ip add address "Local Area Connection" 10.10.10.2 255.255.255.0 skipassource=true
Skipassource means Windows won’t use this ip address for outgoing communication unless explicitly set for use by outgoing packets.