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.