DHCP server erection application example

  

Every computer on the network has a separate IP. Just like each of us has an ID number, the computers communicate with each other by IP address, so we need to assign one to each computer. IP address, if the computer does not have an IP address or IP address conflict, can not achieve communication with each other, so we need to deploy a DHCP (Dynamic Host Configuration Protocol) server in the LAN to distribute the IP address.
First: Install DHCP Server
Step1: Open Server Manager and add DHCP server role using Add Role Wizard. Figure: 1 Step2: Adjust the DHCP server profile, enter the Select Network Connection Binding window, select the network card address. Figure: 2 Step3: Specify the DNS settings. When distributing the IP address, DHCP also distributes the DNS information to the client. We need to specify the address of the DNS server; if the DHCP server is a domain member server, enter the domain name in the parent domain option, if it is a standalone server, you need to enter the IP address of the DNS server. Figure: 3 Step4: Specify the WINS server address. In order to be compatible with the window2000 era system, it is recommended to check WINS. Figure: 4 Step5: Add scope, select the IP address range between the scopes, and specify its default gateway. Figure: 5 Step6: Configure IPv6 stateless mode, we will temporarily disable this one. After all, it seems that the enterprise does not use IPv6 at present, so I will not explain it. Figure: 6 Step7: Select the authorization server credentials, if there is a separate server to install the DHCP role, there is no such item. Figure: 7 Step8: After the installation is completed, you can see the summary of the configuration information in front of the information bar. If there is no modification, click the [Install] button to execute the installation. Figure: 8 Second: Management of the DHCP server
After completing the installation of the DHCP server, we also need to do a series of configurations to optimize the performance of the DHCP server. Find [Administrative Tools] in the [Start] menu. ], then select [DHCP] to open DHCP server management, here we can see the new scope and a series of default configurations at the time of installation. Figure: 9 1. Management Scope We have created a scope when we installed DHCP, but we can still add multiple scopes as needed. Figure: 10 2. Lease period setting The default lease time of DHCP is 8 days. We can set the appropriate lease period according to the specific usage of the network. The lease time is too short, which will increase the burden on the network. It is not optional indefinitely. Figure: 11 3. Keep a fixed IP address to the client We can reserve some special IP address for the client to use. As long as the client requests an IP address from DHCP or updates the lease, the DHCP server leases the IP address to the client. end. Figure: 12 4. Scope Options In addition to leasing the IP address, the DHCP server can also assign other options to the client, such as the gateway, DNS server address, and WINS server address.
Figure: 13 5. Backup and restore of DHCP database In the daily management, you must make a backup of the database to prevent the DHCP server from recovering in case of unexpected unexpected failure. The database of the DHCP server is saved in the %systemroot%\\System32\\dhcp folder by default. The main file is dhcp.mdb, which stores the IP scope, rental address, and option configuration. Other files are auxiliary files. Figure: 14 The system automatically backs up every 60 minutes by default, we can also manually back up, as shown in Figure 14. If you restore the DHCP server, we only need to install a DHCP server, then copy the files in the backup folder (including the new folder) to the new server, and then select Restore. Figure: 15 6. Description of other configuration options a. Superscope: It is a collection of multiple scopes, mainly used to support the network environment of multinets, that is, there are multiple logical IP networks in a physical network. b. Multicast Scope: Multicast Scope is generally used to deploy multimedia environments and is typically used less often.

Copyright © Windows knowledge All Rights Reserved