Win2003 for routing LAN sharing Internet

Source: Internet
Author: User
Tags interface connect domain name domain name server access
The computer center of the university has a total of 240 computer rooms, has been connected to the local area network, to access the school resources through the campus network interface, and access to external resources through the ADSL interface.

To resolve Windows XP and Windows 2003 with ADSL Broadband dialer, you can do everything with a little configuration of the Windows 2003 Routing and Remote Access program.

1, the premise of a computer (configuration is not very high, as long as you can install Windows 2003 on the line), installed with the Windows2003 operating system, plug 3 network card, network card 1: Connect the internal LAN, ip:192.168.1.1, subnet mask: 255.255.255.0, Gateway: null, DNS: null; network card 2: Connection ADSL,IP: Automatic acquisition, DNS: Automatic acquisition, network card 3: Connect Campus Network, ip:202.203.230.2, subnet mask: 255.255.255.0, Gateway: 202.203.230.1,dns:202.203.220.2 (assuming the campus network segment is between 202.203.220.0-202.203.230.0, DNS server is 202.203.220.2);

2, server Configuration Step1. Click Start-Administrative Tools-Routing and Remote Access, start the Configuration Wizard, select the local server, click Actions-Configure and Enable Routing and Remote Access (figure I). Click Next, select Custom Configuration-Next, check demand-dial connections (used by branch office routing), and LAN routing-next-finish to start Routing and Remote Access.
Figure 1
STEP2. Select "Network Interface", click Action-New demand-dial interface-Next-Next, select Use PPP on Ethernet (PPPoE) connection-next-Next, eject the protocol and security option, remove all hooks, and click Next. " Enter ADSL account number and password, "Next"-"finish".

Step3. Create a new batch of processing file Route.bat and add its shortcuts to start-Programs-Start, edit the Route.bat content as follows:

dd{

Route Delete 0.0.0.0

Route add 192.168.1.0 Mask 255.255.240.0 192.168.1.1

Route add 202.203.220.0 Mask 255.255.240.0 202.203.230.1

Route add 202.203.221.0 Mask 255.255.255.0 202.203.230.1

(The IP section of the campus network is added on its own)

Route add 202.203.230.0 Mask 255.255.255.0 202.203.230.1

3, the client configures TCP/IP configuration as follows: ip:192.168.1.x, subnet mask: 255.255.255.0, Gateway: 192.168.1.1, preferred DNS server: Local ADSL domain name server IP (can be queried to the ADSL provider, such as Kunming Telecom is: 202.98.160.68), alternate DNS server: 202.203.220.2. The DNS settings here are critical, and some people mistakenly set DNS to: 192.168.1.1.

Third, summarize the use of this method to achieve broadband sharing, can save the cost of purchasing routers, almost no use of server resources, and as long as the server to plug the network card, you can arbitrarily expand the number of clients or external exports. My unit more than 400 computers use this method to share a 2MADSL broadband will have a year, the operation is very stable, each computer is like in the independent use of a 2MADSL in the Internet, while you can quickly browse the campus resources to achieve online office, why not!

Related Article

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.