DHCP Server Installation

Source: Internet
Author: User

As a network builder and manager, we need to have a clear understanding of the DHCP server installation process. Here we will take a detailed look at these steps and methods. In a network using TCP/IP protocol, each computer must have at least one IP address to communicate with other computers. To facilitate unified planning and management of IP addresses in the network, DHCP (Dynamic Host Configuration Protocol) emerged. This kind of network service facilitates the effective management of the Client IP addresses in the campus network, without the need to manually specify the IP addresses one by one.

DHCP Server Installation

DHCP refers to an IP address range controlled by the server. When a client logs on to the server, it can automatically obtain the IP address and subnet mask allocated by the server. First, the DHCP Server must be a computer installed with the Windows 2000 Server/Advanced Server System. Second, the computer used as the DHCP Server must install the TCP/IP protocol, and set static IP addresses, subnet masks, default gateways, and so on. By default, DHCP is not automatically installed by the system as a service component of Windows 2000 Server. You must add it in:

1. Click Start> Settings> Control Panel> Add/delete Programs> Add/delete Windows components to open the corresponding dialog box.

2. Click "Network Service" in the "components" list box of the selected dialog box and click the [Details] button. A dialog box with specific content appears.

3. in the dialog box "network service sub-components", select "Dynamic Host Configuration Protocol (DHCP)", click the [OK] button, and add the Windows 2000 installation CD as prompted, copy the required program.

4. After the computer is restarted, "DHCP" will appear under "Start> program> Management Tools", indicating that the DHCP service is successfully installed.

DHCP server authorization

After the DHCP Server is installed, for the sake of network security management, it cannot be used directly after the DHCP function is installed on Windows 2000 Server. Authorization is also required, unauthorized servers cannot provide the DHCP service. The process of authorizing a DHCP server is as follows:

1. Click Start> program> Administrative Tools> DHCP to open the DHCP Console window.

2. In the console window, right-click the server name and select "authorize" from the shortcut menu. It takes several minutes to wait. Note: if the system does not respond for a long time, press F5 or select "refresh" under "operation" in the menu tool to refresh the screen, or first disable the DHCP console, right-click the server name. If the "Authorization" in the shortcut menu has changed to "unauthorize", the DHCP server is successfully authorized. At this time, the most obvious mark is that the red up arrow in front of the server name turns to a green down arrow. In this way, the authorized DHCP server has the right to allocate IP addresses.

Add IP address range

After the DHCP server is installed and the DHCP server is authorized, you also need to set the IP address range for it. After setting the IP address range for the DHCP server, when the DHCP client applies for an IP address from the DHCP server, the DHCP server selects an unused IP address from the configured IP address range for dynamic allocation. To add an IP address range, follow these steps:

1. Click Start> program> Administrative Tools> DHCP to open the DHCP Console window.

2. select the DHCP server name, right-click the server name, select "new scope" from the shortcut menu, and click the [next] button in the displayed window, in the displayed dialog box, enter relevant information and click [next.

3. In the window shown in, set the items based on the actual situation of your network, and then click the [next] button.

4. In the displayed window, enter the IP address range to be excluded. Because many network devices on campus need to specify static IP addresses, such as servers, switches, and routers, in this case, the allocated IP addresses must be excluded from the IP address range of the DHCP server. Otherwise, IP addresses may conflict and network faults may occur.

5. Click [next] to set the IP address lease period in the displayed "Lease Term" window. Generally, if the IP address on the campus network is insufficient, you can set a shorter lease period. If the IP address is loose, you can set a longer lease period. After setting, click [next] to display the "Configure DHCP options" window.

6. in the "Configure DHCP options" window, if you select "yes, I want to configure these options now", you can set the DNS server, default gateway, and WINS server address; if you select "No, I want to configure these options later", you can configure them when you need these features. Select the former and click [next.

7. In the displayed window, you often enter the IP address of the router (that is, the IP address of the default gateway) in the network or the IP address of the NAT server (Network Address Translation server), such as WinRoute and SyGate. In this way, the IP information obtained by the client from the DHCP server includes the settings of the default gateway, so that the client can access the Internet.

8. Click [next]. In this dialog box, set the client DNS domain name and enter the DNS server name and IP address ., Click the [add] button to confirm. Click [next], set the WINS server in the displayed window, and click [next.

9. in the displayed window, select "yes, I want to activate this scope now", click the [next] button, and click the [finish] button in the displayed window to end the setting. In this case, we can see the scope we just created in the DHCP manager.

NOTE: If your campus network is in the form of a working group, you can select "no" in the "Configure DHCP options" window in step 1. I want to configure these options later ", in this case, steps 7th and 8 are skipped. If your campus network exists in the form of a domain, we recommend that you configure the sequence of activity Directory Creation, WINS establishment, DNS establishment, and DHCP establishment, this can reduce a lot of trouble.

Test the DHCP service

After the above settings, the DHCP service has been officially started and we need to test it on the client. You only need to set the IP address option of the client to "automatically obtain the IP address", and then restart the client. In the "run" dialog box of the client, type "Ipconfig/all" to view the dynamic IP address assigned by the client.

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.