How to add Static route in Windows

To add Static route in windows follow three simple steps are required-

  1. Open Command Prompt with administrative access.
  2. Use “route print” to check the routing
route print

3. To add a static route in Windows use below syntax.

route ADD destination_network MASK subnet_mask  gateway_ip metric_cost
route ADD MASK
how to add static route in windows

The subnet_mask and metric_cost components are optional to the command. once you add a static route in windows, you can use command route print to view the routing in windows.

To delete a static route from windows use below commands

route delete destination_network

To delete the route with the destination network, all we’d have to do is type this command and hit Enter:

route delete

How to run tracetcp in windows

Leave a Reply

%d bloggers like this: