Add a Static IP Route To the Windows Routing Table

View The Windows Routing Table:

route print

Add route

route ADD destination_network MASK subnet_mask  gateway_ip metric_cost
ex: route ADD 192.168.35.0 MASK 255.255.255.0 192.168.0.2

Add persistent route

route -p ADD 192.168.35.0 MASK 255.255.255.0 192.168.0.2

Remove Static Route

route delete destination_network
ex: route delete 192.168.35.0

 


Revision #1
Created 10 August 2020 14:12:51 by Lauris_Adm
Updated 13 October 2022 12:23:17 by Lauris_Adm