Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Windows server 2016 deploys DHCP services

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Today, I will give you a brief introduction to the deployment of DHCP server in Windows server 2016.

* * the following requirements need to be met to install DHCP server:

The server should have a static IP address in the domain environment need to use the active Directory server authorization DHCP service to establish a scope (the scope is actually a range of IP addresses) and activate

**

Before installing the DHCP service, you need to plan for the following information

Determine the range of IP addresses that the DHCP server should distribute to the client determine the correct subnet mask for the client determine all IP addresses that the DHCP server should not distribute to the client, reserve some fixed IP addresses for the lease period that determines the IP address, etc., the default value is 8 days, and in general, the utilization period should be equal to the average active time of the client on the subnet. For example: (if the client is a desktop computer that rarely shuts down, the ideal period can be longer than 8 days, and if the client is a mobile device that often leaves the network or moves between subnets, the period can be less than 8 days).

Install the DHCP service

The steps to build a DHCP service in a domain environment using Windows server 2016 are as follows

1. Add roles and featur

two。 Select the installation type and target server

3. Add the DHCP Server role

Introduction to 4.DHCP Server

5. Confirm the installation selection

6. Installation result

7. Completed configuration

After installation, if the DHCP server needs to be authorized in the Windows domain environment, authorization is a security precaution to ensure that only authorized DHCP servers can assign IP addresses in the network.

(1) Click the Notification button of the server manager, and select finish DHCP configuration from the expanded menu.

(2) in the description window of the Post-installation configuration Wizard of DHCP, click the next button.

(3) in the "Authorization" window, select the "use the following user credentials" radio button and click the "submit" button. It should be noted that enterprise administrator privileges are required to authorize the DHCP server.

(4) after the authorization is completed, the completion information is displayed in the "Summary" window, and click "close" button.

New scope

(1) create a new scope

Open the DHCP console, expand the node tree in the left pane, right-click "IPV4", and select "New scope" from the pop-up shortcut menu

(2) Click the "next" button in the wizard page, in the "function domain name" dialog box, enter a name, in this case enter "bdqn".

(3) enter IP address range

Enter the start IP address and end IP address in the IP address range dialog box, and click the next button

(4) add exclusion

In the add exclusions and delays dialog box, enter a range of IP addresses that the server does not assign.

(5) specify the term of lease

In the Lease term dialog box, enter the lease period for the IP address assigned by DHCP, which defaults to 8 days, and click the next button.

(6) configure DHCP options

In the configure DHCP options dialog box, select the No, I want to configure these options later radio button, and click the next button

(7) complete the new scope

In the completing the New scope Wizard dialog box, click the finish button. =, complete the creation of the scope.

Activate scope

The newly created scope is now displayed as unavailable in the DHCP console and needs to be activated to provide IP address assignment. Right-click the scope and select activate from the pop-up shortcut menu

Configure client retention

You can choose to reserve certain IP addresses in the DHCP scope to permanently lease computers or devices on the network, and reservations should be created only for devices on the network that are DHCP-enabled and must be reserved for a specific purpose. The specific steps for creating a scope reservation are as follows

(1) create a new reservation

(2) enter retention information

(3) verify the IP address obtained by the target machine

Configure server options

In the Server options dialog box, select 006DNS Server, enter the IP address of the DNS server, click the add button, and then click OK to complete the configuration.

Configure the DHCP client

To view the address lease information, enter CMD key + R to open the window and enter ipconfig ipconfig/all to view

Use the DHCP console to see how many clients have obtained IP addresses from the server

Backup and restore DHCP services

Back up the DHCP database

Restore DHCP database

The system prompts you to stop and restart the service. Click the Yes button.

After the restore is successful, the new DHCP will directly use the original configuration information, which reduces the configuration information and speeds up the recovery speed.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report