Wireless Access

last person joined: 23 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

Using Option 43/60 for ZTP with Aruba IAP and isc-dhcpd

This thread has been viewed 2 times
  • 1.  Using Option 43/60 for ZTP with Aruba IAP and isc-dhcpd

    Posted Jul 15, 2017 03:55 AM

    Hi Everyone,

    I'm trying to get a isc-dhcpd to send the correct option43 and option 60 against a Aruba IAP however for some reason everything on the console get corrupted on the IAP when it get the messages from the DHCP and it does not get the full message. Does anyone have a working config for the IAP and with isc-dhcpd?

    My config is below and i've tried both text and string in the code.


    option space ArubaInstantAP;
    option ArubaInstantAP.InstantAP60 code 60 = { string };
    option ArubaInstantAP.InstantAP43 code 43 = { string };
    option ArubaInstantAP.InstantAP42 code 42 = { string };
    option local-encapsulation code 43 = encapsulate ArubaInstantAP;
    option ArubaInstantAP.InstantAP43 "<Folder>,<Airwave-IP>,<Airwave-psk>";
    option ArubaInstantAP.InstantAP60 "ArubaInstantAP";
    option ArubaInstantAP.InstantAP42 "0.se.pool.ntp.org";


    Thanks in advance
    /Rickard



  • 2.  RE: Using Option 43/60 for ZTP with Aruba IAP and isc-dhcpd

    EMPLOYEE
    Posted Jul 15, 2017 06:35 AM

    I have never deployed using isc-dhcp.  Do you have the console output?

     

    Below is the console output for a successful Option43/60 deployment:

     

    GOOD DHCP
    v0.9.9-pre) started
    Jan  1 00:00:31 udhcpc[2976]: send_discover: pkt num 0, secs 0
    Jan  1 00:00:31 udhcpc[2976]: Sending discover...
    [   43.151015] Kernel watchdog refresh ended on core 1.
    Jan  1 00:00:33 udhcpc[2976]: send_discover: pkt num 1, secs 512
    Jan  1 00:00:33 udhcpc[2976]: Sending discover...
    Jan  1 00:00:35 udhcpc[2976]: send_discover: pkt num 2, secs 1024
    Jan  1 00:00:35 udhcpc[2976]: Sending discover...
    Jan  1 00:00:37 udhcpc[2976]: No lease, forking to background.
    Jan  1 00:00:57 udhcpc[3165]: send_discover: pkt num 0, secs 6656
    Jan  1 00:00:57 udhcpc[3165]: Sending discover...
    Jan  1 00:00:58 udhcpc[3165]: send_selecting: pkt num 0, secs 6912
    Jan  1 00:00:58 udhcpc[3165]: Sending select for 10.220.85.147...
    Jan  1 00:00:58 udhcpc[3165]: Lease of 10.220.85.147 obtained, lease time 259200
    Jan  1 00:00:58 udhcpc[3165]: DHCP OPT 60 is not ArubaAP
     
    Jan  1 00:00:58 udhcpc[3165]: DHCP OPT 60 is ArubaInstantAP
     
    Jan  1 00:00:58 udhcpc[3165]: DHCP OPT 43, len: 43, buf: STORES:US:NY:8821,192.168.12.23,Aruba2example!
     
    Jan  1 00:00:58 udhcpc[3165]: ams-ip: 192.168.22.23, length of ams-key: 11
     
    Jan  1 00:00:58 udhcpc[3165]: DHCP OPT 42, len: 8, ip: 192.168.2.16
    [   70.059012] ip_time_handler: Got ip and packets on bond0 Started master election 35-0, rand 31
    [   79.423992] bonding: bond0: releasing backup interface eth1
    [   79.478381] ethernet_device_event: dev eth1 others: 9
    [   79.539550] ethernet_device_event: dev eth1 is down
    [   79.597063] ethernet_device_event: dev eth1 others: 8
    [   79.660543] ethernet_device_event: dev eth1 others: 13
    [   79.719150] ADDRCONF(NETDEV_UP): eth1: link is not ready
    [   79.782411] ethernet_device_event: dev eth1 is up
    10.220.85.147 255.255.255.0 10.220.85.254
    Compressing all files in the /etc/httpd directory...

    Have you seen the Instant Validated Reference Design guide chapter "Aruba Instant management using Aruba AirWave"?



  • 3.  RE: Using Option 43/60 for ZTP with Aruba IAP and isc-dhcpd

    Posted Jul 15, 2017 07:04 AM
    The console output gets corrupted when the device gets all of the option43 message and when you run "show dhcpc-options" it does not show the correct thing.

    Do you have an examplenconfig from when you did it?


  • 4.  RE: Using Option 43/60 for ZTP with Aruba IAP and isc-dhcpd

    EMPLOYEE
    Posted Jul 15, 2017 07:31 AM

    I don't have screenshots of the windows server I used.  I used the example from the Instant Validated Reference Design document.  Do you know what version of Instant you are using?



  • 5.  RE: Using Option 43/60 for ZTP with Aruba IAP and isc-dhcpd

    Posted Jul 15, 2017 08:09 AM
    Yes I used the design document, however ai think it's something with my linux dhcp-server (isc-dhcpd) and the lenght of the message in option 43.

    I'll update with the version later


  • 6.  RE: Using Option 43/60 for ZTP with Aruba IAP and isc-dhcpd

    Posted Jul 17, 2017 04:39 AM

    The version is 6.4.2.6-4.1.13, is there any bug in this release?