Option 43 does not work with ruckus r300 and Cisco C3750, IP is assigned to r300 but option 43 is not

  • 1
  • Question
  • Updated 2 years ago
Option 43 does not work with ruckus r300.

The following is the configuration on Cisco switch:
===================
!
ip dhcp pool alfa
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
dns-server 192.168.2.1
option 43 hex f104.c0a8.6464
!
Option 43 was configured according to this article: https://support.ruckuswireless.com/an...

If I issue "show ip dhcp bindinds" command on Cisco switch I can see that the connected R300 gets its IP:

Switch#show ip dhcp binding
IP address Client-ID/ Lease expiration Type
Hardware address
192.168.2.2 01e0.107f.3673.90 Mar 02 1993 12:35 AM Automatic
192.168.2.3 0100.21cc.d04d.4f Mar 02 1993 12:35 AM Automatic
Switch#

01e0.107f.3673.90 is R300 MAC address.

I am connected to the same subnet with my PC.
I connect to R300 via SSH session and check DHCP options:
Here's the output. As you can see DHCP option 43 is not set on R300.

OK
rkscli: get director
------ ZoneDirector Info ------
Primary Controller : n/a
Secondary Controller : n/a
DHCP Opt43 Code : 3
AP is in Stand-alone mode.
OK

What do you think is the issue here? I cannot deploy APs if this setting is not working.
Thank you for reply!
Photo of Matej G.

Matej G.

  • 4 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of Martin

Martin, Official Rep

  • 196 Posts
  • 41 Reply Likes
Hi Matej,

Please check the dhcp document.

The option 43 should be in hex and without the dots (.)
Photo of Matej G.

Matej G.

  • 4 Posts
  • 0 Reply Likes
Hi. I've checked the documentation and set up Cisco switch according to Ruckus document.

Cisco IOS will put dots in values, not me.

Here's how it is configured.

Switch(dhcp-config)#ip dhcp pool alfa
Switch(dhcp-config)#option 43 hex f104c0a86464
Switch(dhcp-config)#end

As you can see I've inputted the value without dots.

When I issue "show running" command on Cisco I get the following output for DHCP:

!
ip dhcp pool alfa
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
dns-server 192.168.2.1
option 43 hex f104.c0a8.6464
!

It's not me who places the dots. It works as designed.

Is this option 43 even working with r300?
(firmware version is: 9.8.1.0.99)
Photo of Keith Brown

Keith Brown

  • 2 Posts
  • 1 Reply Like
Try it this way and see how it works.
!
ip dhcp pool alfa
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
dns-server 192.168.2.1
option 43 ascii x.x.x.x
!
Photo of Martin

Martin, Official Rep

  • 196 Posts
  • 41 Reply Likes
Did you also exclude teh 192.168.2.1 otherwise that might give a problem as-well.
Photo of Michael Brado

Michael Brado, Official Rep

  • 1968 Posts
  • 275 Reply Likes
Decoding your ZD from the top, 192.168.100.100 is your IP address.

Example how to exclude addresses from your AP pool like this (ten from the bottom, 1 at the top):

!
ip dhcp excluded-address 192.168.2.1 192.168.2.10
ip dhcp excluded-address 192.168.2.254
!
ip dhcp pool ap-pool
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
dns-server 192.168.2.1
option 43 hex 030f3139322e3136382e3130302e313030
!

using the hex converter at
http://shimi.net/services/opt43/index...

Please test this on your c3750 and let us know. I'll update the translator on the
above referenced KBA if this works for you. Thanks.
Photo of Matej G.

Matej G.

  • 4 Posts
  • 0 Reply Likes
Hello.

Dhcp on 3750 is now configured as follows:

ip dhcp excluded-address 192.168.2.1 192.168.2.10
ip dhcp excluded-address 192.168.2.254
!
ip dhcp pool alfa
network 192.168.2.0 255.255.255.0
default-router 192.168.2.1
dns-server 192.168.2.1
option 43 hex 030f.3139.322e.3136.382e.3130.302e.3130.30

R300 is still not receiving option 43 setting.

If I connect to R300 I can see the following output:
------ ZoneDirector Info ------
Primary Controller : n/a
Secondary Controller : n/a
DHCP Opt43 Code : 3
AP is in Stand-alone mode.
OK
rkscli:

