Benutzer:MovGP0/Core Server/DHCP
Zur Navigation springen
Zur Suche springen
MovGP0 | Über mich | Hilfen | Artikel | Weblinks | Literatur | Zitate | Notizen | Programmierung | MSCert | Physik |
|
Dynamic Host Configuration Protocol (DHCP)
[Bearbeiten | Quelltext bearbeiten]Install-WindowsFeature DHCP -IncludeManagementTools
# add DHCP range
Add-DhcpServer4Scope "ScopeName" -StartRange 192.168.1.2 -EndRange 192.168.1.254 -SubnetMask 255.255.255.0 -Description "IP Scope for Nano Servers"
Get-DhcpServer4Scope
# exclude range for a given host
Add-DhcpServer4ExclusionRange -ComputerName "SomeServerName" -ScopeId 192.168.1.0 -StartRange 192.168.1.50 -EndRange 192.168.1.100
Get-DhcpServer4ExclusionRange
# add DHCP server in Active Directory Domain Controller
Add-DhcpServerInDc -DNSName "addc.local"
|}