Since the company's intranet cannot access the Internet, it is inconvenient to query a lot of information at ordinary times. It happens that the Wi-Fi signal of a hotel near the company is acceptable and comes with a wireless network card. Install the driver... When you are ready, you will find that only one network card works. to access the Internet, you must disable the Intranet network card. In desperation, I found a lot of information on the Internet and turned out to be confused. After several hours of hard work, I finally succeeded. Now, let's share it with you.
Intranet environment (automatically obtain IP addresses ):
Text Box code
IP Address: 10.69.4.X
Subnet Mask: 255.255.255.0
Default Gateway: 10.69.4.1
DNS: automatically obtained
Internet environment (automatically obtain IP addresses ):
Text Box code
IP Address: 192.168.2.X
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.2.1
DNS: automatically obtained
Start setting:
1. view the route table of the Local Machine: Start-> Run-> CMD, run the command: route print
2. Update the default gateway of the Local Machine: route add 0.0.0.0 mask 0.0.0.0 192.168.2.1. This command is used to enable all network connections of the Local Machine to use an Internet Nic, that is, the NIC whose gateway is 192.168.2.1. Try again and find that you can access the Internet. However, I can't test the intranet connection. What should I do? Don't worry. Let's take a look.
3. allow all Intranet connections to use an intranet NIC: route add 10.0.0.0 mask route 0.0.0 10.69.4.1. The role of this statement is to allow all access 10. x. x. the xIP address is connected to an intranet Nic, that is, the NIC with the gateway 10.69.4.1.
I 'd like to try it out. Is it true that I am working online. For more information about static route settings, go to Baidu or google. If you have any questions about dual NICs, please discuss them.
Author: "nenusoul"