I have captured packets on my switch with wireshark and I can see in dhcp offer that my switch is sending out DHCP option 43. Switch offers option 43 to R300, but R300 does not accept or recognize it. (see attached image for more info).

My guess is that R300 does not recognize option 43 or that the calculated HEX value is wrong....
I don't see any other options....

Please advise!
Thank you.

Photo of DJensen999

DJensen999

  • 3 Posts
  • 2 Reply Likes
I was never able to get option 43 working as hex when connecting our Ruckus devices to Cisco gear. Using option 43 ascii works like a charm.

ip dhcp pool Ruckus
option 43 ascii 1.2.3.4
!
Photo of Matej G.

Matej G.

  • 4 Posts
  • 0 Reply Likes
Hmm, I've tried inputting ascii text and entered "1.2.3.4" but it does not work...

Just kidding, I didn't actually inputted 1.2.3.4 ;)

I am updating this thread with the following:
I've tried my above setup with 7055 instead of r300 and it worked. It accepts hex value for ZD and discovers ZD in the network.

R300 still does not work. There must be something really obvious wrong with current setup that I am overlooking....

I'll rebuild my whole setup and try everything again. I'll include 7055, r300 and 7372 to test everything out.

And just as a remark to Ruckus - APs could really use some debugging options in CLI.
Photo of Keith Brown

Keith Brown

  • 2 Posts
  • 1 Reply Like
I have and am currently using this setup on many models of Cisco gear.

!
ip dhcp pool WAP-MGT
network 10.59.123.0 255.255.255.0
default-router 10.59.123.1
option 43 ascii "10.55.122.205"
!

Cisco Routers
1800
2800
3800
6500
7200
7600

Cisco Switches
ip routing enabled
ME3400
ME3400G
C2960s
C3560
C3750

Works with These Ruckus ZF AP's
7321
7372
7363
7762
7782
7942
7982
7025
7055
T300
T301
R500
R600
R700
Photo of Eizens Putnins

Eizens Putnins

  • 107 Posts
  • 42 Reply Likes
I can confirm that VDA option definitely works with ZF7343, Zf7363, ZF7372, ZF7352, ZF7762, ZF7782, R300, R500, R600, R700 and with different DHCP servers (Microsoft, Linux, Mikrotik router, Cisco switch). Tested both with SCG and ZoneDirector (options are different for them).
Configuration is very different for different DHCP servers and documentationfor VDA configuration  is sparse. If it doesn't work -- check communication with server using wireshark to see what is really sent.
Hope it helps...
Photo of Martin

Martin, Official Rep

  • 196 Posts
  • 41 Reply Likes
To start with,
Please let us know which version of code is in the R300.
Then I will setup my R300 with the same code and my 3750 to test.

Regards
Martin
Photo of Eizens Putnins

Eizens Putnins

  • 107 Posts
  • 42 Reply Likes

Hello,

R300 we have  installed  with SCG 3.0.3.0.455,  it is bundled with current SCG 3.0 version 3.0.3.0.628.  

So R300 firmware is fine, and if it doesn't work  with a switch, it is not AP, but switch DHCP configuration.

I have to say that documentation about DHCP option configuration isn't enough, both from DHCP server vendors, and from AP vendors. There is a lot of comments on different forums, but they are not full in the best case, and often misleading, so youneed to make your own research every time when new DHCP server is used.

Hope it helps,

Eizens

Photo of Martin

Martin, Official Rep

  • 196 Posts
  • 41 Reply Likes
Eizens,

Thank you for the tips regarding DHCP servers.
I will ask the knowledge team to prepare some more examples on how to configure DHCP on different platforms for Ruckus APs

On topic:
As soon as we get the information from Matej, we will look how to resolve it.
Photo of Michael Brado

Michael Brado, Official Rep

  • 1968 Posts
  • 275 Reply Likes
Hello Community,

DHCP option 43 for APs to connect to ZD uses option code 03.

DHCP option 43 for APs to connect to SCG/vSCG uses option code 06.

Good example of SCG/vSCG info in KBA-3197: Configuring DHCP option 43 for SCG/vSCG on MS Server

https://support.ruckuswireless.com/answers/000003197

Good example (and explanation of different DHCP sub-code 03 or 06) for DHCP to ZD APs in
KBA-2022: Configure DHCP on Cisco or Juniper switch/router to direct APs to a ZoneDirector

https://support.ruckuswireless.com/answers/000002022