Using DHCP
After installing the DHCP service and configuring scope(s) and option values, your DHCP service can issue IP configuration data to any client on the network. Any IP client you attach to the physical subnet can ask for and receive IP confirmation details. Since the DHCP protocol acts at the IP level, the protocol performs no authentication when any DHCP client uses the protocol to request IP configuration details.
In Configuring IP Addressing, you set a static IP address for SRV2
. In this recipe, you reconfigure this server to obtain a DHCP-based IP address (and options you specify in Configuring DHCP Scopes and Options).
Getting ready
You run this recipe on SRV2
after installing PowerShell 7 and after you have installed and configured DHCP (and have defined a new DHCP scope and associated options).
How to do it...
- Adding DHCP RSAT tools
Import-Module -Name ServerManager -WarningAction SilentlyContinue Install-WindowsFeature -Name RSAT...