Company intranet and external network together on

Source: Internet
Author: User

In the company, generally have their own intranet, but also have the connection of the outside network (can connect to the Internet), before the development of the company's intranet, and the next thing and then switch to the outside network, very inconvenient, so I would like to have been the method to make the intranet and the external network together. After some research, problem solving,
To successfully use the internal and external network, the following conditions must be met
1. Company intranet, DHCP automatically assign IP and default gateway, via proxy Internet (has been banned). ----Call the Intranet
2. The Office has a no-line by, ADSL Internet, computer wireless network card also accepts no line by automatically assigned IP. (also available for the second network card, dial-up Internet)----The following external network

1, intranet settings
10.65.84.146 IP Address
255.255.255.0 Subnet Mask
10.65.84.251 Default Gateway
10.65.88.1 DNS Server
Http://10.65.88.3/wpad.dat IE set up the agent
10.65.41.31 8080

2, the outside network is automatically obtained, with Ipconfig-all to see
192.168.0.107
255.255.255.0
192.168.0.1
192.168.0.1

Use the following command
Route print
Route-p Add 10.0.0.0 Mask 255.0.0.0 10.65.84.146
Route Delete 0.0.0.0 Mask 0.0.0.0 10.65.84.251
Save to Notepad, change the suffix name to. bat as 123.bat double-click to run.

The above is based on my company's settings, the specific IP and gateway to your specific circumstances prevail.
Now open IE, do not set up the agent, has been able to surf the Internet. At the same time intranet work properly.
Note that this is actually making your PC into a router between the inside and outside of the network, please consider the risks and use them as appropriate.

If not, please refer to the following settings

1, first connected outside the network, after the operation
Route Delete 0.0.0.0
Route add 0.0.0.0 Mask 0.0.0.0 192.168.1.1 (extranet gateway)
Route add 10.0.0.0 (Intranet network segment) mask 255.0.0.0 172.18.8.8 (intranet Gateway)

Incidentally

Tracert 10.65.88.85 traceable Route points

Route print

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.