Realtime scenario: Windows 2003 server with two NICs in Mgmt and Dev networks started routing traffic via the Mgmt network

Realtime scenario:

We have Windows 2003 server which had two NICs, one each in a Mgmt network and Dev Zone network. This was essentially a Development server, and we used to connect to this server using the Dev Zone IP.

For some reason, its started acting up. When we connect the network cable to the management NIC on the server, the whole traffic started to route via the management network hence we were unable to connect to the server.

We tried changing the order of the NICs from Network Connections (ncpa.cpl) -> Advanced Menu -> Advanced Settings. This did not work.

So we changed the static routing from management IP to Development IP, as our network team suggested.

We reconfigure the routing as explained in a TechNet article below:


Add a static IP route

Updated: January 21, 2005

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To add a static IP route

  1. Open Command Prompt.
  2. At the command prompt, type: 

    route adddestinationmasksubnetmaskgatewaymetriccostmetricifinterface



Static IP route entry Definition


Specifies either an IP address or host name for the network or host.


Specifies a subnet mask to be associated with this route entry. If subnetmask is not specified, is used.


Specifies either an IP address or host name for the gateway or router to use when forwarding.


Assigns an integer cost metric (ranging from 1 through 9,999) to be used in calculating the fastest, most reliable, and/or least expensive routes. If costmetric is not specified, 1 is used.


Specifies the interface to be used for the route that uses the interface number. If an interface is not specified, the interface to be used for the route is determined from the gateway IP address.

  1. For example, to add a static route to the network that uses a subnet mask of, a gateway of, and a cost metric of 2, you type the following at a command prompt:

    route add mask metric 2


  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt
  • To make a static route persistent, you can either enter route add commands in a batch file that is run during system startup or use the -p option when adding routes.
  • Routes added by using the -p option are stored in the registry under the following key: 

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip \Parameters\PersistentRoutes

  • All symbolic names used for destination or gateway are looked up in the network and computer name database files (Networks and Hosts), which are stored in the local systemroot\System32\Drivers\Etc folder.
  • If a route addition fails, you can use the tracert command to verify that the gateway specified is directly reachable from the same subnet as this computer.


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s