Windows Server 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 via IP addresses, 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 the DHCP server role using the Add Roles Wizard. Figure: 1Step2: Adjusted the DHCP server profile, enter the Select Network Connection Binding window, select the network card address map: 2Step3: Specify the DNS settings, DHCP also distributes the DNS information to the client when distributing the IP address, so we want 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: 3Step4: Specify the WINS server address. In order to be compatible with the window2000 era system, it is recommended to check WINS. Figure: 4Step5: Add scope, select the IP address range between the scopes, and specify its default gateway. Figure: 5Step6: Configure IPv6 stateless mode, we will temporarily disable this one. After all, it seems that IPv6 is not used in the enterprise, so I will not explain it. Figure: 6Step7: Select the authorization server credentials, if there is a separate server to install the DHCP role, there is no such item. Figure: 7Step8: 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: 8Second: Management of 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: 91. Management Scope We have created a scope when we installed DHCP, but we can still add multiple scopes as needed. Figure: 102. 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 for 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: 124. Scope Options In addition to leasing IP addresses, the DHCP server can also assign other options to clients such as gateways, DNS server addresses, and WINS server addresses.

Figure: 135. DHCP database backup and restore in the daily management must make a backup of the database, you can prevent the timely recovery of sudden and unexpected failure when using the DHCP server. 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 system will automatically back up every 60 minutes by default, we can also manually backup, 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: 156. 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, usually less used

Copyright © Windows knowledge All Rights Reserved