08-14-2023 06:00 PM - edited 08-14-2023 06:21 PM
The DHCP option 43 is one of many methods for the RUCKUS AP to discover its controller.
This option is configured in the DHCP server and must be masked. Also, the vendor code and the length of the IP address must be specified in HEX.
RUCKUS vendor code:
- 06 for SmartZone
- 03 for Zone Director
Using this website you will quickly mask the IP address from IPV4 to dnsmasq values.
For example, let's mask the IP address 192.168.0.200 using the website: the final value to enter in your DHCP server is "060d3139322e3136382e302e323030"
How did they get to such a result?
Divide the IP Address: Start by splitting the IP address into its four individual parts: A.B.C.D.
Mask the decimal values: For each part, convert the decimal value to its corresponding hexadecimal representation. For instance:
Add Separators: Place "2e" (ASCII value for dot) between each pair of translated hex values.
Include Vendor Code and Length: Prefix the vendor code at the beginning (e.g., "06" for RUCKUS). Add the IP address length in bytes (e.g., "0d" for 13 bytes).
Note: The length is 13 bytes since each pair of characters equals one byte.
IP Address Translation: The IP address "192.168.0.200" transforms into the hexadecimal string "3139322e3136382e302e323030".
Combining Elements: Combine all the translated parts to form the final hexadecimal representation.
Example for the IP address "192.168.0.200":
Visit this post to learn other ways to provision RUCKUS APs with the IP address of their controllers.
05-13-2024 09:56 AM
Can you do 2 IP Addresses for redundant controllers when using DHCP Option 43?
05-13-2024 10:07 AM
Hi @Intralink , Yes you can. However, the number of Controller IPs you can include in this option has a restriction. For example, some DHCP server vendors do not allow this value to exceed 255 bytes.
Regards,
05-13-2024 10:34 AM
Thanks for the quick response!
Currently I only have one controller IP Address in the DHCP Option 43 hex code in my Sonicwall. I want to add the additional IP address for the second controller. The IPs for the controllers are (192.168.99.10 & 192.168.99.11) Do I need to do anything to separate the IPs in the hex code? Do I need to add 0x20 for a space between the 2 IP Addresses, or can I just leave it like I have it below? Is there a way to test if an AP knows about both controllers? I can ping both from an AP.
So this? 0x31; 0x39; 0x32; 0x2e; 0x31; 0x36; 0x38; 0x2e; 0x39; 0x39; 0x2e; 0x31; 0x30; 0x31; 0x39; 0x32; 0x2e; 0x31; 0x36; 0x38; 0x2e; 0x39; 0x39; 0x2e; 0x31; 0x31
Or this? 0x31; 0x39; 0x32; 0x2e; 0x31; 0x36; 0x38; 0x2e; 0x39; 0x39; 0x2e; 0x31; 0x30; 0x20; 0x31; 0x39; 0x32; 0x2e; 0x31; 0x36; 0x38; 0x2e; 0x39; 0x39; 0x2e; 0x31; 0x31
All of the APs are on the same subnet.
Also, the licenses from the “primary” controller will sync over to the “secondary” redundant controller when I configure the controller settings for smart redundancy, correct?
05-13-2024 11:43 AM
Hi @Intralink ,
This would vary from vendor to vendor. However, for Sonicwall DHCP option 43, we have a KB https://support.ruckuswireless.com/articles/000003431 that you can refer to. This doc says that Option Value (<IP1>, <IP2> etc.) should be a string converted to hex in "semicolon" separated characters, and not spaces. For more information, I would recommend referring to the specific vendor's user guide.
Once implemented, it can be tested by running AP CLI command "get scg". This would give you the IPs learnt using option 43 next to section "DHCP Option 43".
As for your question on licensing, the licenses of both active and standby are pooled together when you enable SmartRedundancy on ZD. More details on it's licensing concept can be found here - https://support.ruckuswireless.com/articles/000004832
Regards,