Welcome to our Online Store!

Simultaneous access to multiple network routing settings

2018-06-25 12:26:32

This article has recently been debugged outside the program, the internal network is required for the debugger, but to the outside world, only through wireless connections. However, there is a problem that is found in the notebook's wireless connection to the external network, as long as the network cable plugged in, it will be found that all types of qq dropped, the external network connection is not enough, the web will not open.

The debugger has recently been externally debugged. The intranet is required for the debugger. On the extranet, only the wireless connection is required. However, there is a problem that is found in the notebook's wireless connection to the external network, as long as the network cable plugged in, it will be found that all types of qq dropped, the external network connection is not enough, the web will not open. This is very troublesome. Every time the test is finished, the network cable must be manually removed to allow the external network to operate. Feeling this kind of approach is too much trouble. Can the intranet and the external network access the notebook at the same time, without having to pull the network cable every time? Then, looking for information on the Internet, it was found. In fact, it is because of the problem of Windows default route settings. Windows will default access to all IP addresses to Ethernet or wireless network gateways. When accessing two or more connections at the same time, such a default route will be problematic. We need to manually modify it.

Need to set through the route command, the following is an example, enter the CMD (start as administrator):

For example, if you want to use the intranet, wireless extranet , you can set this way

192.168.0.1 Routedelete0.0.0.0 (delete the default route setting for all IP)

routeadd0.0.0. 0mask0.0.0.0192.168.1.1 (The route to all IPs will point to the IP address of the external gateway. The IP of the external network gateway is assumed to be 192.168.1.1)

routeadd10.13.4.0mask255.255.255.010.122.2.1 (Access to a network segment on the intranet, pointing to the gateway address of the intranet. The IP address of the intranet gateway is assumed to be 10.122.2.1)

where 192.168 .1.1 is a wireless network gateway and 10.122.2.1 is a network gateway. The meaning of these two sentences is: for all IP address access, all go from 192.168.1.1; however, for the access to the address beginning with 10.13.4, go from 10.122.2.1. If you want to go through the extranet, wireless intranet, and so on...

This way, you no longer need to plug and unplug the network cable to switch the network... Veryveryhappp!

< p>PS: The IP address and gateway address of each network interface can be obtained through the ipconfig command.

Address: Room110,No.389 Jinwan Road,Shanghai,China

Email: daisy.dai@ccitel.com
service time: 7x24 hour

CCIT ICT PRODUCTS