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 mask

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

About Andrew Lin

Hi, I have always wanted to creat a blog site but never had the time. I have been working in Information Technology for over 15 years. I specialize mainly in networks and server technologies and dabble a little with the programming aspects. Andrew Lin

View all posts by Andrew Lin →

Leave a Reply

Your email address will not be published. Required fields are marked *