DHCP Properties and Options at the Server, Protocol and Scope Level

Опубликовано: 30 Октябрь 2024
на канале: ShotokuTech
148
8

DHCP Properties and Options at the Server Protocol and Scope Level. Drawing out a little more detail after implementing the regional DHCP Failover servers at work, I delineate at what level the settings are applied.
At the Server level: Properties and Server Options.
At the Protocol level: IPv4 Failover and DNS management.
At the Scope level: The specific settings that apply to a site.

Sample scripts:
#Server level
Set-DhcpServerv4OptionValue -ComputerName TUS-DHCP1.aaco.local -OptionID 6 -Value "10.0.0.2","10.0.0.3"
Set-DhcpServerv4OptionValue -ComputerName TUS-DHCP2.aaco.local -OptionID 6 -Value "10.0.0.2","10.0.0.3"

#Scope level
Add-DhcpServerv4Scope -name "TUS" -description "Data" -StartRange 10.0.0.1 -EndRange 10.0.0.254 -SubnetMask 255.255.255.0 -State Active
Add-DhcpServerv4ExclusionRange -ScopeID 10.0.0.0 -StartRange 10.0.0.1 -EndRange 10.0.0.20
Set-DhcpServerv4OptionValue -OptionID 3 -Value 10.0.0.1 -ScopeID 10.0.0.0 -ComputerName TUS-DHCP1.aaco.local
Set-DhcpServerv4OptionValue -OptionID 46 -Value 0x8 -ScopeID 10.0.0.0 -ComputerName TUS-DHCP1.aaco.local

#Optional Scope level DNS
Set-DhcpServerv4OptionValue -ComputerName TUS-DHCP1.aaco.local -ScopeId 10.0.0.0 -OptionId 6 -Value "10.0.0.2"

#Reservation
Add-DhcpServerv4Reservation -ScopeId 10.0.0.0 -IPAddress 10.0.0.6 -ClientId "AA-BB-CC-EE-FF-01" -Description "TUS-PRINTER1"

More DHCP videos on my channel:
DHCP Failover Lab
   • DHCP Failover Lab  

DHCP Failover and Make the Hot Spare the Active Server
   • DHCP Failover and Make the Hot Spare ...  

The Sway presentation
https://sway.office.com/aL0SMAgLOTB2n...