Add A Persistent Route To The Routing Table In Server 2003

The route command can be used to view and manipulate the local routing table. Windows Server 2003 uses the routing table to determine where to send packets when they are received.

Normally, any routes you add to the routing table using this command are purged when the computer is rebooted. However, if you use the route command with the “-p” parameter, you can make a route persistent. This means that the route will not be deleted from the routing table upon restart. The syntax for adding a persistent route in Windows Server 2003 is as follows:

Route add -p network [network address] mask [subnet mask] [gateway] metric [value]

Article Written by