Dual-nic Internet access configuration in Windows

Source: Internet
Author: User

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"
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.