Route add help on Windows Server 2003


  • Hi all,

    Thanks in advance! I am running Windows Server 2003. I want my server to be able to talk to a server at our co-lo for replication. I set up the 2nd NIC with a 10.1.7.x address and it is in its own VLAN. I want to be able to talk to the co-lo server 10.65.1.x

    I had to do a route add statement (below) so that it would connect.

    route add 10.65.1.x mask 10.1.7.x

    The only problem is, if I reboot, I have to re-add the statement.
    Is there a way to put the statement in that will always keep or should I set up a bat file and add it to the startup?

    Wednesday, August 19, 2009 7:20 PM


  • add -p to your command line.


    This Static route gets erased when the system reboots. To avoid this, use the -p (Persistent) switch to the above command:

    C:\> route -p add mask metric 1

    Wednesday, August 19, 2009 7:39 PM

All replies