Wireless Access

last person joined: 13 hours ago 

Access network design for branch, remote, outdoor, and campus locations with HPE Aruba Networking access points and mobility controllers.
Expand all | Collapse all

Getting DHCP Option 43 to work with Juniper EX/SRX and Aruba

This thread has been viewed 3 times
  • 1.  Getting DHCP Option 43 to work with Juniper EX/SRX and Aruba

    Posted May 30, 2015 01:17 PM

    Hi,

     

    I was setting up a new 3400 Controller and was looking into using DHCP Option 43 for Aruba AP Controller Discovery. I found a great tech document discussing DHCP Option 43 when you are using Microsoft/Linux DHCP Server's but there is nothing out there discussing how to get it to work with Juniper.

     

    In our enviorment, we are using a Juniper EX3300 switch in Stack as our Office core switch and also as our DHCP server. I was able to get the DHCP Option 43 to work and I thought I would share it with you all.

     

    This is applicable to SRX Series firewalls running DHCP as well.

     

    Here is a command you would use to  configure option 43 on a Juniper:

     

    juniperswitch# set system services dhcp option 43 byte-stream "hexadecimal string"

     

    The "hexadecimal string" consits for three parts - Type + Length + Value.

     

    For Aruba or Cisco - the Type field is always - 0xf1.

     

    The Length field is the number of Controller Managememnt IP addresses multiplied by 4 in Hex. In our case there was only one Controller Management IP address so, the Length field is - 1 * 4 = 4 = 0x04.

     

    The Value field is the IP address of the Controller in Hex. In our case, the IP address was 10.0.192.25 which translates to 0x0a 0x00 0xc0 0x19.

     

    So the command you would add to your DHCP scope configuration is:

     

    juniperswitch# set system services dhcp option 43 byte-stream "0xf1 0x04 0x0a 0x00 0xc0 0x19"

     

    One other thing you may want to remember is to specify this DHCP option under the same DHCP scope/VLAN in which your AP's reside.

     

    Here is a Juniper KB document discussing what I have explained above for Cisco. But it works with Aruba as well.



  • 2.  RE: Getting DHCP Option 43 to work with Juniper EX/SRX and Aruba

    Posted May 31, 2015 01:00 AM

    Hi Anup.

     

    Published very usefull article. thanks :)