Serwer Windows 2016 DHCP Role Installation with GUI and PowerShell: Przewodnik krok po kroku.
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 I 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.
Z graficznym interfejsem użytkownika:
1. Start your system, when Menedżer serwera opens click Add roles and features;
2. Dla Installation Type, trzask Next;
3. Dla Server Selection, select your server and click Next;
4. Dla Server Roles, select DHCP Server rola;
5. In the pop-up window click Dodaj funkcje;
6. Trzask Next;
7. Dla Cechy, trzask Next;
8. Dla DHCP Server, trzask Next;
9. Dla Confirmation, trzask Zainstalować;
10. Installation begins;
11. When complete, trzask Zamknąć;
12. Trzask . yellow triangle in Server Manager, and click Complete DHCP configuration;
13. Dla Opis, trzask Next;
14. Dla Authorization, trzask Commit (also you may select the option Skip AD authorization and do authorization from DHCP console);
15. Dla Streszczenie, trzask Zamknąć (you must see Zrobione twice);
16. Uruchomić . DHCP console from the apps list;
Z PowerShellem:
- Uruchomić 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 Menedżer serwera. Trzask . 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