Windows-server 2016 DHCP Role Installation with GUI and PowerShell: Step-by-Step Guide.
Dynamic Host Configuration Protocol (DHCP) is a client/server protocol that automatically provides an Internet Protocol (IP) host with its IP address and other related configuration information such as the subnet mask and default gateway. RFCs 2131 and 2132 define DHCP as an Internet Engineering Task Force (IETF) standard based on Bootstrap Protocol (BOOTP), a protocol with which DHCP shares many implementation details. DHCP allows hosts to obtain required TCP/IP configuration information from a DHCP server.
With GUI:
1. Start your system, when Server Manager opens click Add roles and features;
2. Voor Installation Type, klik Volgende;
3. Voor Server Selection, select your server and click Volgende;
4. Voor Server Roles, selecteren DHCP Server role;
5. In the pop-up window click Add Features;
6. Klik Volgende;
7. Voor Features, klik Volgende;
8. Voor DHCP Server, klik Volgende;
9. Voor Confirmation, klik Installeren;
10. Installation begins;
11. When complete, klik Dichtbij;
12. Klik the yellow triangle in Server Manager, en klik Complete DHCP configuration;
13. Voor Description, klik Volgende;
14. Voor Authorization, klik Commit (also you may select the option Skip AD authorization and do authorization from DHCP troosten);
15. Voor Samenvatting, klik Dichtbij (you must see Done twice);
16. Loop the DHCP console from the apps list;
With PowerShell:
- Loop PowerShell as administrator;
2. Installeren DHCP Role;
Add-WindowsFeature DHCP
3. Installeren DHCP troosten;
4. Voor DHCP authorization enter;
Add-DHCPServerInDC
5. After that go to Server Manager. Klik the yellow triangle, and click Complete DHCP configuration. For Description, click Next. For Authorization, select the option Skip AD authorization and click Commit;
6. Get all commands for DHCP in PowerShell;
Import-Module dhcpserver
Get-Command -Module dhcpserver