Two wireless network cards under windows, one internal network and one external network
Cmd sets routing table under windows
Delete the previous routing table first
Route delete 0.0.0.0
Then set the route direction
Route add-p 0.0.0.0 mask 0.0.0.0 10.0.0.1 metric 10route add-p 192.168.5.0 mask 255.255.0.0192.168.5.21 metric 20
This setting means:
All networks go to 10.0.0.1 gateway, metric 10 is to set priority.
Route add-p 0.0.0.0 mask 0.0.0.0 10.0.0.1 metric 10
Set the network to access the 192.168 network segment to go to the 192.168.5.1 gateway
Route add-p 192.168.5.0 mask 255.255.0.0 192.168.5.21 metric 20
Just set it up.
Route print is a way to view the routing table under cmd