Serveur Windows 2016 Installation du rôle DHCP avec GUI et PowerShell: Guide étape par étape.
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 et 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.
Avec interface graphique:
1. Start your system, quand Gestionnaire de serveur opens click Add roles and features;
2. Pour Installation Type, cliquez Suivant;
3. Pour Server Selection, select your server and click Suivant;
4. Pour Server Roles, sélectionner DHCP Server rôle;
5. Dans la fenêtre contextuelle, cliquez Ajouter des fonctionnalités;
6. Cliquez Suivant;
7. Pour Caractéristiques, cliquez Suivant;
8. Pour DHCP Server, cliquez Suivant;
9. Pour Confirmation, cliquez Installer;
10. L'installation commence;
11. When complete, cliquez Fermer;
12. Cliquez le yellow triangle in Server Manager, et cliquez Complete DHCP configuration;
13. Pour Description, cliquez Suivant;
14. Pour Authorization, cliquez Commit (also you may select the option Skip AD authorization and do authorization from DHCP console);
15. Pour Résumé, cliquez Fermer (you must see Fait twice);
16. Courir le DHCP console from the apps list;
Avec PowerShell:
- Courir PowerShell as 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 Gestionnaire de serveur. Cliquez le 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