How to establish a DHCP server

xiaoxiao2021-03-06  43

Author: A only

source:

http://www.pconline.com.cn

In a network using TCP / IP protocol, each computer must have at least one IP address to connect to other computer. In order to facilitate the unified planning and management of IP addresses in the network, DHCP (Dynamic Host Configure Protocol, Dynamic Host Configuration Protocol) is gone. Such network services facilitate effective management of client IP addresses in the campus network without having a manual designation IP address.

 

DHCP service installation

DHCP refers to the server to control a segment of IP address by the server, and the server-assigned IP address and subnet mask can be automatically obtained when the client logs in to the server. First, the DHCP server must be a computer installed with a Windows 2000 Server / Advanced Server system; secondly, the computer that serves as a DHCP server needs to install the TCP / IP protocol, and set a static IP address, subnet mask, default gateway, etc. content. By default, the DHCP is not automatically installed by the system as Windows 2000 Server, and it must be added to:

1. Click "Start → Settings → Control Panel → Add / Remove Programs → Add / Remove Windows Components" to open the appropriate dialog box.

figure 1

2. Use the left mouse button to click "Network Service" in the "Component" list box in the Selected Dialog box, click the [Details] button, and the dialog box with specific content appears.

3. Check "Dynamic Host Configuration Protocol (DHCP)" in the Subcombinate list box of Network Services, click the [OK] button, put it in Windows 2000 installation CD according to the screen prompt, copy the required program.

4. After restarting the computer, "DHCP" will appear under the "Start → Manage Tool", indicating that the DHCP service is successful.

 

DHCP server authorization

                                                            ] The process of authorizing the DHCP server is as follows:

1. Click "Start → Programs → Administrative Tools → DHCP" to open the DHCP console window.

2. In the console window, click the left mouse button to select the server name, then right-click, select "Authorization" in the shortcut menu, which takes a few minutes of waiting time. Note: If the system has no response for a long time, you can press the "Refresh" on the "Operation" in the F5 key or in the Select Menu tool, or turn off the DHCP console first, right-click on the server name. If the "Authorization" in the shortcut menu has changed to "Undo Authorization", it means that the DHCP server is authorized to succeed. At this time, the most obvious tag is the arrow in front of the server name to become a green downward arrow. In this way, this authorized DHCP server has the right to assign IP.

Add IP address range

When the DHCP server is authorized, it also needs to set the IP address range. By setting the IP address range for the DHCP server, when the DHCP client applies for an IP address to the DHCP server, the DHCP server selects a dynamic allocation from the IP address that has not been used in the set IP address. The operation of adding the IP address range is as follows:

1. Click "Start → Programs → Administrative Tools → DHCP" to open the DHCP console window.

2. Select the DHCP server name, click the right mouse button on the server name, select "New Scheme" in the shortcut menu, in the window, click the [Next] button in the window, enter the dialog box Related information, click the [Next] button, as shown in Figure 1. figure 2

In the window shown in Figure 1, the items are set according to the actual situation of your own network, and then click the [Next] button, the window shown in Figure 2 appears.

4. In the window shown in FIG. 2, enter the IP address range that needs to be excluded. Since there are many network devices in the campus network to specify static IP addresses (ie fixed IP addresses), such as servers, switches, routers, etc., this must be excluded from the IP address range of the DHCP server, otherwise The conflict of IP addresses will cause network failures.

5. Click the [Next] button, you can set the time value of the IP address lease in the Lease Term window. In general, if the IP address in the campus network is more tense, the rental period can be shorter, while the IP address is relatively loose, and the rental period can be set. After setting, click the [Next] button, "Configure the DHCP Options" window.

6. In the Configure DHCP Options window, if you choose "Yes, I want to configure these options now", you can set the DNS server, the default gateway, the WINS server address; if you choose "No, I To configure these options later, "can be configured when you need these features. Here, we choose the former, click the [Next] button.

7. In the window appearing, it is often input to the IP address of the router (ie the default gateway IP address) or the IP address of the NAT server (Network Address Translation Server), such as WinRoute, Sygate, etc. Thus, the client has a set of settings from the default gateway from the IP information obtained from the DHCP server, so that you can access the Internet.

8. Click the [Next] button, set the name of the client DNS domain in this dialog, and enter the name of the DNS server and the IP address. , Then click the [Add] button to confirm. Click the [Next] button, perform the relevant settings of the WINS server in the window, and then click the [Next] button.

9. After the window appears, select "Yes, I want to activate this role now", click the [Next] button, click the [Finish] button in the window, set the end. At this point, you can see our just built a role in the DHCP manager.

Note: If your campus network is existing in the form of a working group, you can select "No, I want to configure these options later" in step 6, "," At this time, the setting process skips Step 7, 8. If your campus network exists in the form of a domain, it is recommended that your network configuration sequence is: Establishment of the Active Directory → WINS Establishment → Establishment of DNS → DHCP Establishment, this can reduce a lot of trouble.

 

DHCP service test

After the above setting, the DHCP service has been officially launched, and we need to test on the client. Simply set the client's IP address option to "Auto Get IP Address", then restart the client. Type "IPConfig / all" in the "Run" dialog box, you can see the dynamic IP address assigned to the client.

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

New Post(0)