Configure a Linux dhcp server with option 43 to use with Zonedirector/Flexmaster
This was nowhere online and Ruckus' support docs only have instructions for Windows. Their support guy gave this to me and I'm passing it on for future generations flailing with this.
Using Redhat 6.3 and regular dhcpd that comes with it. This is the /etc/dhcpd/dhcpd.conf. Overwrite and restart dhcpd with 'service dhcpd restart' and voila!
##############################################################
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
# see 'man 5 dhcpd.conf'
#
#####
#Define a vendor option space globally for Ruckus
option space Ruckus;
#Sub option 3 is for Zone Director Discovery, which is comma separated IP address string.
option Ruckus.ZoneDirector code 3 = string;
#FM is option 1, it is URL in string format
option Ruckus.FMUrl code 1 = string;
####
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option domain-search "ruckus.local";
option domain-name-servers 192.168.1.1;
###To Match if AP sends "Ruckus CPE"
class "RuckusCPE" {
match if option vendor-class-identifier = "Ruckus CPE";
vendor-option-space Ruckus;
# Please edit the IP address(a.b.c.d) to match the Zone Director's IP . If you don't want to give zone director then remove the next line.
option Ruckus.ZoneDirector "a.b.c.d";
# Pleas edit XXXXXXX to provide the correct URL of FlexMaster, if you need to give the FlexMaster details to AP to be managed by FlexMaster.
option Ruckus.FMUrl "xxxxxxxxxxxxx";
}
# Some version of software on AP sends "Ruckus" instead of "Ruckus CPE". So I am repeating the same block below to match on "Ruckus"
class "Ruckus" {
match if option vendor-class-identifier = "Ruckus";
vendor-option-space Ruckus;
# Please edit the IP address(a.b.c.d) to match the Zone Director's IP . If you don't want to give zone director then remove the next line.
option Ruckus.ZoneDirector "a.b.c.d";
# Pleas edit XXXXXXX to provide the correct URL of FlexMaster, if you need to give the FlexMaster details to AP to be managed by FlexMaster.
option Ruckus.FMUrl "xxxxxxxxxxxxx";
}
range 192.168.1.10 192.168.1.100;
}
##############################################################