Adding static route to your Windows Server 2003, XP or Vista.

Here is the command to list the network routes on your Windows 2003 server, XP, or Vista computer.

c:\route print

To add a static route to your server or computer use the route add command.

c:\route add -P 172.182.200.0 mask 255.255.255.0 172.182.200.1

In the above example a route to subnet 172.182.200.0 via gateway 172.182.200.1 is added. The -P option makes the route permanent, so it will stick even after rebooting the server or PC.

2 comments for “Adding static route to your Windows Server 2003, XP or Vista.

Comments are closed.