Windows server
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).
DHCP Service
DHCP is the Dynamic Host Configuration Protocol service 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), see the specific installation process I first blog
: After installation is complete, open the virtual machine, as
successfully entered Server2016 system, open "Server Manager"
open after the "server Manager" on the home page click on the "Add roles and features" in Figure:
Then follow the prompts to complete the DHCP to build the order shown:
Once installed, designated by the "Change adapter settings" to a specific server static ip, as shown:
After you specify a static ip, click the Start menu bar to enter the DHCP server is installed, as shown:
Then, in the Server drop-down menu bar found under IPV4, and right click and choose "New scope" specific figure:
then established according to prompts to complete the scope, as shown in step:
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)
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:
Third, for the client to get fixed static ip
Right-click on the reservation completed before the DHCP server, select "New Reservation" Figure:
In the New Reservation window, enter the desired frame MAC address and destination address ip client retention, as:
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:
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: