How is DHCP Option 43 configured on an AR

Option 43 is a vendor specific information option. If an AP and an AC are located on different network segments, the AP cannot discover the ACs through broadcast. To address this problem, configure Option 43 on the DHCP server to advertise AC's IP addresses to the AP.
The AR functions as the DHCP server and the AC's IP address is 192.168.22.1. The configuration of Option 43 is as follows:
- Based on the global address pool:
[Huawei] dhcp enable
[Huawei] ip pool huawei
[Huawei-ip-pool-huawei] network 192.168.100.0 255.255.255.0
[Huawei-ip-pool-huawei] gateway-list 192.168.100.1
[Huawei-ip-pool-huawei] option 43 sub-option 3 hex 31302E31302E31302E31 //Run the option 43 sub-option 3 ascii 192.168.22.1 command.
- Based on the interface address pool:
[Huawei] dhcp enable
[Huawei] interface gigabitethernet 1/0/0 //Enter the view of the interface connected to the AP.
[Huawei-GigabitEthernet1/0/0] ip address 10.10.10.10 24
[Huawei-GigabitEthernet1/0/0] dhcp select interface
[Huawei-GigabitEthernet1/0/0] dhcp server 43 sub-option 3 hex 31302E31302E31302E31 //Run the dhcp server option 43 sub-option 3 ascii 192.168.22.1 command.
If an Option 43 contains multiple AC IP addresses, the IP addresses are separated by commas (,). The ASCII value of commas (,) is 2C. For example, if the ACs' IP addresses are 192.168.22.1 and 192.168.22.2, run the option 43 sub-option 3 hex 3139322E3136382E3130302E322C3139322E3136382E3130302E33 or option 43 sub-option 3 ascii 192.168.22.1,192.168.22.2 command.

Scroll to top