-
To add a route.
For example, broadband is used to access the Internet, and a VPN is used to access your company's internal network.
The IP addresses used within your company are all of them.
The two gateways are and .
You can run the following commands under DOS:
route delete mask
route add mask
If the above method solves your problem, you can also set only the IP address on the VPN network card, and not the gateway.
Then run the route add -p mask so that you can use it when you boot it up in the future, and you don't need to change the route.
-
The idea is to make 192 a and 172 b. By default, network A is used, so the NIC of network A has a gateway, while the NIC of network B does not have a gateway. Then make a batch command to add all the network segments accessed through the VPN, so that the computer will automatically go through the B gateway when accessing these network segments.
That is, to modify the routing table of the computer. The command is as follows:
route add [take the address range of the B NIC] mask [b gateway mask] [b gateway].
Example: route add mask
Additional note: As long as one of the NICs does not have a gateway, you can enable both NICs at the same time, otherwise, the system will think that you have enabled two default routes (which are not allowed in addressing), causing a network exception.
-
1. Most people set up 2 or more IP addresses.
It's for the convenience of the internet.
Because some people will use the same laptop.
When I was in school, I would go to the teaching and research department during the day and go back to the dormitory at night, and I always needed to reset the IP address and default gateway.
DNS, I think it's very troublesome, and sometimes I can't remember the configuration parameters. However, if a network card is bound to multiple IPs, there will be no such problem.
2. A small number of professionals set up 2 IP addresses is required by the project.
For example, some devices are connected to a local area network, and if you want a computer to obtain device information in real time and access the Internet at the same time, you need to set up 2 IP addresses for a network card.
-
The IP address in the same network is unique, so if there is the same IP address, it will cause an address conflict, and both computers cannot connect to the network, so the IP address is the same, which means that the IP address has been used in the network, and you must change the new address to use, you can try to change the new IP, the method is as follows:
1. Click the network icon at the bottom of the desktop.
2. Click on the "Network & Internet Settings" option in the bar.
3. In the pop-up settings window, click "Change Adapter Options".
4. In the pop-up network connection window, right-click the current connection item, and select the "Properties" option in the context menu.
5. In the pop-up properties window, double-click Internet Protocol Version 4.
6. In the Internet Protocol Version 4 property window, select Use the IP address below.
7. Change the IP address, subnet mask and default gateway to graphic data, in which the last three digits of the IP address can be changed freely between 2 and 255, but generally more than 100 digits. Then click "OK".
Content from user: cfnjjs
Win7 dual network card Internet access. >>>More
All right. Then I ask you. Do you want two sad hearts or one of them. >>>More
Suihuai, which means to appease concerns. It can be recruited, which means that Xu You can be appeased and attached.
1. To sum the cells in the region that meet multiple conditions, you can use the sumifs function. >>>More
In our personal leisure time, we will choose to use mobile phones to pass the time, in order to pursue the sound quality of mobile phones, we will choose to use headphones, headphones with wires are not as convenient as Bluetooth headsets, so we will choose Bluetooth headsets, so how to use Bluetooth headsets together at the same time? >>>More