DHCP Option 52
Detailed Configuration
Please note, the following configuration assumes the systems are already configured following vendor deployment documentation.
Cisco IOS Switch: DHCP Server
configure terminal ipv6 dhcp pool [pool name] address prefix [IPv6-prefix] lifetime [TTL in seconds 5 to 4294967295 OR infinite] link-address [IPv6-prefix] vendor-specific [Vendor ID] suboption [number 1-65535] [IPv6 Address or ASCII text or HEX string *dependant on option used*] * For option 52 * suboption 52 [array of IPv6 Controller Addresses seperated by , or ; ] end
The above configuration assumes an interface has already been configured to answer DHCP requests.
Windows Server 2008 - 2012: DHCP Server
Open DHCP Manager
Right Click IPv6
Select "Set Predefined Options
From "Options Class" select "DHCP Standard Options" and click "Add"
In the "Option Type" window
- Enter a Name for the new Option (ie: capwap-ac-v6)
- Set the Data Type to "IPv6 Address"
- Enter the Code of "52"
- click "OK and "OK"
To assign the new option to a scope
- Expand IPv6 Scope
- Right Click "Scope Options"
- Select "Configure Options"
- In the Scope Options Window
- Available Options list - select option "00052 capwap-ac-v6"
- In the "New IPv6 address" field enter the MGMT IPv6 Addresses for the primary, secondary, tertiary controllers.
- Click Add
Linux ISC (makers of BIND) DHCP Server
Open "dhcpd6.conf
define the new option
option dhcp6.capwap-ac-v6 code 52 = [Controller IPv6 Addresses in an array seperated by , and line terminated by ; ]
Located the IPv6 Scope
option dhcp6.capwap-ac-v6 code 52 = [Controller IPv6 Addresses in an array seperated by , and line terminated by ; ]
Restart the DHCPv6 Service
service isc-dhcp-server6 restart