Set up DHCP service provides the client ip address in the Windows Sever2016

Windows server is Microsoft's server operating system in 2003, April 24 launch of Windows, which is the core of Microsoft Windows Server System (WSS), each with its Windows Server are home (workstation) version of the corresponding (except 2003 R2).
Windows server2016 versions Download:
https://blog.csdn.net/liyuming566/article/details/82634202
the DHCP service is the Dynamic Host Configuration Protocol is a local area network protocol. Controlled by the server refers to the range of IP addresses, it can automatically obtain an IP address and subnet mask assigned by the server when the client logs server. First, DHCP server must be a computer with a Windows 2000 Server / Advanced Server system; Secondly, as the DHCP server computer to install TCP / IP protocol, and set a static IP address, subnet mask, default gateway, etc. content.

aims:

Use Windows Server2016 successfully constructed DHCP server and client successfully allocate dynamic ip (or can be reserved in advance to get a good static ip)

First, the server system constructed using the DHCP server Server2016

First, VM14 build Server2016 virtual environment (specifically set up process with Windws), specifically the installation process, see:https://blog.csdn.net/weixin_45409343/article/details/97135709
After installation is complete open the virtual machine, as shown:
Here Insert Picture Description
After successful entry Server2016 system, open "Server Manager"
Here Insert Picture Description
after open "Server Manager" in the home page click on "Add roles and features" in Figure:
Here Insert Picture Description
Then follow the prompts to complete the DHCP to build the order shown:
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description

Here Insert Picture Description

Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Once installed, designated by the "Change adapter settings" to a specific server static ip, as shown:
Here Insert Picture Description
Here Insert Picture Description
After you specify a static ip, click the Start menu bar to enter the DHCP server is installed, as shown:
Here Insert Picture Description
Then, in the Server drop-down menu bar found under IPV4, and right click and choose "New scope" specific figure:
Here Insert Picture Description
then established according to prompts to complete the scope, as shown in step:
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
to build here a DHCP server is over, the next step is to get the client to use the server assignment dynamic ip.

Second, use the client to obtain a DHCP-assigned dynamic ip

First, turn on the client (and make sure that the client network adapter is in host mode only)
Here Insert Picture Description
Right Start menu bar, select "Run" and type cmd, bring up the "Command Prompt", then enter "ipconfig / renew" (reacquisition ip) can successfully obtain a DHCP-assigned ip Figure:
Here Insert Picture Description
Here Insert Picture Description

Third, for the client to get fixed static ip

Right-click on the reservation completed before the DHCP server, select "New Reservation" Figure:
Here Insert Picture Description
In the New Reservation window, enter the desired frame MAC address and destination address ip client retention, as:
Here Insert Picture Description
How does the client through query MAC address? Before the client has obtained the dynamic ip DHCP server distribution, we can enter the "arp -a" query, as shown in the command prompt:
Here Insert Picture Description
The MAC address is copied into the text box, and click OK. Then, return to the client, type "ipconfig / release" at the command prompt release ip address of the machine, after completion, enter "ipconfig / renew" re-obtain a new static ip, as shown:
Here Insert Picture DescriptionHere Insert Picture Description

Guess you like

Origin blog.51cto.com/14449535/2425998