Results 1 to 10 of 10
  1. #1
    Master Untangler
    Join Date
    Dec 2017
    Posts
    112

    Default Dhcp option 43 and 60

    What is the optimal way of adding in the dhcp option 43 and 60. I am using an Aruba access point and Aruba requires the 43 to contain the controller address and dhcp option 60 to be the vendor specific ID.

    Having a terrible time finding the applicable syntax on those.

  2. #2
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,389

    Default

    I've never done 60, but 43 works. I use it for Unifi gear.

    Just add it in the DHCP option section under the appropriate interface. value is simply 43,0.0.0.0

    The only rub is no spaces. I suspect the 60 works just the same way.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  3. #3
    Untangler
    Join Date
    Jun 2018
    Posts
    74

    Default

    What does adding 43 do for Unifi?

  4. #4
    Master Untangler
    Join Date
    Dec 2017
    Posts
    112

    Default

    With 60 since it’s a string do you need quotes at all around the value? “ArubaAP” or ‘ArubaAP’
    Last edited by flynhawaiian; 07-14-2021 at 07:52 AM.

  5. #5
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,389

    Default

    Quote Originally Posted by flynhawaiian View Post
    With 60 since it’s a string do you need quotes at all around the value? “ArubaAP” or ‘ArubaAP’
    As I said, I don't know... I haven't used Aruba equipment, nor have I configured Option 60.

    Given what I've seen on a quick google you'll not be able to use the option settings in the UI and instead will have to manually configure DNSMasq.

    https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html
    http://www.azacamis.com/2013/05/dnsm...dor-class.html

    This is not a normal configuration, and will not be easy.

    Option 43 is a simple thing, Option 60 is not apparently.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  6. #6
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,389

    Default

    Quote Originally Posted by djrees View Post
    What does adding 43 do for Unifi?
    https://help.ui.com/hc/en-us/article...k-Applications

    Unifi supports two methods of proper controller location, two methods that don't work on black magic or proprietary mechanisms.

    DNS, where each unifi device slaps unifi. on the front of whatever the DHCP server hands out as a DNS suffix and looks for a DNS record of that name to find the controller.

    And more recently they added support for DHCP Option 43, where the DHCP server simply broadcasts an IP address via that option to tell the devices where the controller lives.

    The former is really easy to do on Untangle if you know how DNS works. On Untangle the DNS method is global, providing Unifi configuration details to potentially every network Untangle services. The latter must be configured on each DHCP scope, but is comparatively easier to do as it's a one line configuration with direct results.

    I use both depending on what's easier in a given environment.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  7. #7
    Master Untangler
    Join Date
    Dec 2017
    Posts
    112

    Default

    When you did option 43 did you use the hex code for the ip?

  8. #8
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,389

    Default

    Quote Originally Posted by flynhawaiian View Post
    When you did option 43 did you use the hex code for the ip?
    Nope, it's just 43,ip.ad.dr.es
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  9. #9
    Untangler
    Join Date
    Oct 2017
    Posts
    38

    Default

    Quote Originally Posted by sky-knight View Post
    Nope, it's just 43,ip.ad.dr.es
    Is this just for the controller or for the APs also?

    Thanks

  10. #10
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,389

    Default

    Quote Originally Posted by DWomack View Post
    Is this just for the controller or for the APs also?

    Thanks
    Both? The Unifi gear that gets IP addressing from the DHCP service gets that option, and uses it to find the controller.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2