Open cmd command window with administrator
-
route print
View all routing table information
-
route add
192.168.0.0mask
255.255.0.0 192.168.20.2
add route (temporary)route -p add
192.168.0.0mask
255.255.0.0 192.168.20.2
add permanent routeroute add
192.168.0.0mask
255.255.0.0 192.168.20.2METRIC 3 IF 2
Add a static route, specify the number of heartbeats and the number of network card ports -
route delete
192.168.0.0mask
255.255.0.0 192.168.20.2
delete the added route -
route change
192.168.0.0mask
255.255.0.0 192.168.20.3METRIC 3 IF 2
Modify routing (only used to modify gateway or metric)