Skip to main content
BytesProbe
Probe. Diagnose. Secure.

DHCP Option 43 for wireless controllers

What the hexadecimal payload actually encodes, how type-length-value works, and the differences between Cisco, Aruba and Ruckus.

Run the check

A wireless access point arriving on a network has to find its controller before it can do anything useful. DHCP Option 43 is one of the standard ways to tell it where that controller is: the DHCP server hands the address over in the same reply that gives the access point its own IP configuration.

The difficulty is that Option 43 is not a field with an agreed meaning. It is a vendor-specific option, which means the DHCP standard reserves the space and leaves the contents entirely to the vendor. Two manufacturers can put completely different bytes in the same option, and the only way to know what yours expects is to follow their documentation.

Type-Length-Value

Most vendors encode the payload as TLV: a sub-option type, a length, and then the value itself, all in hexadecimal.

f1 04 c0 a8 0a 05
^^ ^^ ^^^^^^^^^^^
|  |  value: four bytes, the controller address
|  length: 4 bytes
sub-option type: 0xf1 (241), Cisco's WLC sub-option

Reading the value back: c0 is 192, a8 is 168, 0a is 10, 05 is 5. So 192.168.10.5.

More than one controller

Additional controllers are appended as more four-byte addresses, and the length field covers all of them together:

f1 08 c0 a8 0a 05 c0 a8 0a 06
   ^^ 8 bytes: two addresses
      192.168.10.5    192.168.10.6

The length is in bytes, not addresses. Two controllers is 8, three is 12. Getting this wrong is the single most common mistake, and the symptom is an access point that ignores the option entirely.

Vendor differences

Cisco (AireOS and IOS-XE wireless)

Sub-option 0xf1, followed by the length in bytes and the controller management addresses in hex, as above. Cisco also requires that the DHCP scope sets Option 60, the vendor class identifier, so the DHCP server can tell which devices should receive this payload — typically Cisco AP c1140 or similar depending on model.

Aruba (HPE)

Aruba instead expects the controller address as a plain ASCII string, not as TLV-encoded binary. The DHCP server sends the address as text:

192.168.10.5

Aruba also uses Option 60 with the vendor class ArubaAP. Because the format is a string rather than TLV, a converter built for Cisco's format will produce something an Aruba AP cannot use.

Ruckus (CommScope)

Ruckus SmartZone and ZoneDirector use their own sub-option with a string payload that includes a prefix and the controller address, for example a RuckusAP vendor class with the address supplied in the vendor specific option. As with the others, the detail matters and comes from their documentation rather than from convention.

The general rule

Check the vendor's current documentation for the model you have. Option 43 formats differ not only between vendors but sometimes between product lines from the same vendor, and a payload copied from a forum post for a different model is a common cause of hours lost.

Configuring the DHCP server

Windows Server

Define a vendor class matching the access point's Option 60 value, then configure Option 43 under that class so only those devices receive it. Setting Option 43 at scope level without a vendor class sends the payload to every client on the subnet, including printers and workstations that have no idea what to do with it — usually harmless, occasionally not.

Cisco IOS DHCP

ip dhcp pool AP-POOL
 network 192.168.20.0 255.255.255.0
 default-router 192.168.20.1
 option 43 hex f104c0a80a05
 option 60 ascii "Cisco AP c1140"

Note the hex string is written with no spaces or separators.

ISC DHCP / Kea

option space cisco-ap;
option cisco-ap.controller code 241 = array of ip-address;

class "cisco-ap" {
  match if option vendor-class-identifier ~~ "^Cisco AP";
  vendor-option-space cisco-ap;
  option cisco-ap.controller 192.168.10.5;
}

ISC's syntax can express the address directly rather than requiring hand-assembled hex, which removes a whole class of error.

Building the payload

The DHCP Option 43 converter assembles the hex for Cisco WLC and Ruckus SmartZone, showing the sub-option and length separately so you can check the structure rather than trusting a string. Confirm each part against your vendor's documentation before deploying it.

When it does not work

The access point never contacts the controller. Check Option 60 first. If the vendor class does not match, the DHCP server never sends Option 43 at all, and the access point has nothing to ignore.

The length byte is wrong. Count again, in bytes, including every address. A malformed TLV is usually discarded silently.

The address is right but unreachable. Option 43 only delivers an address; it does not create a path to it. If the access point is on a different VLAN from the controller, routing and any firewall between them still has to permit the discovery and control protocols. The port checker is for testing reachability from the public internet, so for an internal path use a tool on the same network.

Another discovery method is winning. Access points typically try several: a controller address stored from a previous deployment, DNS discovery via a name such as CISCO-CAPWAP-CONTROLLER.example.com, broadcast on the local subnet, and DHCP Option 43. A stale stored address can take precedence over the one you are supplying. Clearing the access point's configuration removes that variable.

If you are using DNS-based discovery as a fallback, check the name resolves as intended with the DNS lookup tool.

More in the guides index.