DHCP Via Windows Server Manager - Foren-Ken/tech-journal GitHub Wiki
Requirements:
- Windows Server Manager
- Available Server to become DHCP Server
Setup
- Enter the "Add Roles and Features Wizard"
- Select the target server to become a DHCP Server in "Server Selection"
- From "Server Roles" choose "DHCP Server
- Confirm the changes and restart the server.
- Return to the "Add Roles and Features Wizard" and select the domain controller.
- Head to Features > Remote Server Administration Tools > Role Administration Tools and add the feature "DHCP Server Tools".
Configuration
- Navigate to the "DHCP" button on the dashboard and near the top press "Complete DHCP Configurations".
- Right click the DHCP server in the DHCP tab, there should be "DHCP Manager" and click that.
- Right click "IPv4" and select new scope.
- Select any name and description choose next
- Select desired IP configuration and select next.
- Select any IP addresses to exclude, then press next.
- Define any amount of lease time.
- To define gateways, DNS, etc, press "Yes, I want to configure these options now" and press next.
- Define the gateway, press next.
- Define the DNS, often this is pre-filled, but can be done via IP and resolving domain names. Press next.
- Define any WINS Servers. Press next.
- If the scope should be active, select "Yes, I want to activate this scope now" and press next.
- If everything is good, select "Finish".
Basic Layout
All within the DHCP > Server Name > IPv4 > Scope:
The "Address Pool" shows the amount of addresses which are able to be assigned.
The "Address Leases" shows which addresses have been given out.
The "Reservations" shows any addresses within the Address Pool range but is chosen to not be leased.
The "Scope Options" contains information on items within the network, such as Router, DNS Server, and Domain Name.
The "Policies" is for any specific policies for the DHCP.
Usage
This item should work automatically. To confirm, get a workstation and release the old lease.
ipconfig /release
Now request a new lease.
ipconfig /renew
To confirm the DNS, DHCP, and domain name settings are all applied correctly. Use the following command:
ipconfig /all