how can I change the default route IP (NOT the interface) to one of the other IP that is bind to the same interface in win2008 Server


here win2008 server routing table:

c:\users\xiaoluz>route print
===========================================================================
interface list
 12 ...00 50 56 b5 71 07 ...... intel(r) pro/1000 mt network connection #2
  1 ........................... software loopback interface 1
 13 ...00 00 00 00 00 00 00 e0  isatap.{10c5015f-3ff7-4a29-9dfa-05c9806f3c90}
 11 ...02 00 54 55 4e 01 ...... teredo tunneling pseudo-interface
 14 ...00 00 00 00 00 00 00 e0  6to4 adapter
===========================================================================

ipv4 route table
===========================================================================
active routes:
network destination        netmask          gateway       interface  metric
          0.0.0.0          0.0.0.0   203.23.176.193   203.23.176.206    266
        127.0.0.0        255.0.0.0         on-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         on-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         on-link         127.0.0.1    306
   203.23.176.192  255.255.255.224         on-link    203.23.176.206    266
   203.23.176.206  255.255.255.255         on-link    203.23.176.206    266
   203.23.176.216  255.255.255.255         on-link    203.23.176.206    266
   203.23.176.221  255.255.255.255         on-link    203.23.176.206    266
   203.23.176.223  255.255.255.255         on-link    203.23.176.206    266
        224.0.0.0        240.0.0.0         on-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         on-link    203.23.176.206    266
  255.255.255.255  255.255.255.255         on-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         on-link    203.23.176.206    266
===========================================================================
persistent routes:
  network address          netmask  gateway address  metric
          0.0.0.0          0.0.0.0   203.23.176.193  default
          0.0.0.0          0.0.0.0       10.10.19.1  default
===========================================================================

the server have 1 nic has 3 static ips:

ethernet adapter local area connection 2:

   connection-specific dns suffix  . :
   description . . . . . . . . . . . : intel(r) pro/1000 mt network connection #
2
   physical address. . . . . . . . . : 00-50-56-b5-71-07
   dhcp enabled. . . . . . . . . . . : no
   autoconfiguration enabled . . . . : yes
   ipv4 address. . . . . . . . . . . : 203.23.176.206(preferred)
   subnet mask . . . . . . . . . . . : 255.255.255.224
   ipv4 address. . . . . . . . . . . : 203.23.176.216(preferred)
   subnet mask . . . . . . . . . . . : 255.255.255.224
   ipv4 address. . . . . . . . . . . : 203.23.176.221(preferred)
   subnet mask . . . . . . . . . . . : 255.255.255.224
   default gateway . . . . . . . . . : 203.23.176.193
   dns servers . . . . . . . . . . . : 203.23.176.130
                                       203.23.176.153
   netbios on tcpip. . . . . . . . : enabled

currently traffic goes through ip 203.23.176.206 , want change traffic goes through ip 203.23.176.221 instead?

can please help?

thanks

xiaolu

hi xiaolu,

we cannot change route interface ip order. not xp have primary ip address, server 2008 please apply following hotfix , leave 203.23.176.221 in ipv4 properties. after that, running below netsh command add additional ip addresses parameter:

netsh int ipv4 add address <interface name> <ip address> <subnet mask> skipassource=ture

so added addresses not used outgoing packets. more detailed information, please refer following article:

all ip addresses registered on dns servers when ip addresses assigned 1 network adapter on computer running windows server 2008 sp2 or windows vista sp2
http://support.microsoft.com/kb/975808

source ip address selection on multi-homed windows computer
http://blogs.technet.com/b/networking/archive/2009/04/24/source-ip-address-selection-on-a-multi-homed-windows-computer.aspx


best regards,
aiden


aiden cao

technet community support



Windows Server  >  Platform Networking



Comments

Popular posts from this blog

server manager error: ADAM.events.xml could not be enumerated.

Cannot access Anywhere Access using domain name?

WMI Failure: Unable to update Local Resource Group