APPENDIX: Example Microsoft DHCP Server Configuration Used for Testing
Use Microsoft PowerShell CLI to implement the DHCP server configuration for the three example VLANs used for testing:
# enable Ping to DHCP server for connection debugging netsh advfirewall firewall add rule name="Allow ICMPv4" protocol=icmpv4:8,any dir=in action=allow Install-WindowsFeature DHCP -IncludeManagementTools netsh dhcp add securitygroups Restart-Service dhcpserver # When using AD you must add the DHCPs server to the AD by it's static ipaddress # Add-DhcpServerInDC -DnsName DHCP1.example.com -IPAddress 192.168.122.11 # Get-DhcpServerInDC Add-DhcpServerv4Scope -Name "VLAN1033" -StartRange 10.33.33.10 -EndRange 10.33.33.250 -SubnetMask 255.255.255.0 Set-DhcpServerv4OptionValue -ScopeId 10.33.33.0 -OptionId 3 -Value "10.33.33.1" Set-DhcpServerv4OptionValue -ScopeId 10.33.33.0 -OptionId 6 -Value "8.8.8.8", "9.9.9.9" Add-DhcpServerv4Scope -Name "VLAN1088" -StartRange 10.88.88.10 -EndRange 10.88.88.250 -SubnetMask 255.255.255.0 Set-DhcpServerv4OptionValue -ScopeId 10.88.88.0 -OptionId 3 -Value "10.88.88.1" Set-DhcpServerv4OptionValue -ScopeId 10.88.88.0 -OptionId 6 -Value "8.8.8.8", "9.9.9.9" Add-DhcpServerv4Scope -Name "VLAN1099" -StartRange 10.99.99.10 -EndRange 10.99.99.250 -SubnetMask 255.255.255.0 Set-DhcpServerv4OptionValue -ScopeId 10.99.99.0 -OptionId 3 -Value "10.99.99.1" Set-DhcpServerv4OptionValue -ScopeId 10.99.99.0 -OptionId 6 -Value "8.8.8.8", "9.9.9.9" # define Fabric loopback scope that is disabled to prevent lease handout # and using what is reported via junos "relay-option-82 server-id override" Add-DhcpServerv4Scope -Name "Fabric LoopbackIPs" -StartRange 172.16.192.1 -EndRange 172.16.223.254 -SubnetMask 255.255.224.0 -State InActive # allow DHCP-clients to change previously from assigned VLAN to new VLAN # (helps in Wi-Fi Roaming to new buildings/SSID’s) Set-ItemProperty -Path "HKLM:\System\CurrentControlSet\Services\DhcpServer\Parameters" -name "DhcpFlagSubnetChangeDHCPRequest" -value 1