How to add a static route

Reading Time: < 1 minute

To add a static route, open command prompt and type the below (Amend the ip details as required). The below command is just an example.

route add mask

You could also add the costmetric command. Assigns an integer cost metric ranging from 1 to 9,999 to be used in calculating the fastest, most reliable, and least expensive routes. If costmetric is not specified 1 is used as default.

Example of command with costmetric:

route add mask metric 2

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.