Windows-Server 2016 DHCP Role Installation with GUI and PowerShell: Schritt-für-Schritt-Anleitung.
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 Und 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, Wann Servermanager opens click Add roles and features;
2. Für Installation Type, klicken Nächste;
3. Für Server Selection, select your server and click Nächste;
4. Für Server Roles, wählen DHCP Server role;
5. Klicken Sie im Popup-Fenster auf Funktionen hinzufügen;
6. Klicken Nächste;
7. Für Merkmale, klicken Nächste;
8. Für DHCP Server, klicken Nächste;
9. Für Confirmation, klicken Installieren;
10. Installation begins;
11. Wenn vollständig, klicken Schließen;
12. Klicken Die yellow triangle in Server Manager, und klicken Complete DHCP configuration;
13. Für Beschreibung, klicken Nächste;
14. Für Authorization, klicken Commit (also you may select the option Skip AD authorization and do authorization from DHCP console);
15. Für Zusammenfassung, klicken Schließen (you must see Erledigt twice);
16. Laufen Die DHCP console from the apps list;
Mit PowerShell:
- Laufen PowerShell als Administrator;
2. Install DHCP Role;
Add-WindowsFeature DHCP
3. Install DHCP console;
Add-WindowsFeature RSAT-DHCP
4. For DHCP authorization enter;
Add-DHCPServerInDC
5. After that go to Servermanager. Klicken Die 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