How to add a Static Route in Windows

You can easily add a static route from the command line in Windows by entering the following.
route add 10.0.0.0 mask 255.0.0.0 192.168.0.1 metric 2
To make this a persistent route, meaning, it will be applied even after a reboot, simply add a /p to the end of the statement.
Reference:  http://technet.microsoft.com/en-us/library/cc757323(v=WS.10).aspx

Published by

Rich

Just another IT guy.

Leave a Reply

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