Configure DHCP Server on Windows Server 2022 + Configure DHCP Relay
Installation
Go to server manager then select Add Roles and Feature
Go to server manager then click Complete DHCP setup
Configuration
Go to server manager again, then click DHCP
Right click on the IPv4 > New Scope
Set the IP address range and subnet mask. In most cases I do skip some numbers to be exluded in the exlussion to preserve it for special use (let's say static addressing in that subnet).
Put start IP address and end IP address then click Add, then Next
Set the lease time, as this is just a home lab, I don't want short lease time to prevent IP address change to often
WINS is a legacy technology for netbios name resolution, but I will put the DC IP address, just to be safe and complete.
Final step, activate the scope, then finish.
Since I am using MikroTik for the Labs network, I will create a DHCP relay so clients get IP address from the DHCP server located in the domain controller.
ip dhcp-relay add dhcp-server=10.10.17.135 interface=ether2-LAB-Client local-address=192.168.17.1 name=KumanLabs-Clients disabled=no
See if client can get DHCP from the server

Post a Comment for "Configure DHCP Server on Windows Server 2022 + Configure DHCP Relay"
Post a Comment