While a computer network to external networks and methods

After connecting Wi-Fi network and view network information
into the cmd, execute: route print
the first two 0.0.0.0 address information, it will route the conflict, need to do the following:
enter cmd to reset the network through the route command
execution: route delete 0.0.0.0 (delete the default routing settings for all ip's)
execution: route add 0.0.0.0 mask 0.0.0.0 192.168.43.1 (all ip route points outside the network gateway, my external network gateway 192.168.43.1)
execution: route add 172.16.225.0 mask 255.255.255.128 172.16.225.1 (internal network access to a network segment, point the network gateway address, my network gateway is 172.16.225.1)
have gone from 192.168.43.1 ip address access for all but for the beginning of the address access 172.16.225.x away from 172.16.225.1. Of course, a plurality of IP segments may be provided access to the intranet or extranet gateway.
If you need to permanently set the route add -p command such as: route -p add 172.16.225.0 mask 255.255.255.128 172.16.225.1

Guess you like

Origin www.cnblogs.com/boboanhaoweiyuan/p/11785851.html