Adding Static Route via CMD prompt

Adding Static Route via CMD prompt

 

Here is another tip to add static route via command prompt. You will have to run it under Admin privileges.

 

Type : Route add 192.168.1.0 mask 255.255.255.0 10.100.100.1

Explanation of syntax:  Route 192.168.1.0 with mask 255.255.255.0 via new Router/Firewall address 10.100.100.1

 

How to view static/Dynamic routes  and delete the route : 

cmd : Route Print

cmd : Route delete 192.168.1.0 mask 255.255.255.0 10.100.100.1

 



Leave a Reply