A computer two network card to achieve different network segment simultaneous access

Source: Internet
Author: User

Because of the corporate network structure, now divided into internal and external two LAN, research and development personnel can not be outside the network, which also led to our internal access to internal ERP personnel and file server staff is very inconvenient, most colleagues use two computers, this is not, I also, but there is a computer not too fast, configuration is not good, So decided to do two network cards, a computer to use, the following is the method:

There are 192.168.1.0/24 and 192.168.3.0/24 two network segments. The gateways are 192.168.1.1 and 192.168.3.1 respectively.

Achieve the goal: through the 192.168.1.1 to the Internet, and can access the 192.168.1.X network host, you can access the 192.168.3.X network host.

Configuration method: Two network cards are connected to the network cable respectively. Put one of the net cards in the normal configuration,

ip:192.168.3.a netmask, DNS, etc., this network card does not set the gateway.

The second net card set IP address is: 192.168.1.X netmask, DNS, etc., the network card setting gateway is 192.168.1.1.

Then switch to the DOS command interface and enter the execution:

Route add-p 192.168.3.0 Mask 255.255.255.0 192.168.41.a

Then it's OK, p is valid after rebooting the NIC. If not, we suggest that the first to second chapter of the network card set the order to change.

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.