ISC Linux dhcpd config for Aerohive Vendor Specific DHCP options

  • 1
  • Idea
  • Updated 2 years ago
I recently received a refurbished AP330 on an RMA, and was surprised when it did not find our on-premise Hivemanager via DHCP option 225 (AerohiveHiveManagerDNS) or 226 (HM IP). On contacting support, they informed me that the latest versions of HiveOS use DHCP option 43 (vendor specific options) with sub-options 225 and 226. Support had documentation on how to configure the new (corrected) options an a Microsoft DHCP server, but we run dhcpd on CentOS in our deployment, so I needed to translate to ISC dhcpd.conf syntax.
I saw several related posts in the community, but none that came back with specific syntax for easy copy-paste.
Photo of dmacduff


  • 2 Posts
  • 1 Reply Like

Posted 2 years ago

  • 1
Photo of dmacduff


  • 2 Posts
  • 1 Reply Like
Here is what I came up with that is working for the "new" up-to-date AP. I put these in global options. Obviously, not all of the documented options need to be used.
# New DHCP vendor specific option configs
option space AEROHIVE;
option AEROHIVE.HMString code 225 = { string };
option AEROHIVE.HMIP code 226 = ip-address;
option AEROHIVE.SLSString code 227 = { string };
option AEROHIVE.SLSIP code 228 = ip-address;
option AEROHIVE.PPSKServerIP code 229 = ip-address;
option AEROHIVE.RADIUSServerIP code 230 = ip-address;
option AEROHIVE.RADIUSAccountingServerIP code 231 = ip-address;
option AEROHIVE.BackupHMString code 232 = { string };
option AEROHIVE.BackupHMIP code 233 = ip-address;
class "Aerohive" {
        match if option vendor-class-identifier = "AEROHIVE";
        vendor-option-space AEROHIVE;
        option AEROHIVE.HMString = "";
        option AEROHIVE.HMIP;
# Old DHCP site specific options, left in for APs that are not up-to-date.
option AerohiveHiveManagerDNS code 225 = { string };
option AerohiveHiveManagerDNS "";
option AerohiveHiveManagerIP code 226 = ip-address;
option AerohiveHiveManagerIP;
Photo of Mike Kouri

Mike Kouri, Official Rep

  • 1030 Posts
  • 271 Reply Likes
Thank you for sharing your settings; I am certain that they will be useful to other Aerohive customers!