Win2003 is a loop of LAN shares more exports

xiaoxiao2021-03-06  21

First, case

The school's computer center computer room has 240 computers. It is interconnected as a local area network. It is hoped to access the school network interface through the ADSL interface when accessing external resources.

Second, solve

Windows XP and Windows 2003 comes with ADSL broadband dial programs, here you can get everything as long as you use Windows 2003's Routing and Remote Access program.

1, premise

One computer (configuration is not very high, as long as Windows 2003 can be installed), install a Windows2003 operating system, interpolated 3 network cards, network card 1: Connect internal LAN, IP: 192.168.1.1, subnet mask: 255.255.255.0 , Gateway: Air, DNS: Air; NIC 2: Connection ADSL, IP: Auto Acquisition, DNS: Auto Acquisition; NIC 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 (Suppose the campus network segment is between 202.203.220.0-202.203.230.0, the DNS server is 202.203.220.2);

2, server configuration

Step1. Click Start - Administrative Tools - Routing and Remote Access, launch the Configuration Wizard; Select the local server, click Operation, "- Configure and Enable Routing and Remote Access" (Figure 1). Click Next, select "Custom Configuration" - "Next"; check "request dial-up connection (using the branch office routing)" and "LAN Rout" - "Finish", Start route and remote access.

Figure one

Step2. Select "Network Interface", click "Operation" - "New Request Dial Interface" - "Next" - "Next", select "Use the PPP (PPPoe) connection on Ethernet" - "Next" - " Next, "Agreement and Security Measures" option, remove all hooks, click Next, enter the ADSL account and password, "Next" - "Complete".

Step3. Newly built a batch of file Route.bat and add it to "Start" - "Program" - Under "Start", edit route.bat content is as follows:

cd / 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 // (itself the campus network IP segment added) Route Add 202.203.230.0 Mask 255.255.255.0 202.203.230.1

3, client configuration

The TCP / IP configuration is 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 ADSL, such as Kunming Telecom For: 202.98.160.68), alternate DNS server: 202.203.220.2. The DNS setting here is very important, and some people will mistake DNS to: 192.168.1.1. Third, summary

Use this method to achieve broadband sharing, save the cost of purchase, almost no server resources, and simply add a network card to the server, you can expand the number of clients or external exit. More than 400 computers in our unit share a 2madsl broadband will have a 2madsl broadband, and the operation is very stable. Each computer is like a 2madsl in the Internet, and it can quickly browse the campus resources, realize the online office, why Not! If there is any problem during the configuration process: chzqw@sina.com.cn.

cd / 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 // (itself the campus network IP segment added) Route Add 202.203.230.0 Mask 255.255.255.0 202.203.230.1

3, client configuration

The TCP / IP configuration is 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 ADSL, such as Kunming Telecom For: 202.98.160.68), alternate DNS server: 202.203.220.2. The DNS setting here is very important, and some people will mistake DNS to: 192.168.1.1.

Third, summary

Use this method to achieve broadband sharing, save the cost of purchase, almost no server resources, and simply add a network card to the server, you can expand the number of clients or external exit. More than 400 computers in our unit share a 2madsl broadband will have a 2madsl broadband, and the operation is very stable. Each computer is like a 2madsl in the Internet, and it can quickly browse the campus resources, realize the online office, why Not! If there is any problem during the configuration process: chzqw@sina.com.cn.

转载请注明原文地址:https://www.9cbs.com/read-43496.html

New Post(0)