The author of the school through ADSL set up routes to share the Internet. The extranet gateway and DNS are 10.0.0.138, the external network port IP address is 10.0 0.1, and the subnet mask is 255.255.255.0. Self-built sites are placed on the server, on the server has been
IIS is installed and set up, and the "Default Web site" IP address points to 10.0.0.1.
In the default state, you can access the extranet, but you cannot access the intranet. If you set the workstation DNS to an internal Web site address (that is, the server IP address 10.0.0.1), you can access the intranet, but you cannot access the extranet. So how can all workstations have access to both the extranet and the intranet?
We know that DNS is a huge distributed database, it provides a domain through the domain name server information to achieve domain name resolution, the domain name server is responsible for the domain name conversion to IP address, so we only need to set up TCP/IP in the order of workstation DNS, you can easily solve this problem.
The local area network workstations are set to: IP address is 10.0.0.x, subnet mask is 255.255.255.0, Gateway is 10.0.0.138. Set the preferred DNS server to 10.0.0.1, set the alternate DNS server to 10.0.0.138, the "inside and outside" access principle, so that when the setup is complete, all workstations will have access to both the extranet and the intranet.