Add dynamic routing

Configure a static network routing: route add 192.168.10.0 mask 255.255.255.0 192.168.10.1 -p
After that represents all segments of the data access 192.168.10.0 go through the gateway 192.168.10.1, -p represents permanently added, restart Note: It is still valid
and then configure external network static routing: route add 0.0.0.0 mask 0.0.0.0 192.168.20.1 -p

Guess you like

Origin blog.csdn.net/qq_42335056/article/details/88424464