none
Route add help on Windows Server 2003

    Question

  • 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 255.255.255.248 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?

    Thanks
    Wednesday, August 19, 2009 7:20 PM

Answers

  • add -p to your command line.

    example:

    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 10.10.10.0 mask 255.255.255.0 192.168.1.1 metric 1


    Scotty
    Wednesday, August 19, 2009 7:39 PM

All replies