OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • DHCP vendor option Unifi controller
« previous next »
  • Print
Pages: [1]

Author Topic: DHCP vendor option Unifi controller  (Read 2611 times)

pmhausen

  • Hero Member
  • *****
  • Posts: 2533
  • Karma: 225
    • View Profile
DHCP vendor option Unifi controller
« on: October 23, 2020, 10:41:05 am »
Hi all,

I would like to serve a custom option to my LAN, option 43 (vendor specific), hex value 0x0104d91d2d4d.
In isc-dhcpd this can be done like so:
Code: [Select]
option vendor-encapsulated-options 01:04:d9:1d:2d:4d;
Unfortunately the UI does not offer hex as a method to enter values. Am I missing something?

Thanks,
Patrick
Logged
Supermicro A2SDi-4C-HLN4F mainboard and SC101F chassis
16 GB ECC memory
Crucial MX300 275 GB SATA 2.5" plus
Crucial MX300 275 GB SATA M.2 (ZFS mirror)
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

mimugmail

  • Hero Member
  • *****
  • Posts: 6295
  • Karma: 432
    • View Profile
Re: DHCP vendor option Unifi controller
« Reply #1 on: October 23, 2020, 11:22:40 am »
String should do it when encoded:
https://forum.opnsense.org/index.php?topic=14593.msg66794#msg66794
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

pmhausen

  • Hero Member
  • *****
  • Posts: 2533
  • Karma: 225
    • View Profile
Re: DHCP vendor option Unifi controller
« Reply #2 on: October 23, 2020, 11:46:04 am »
With the colons or without? Do you know?
Logged
Supermicro A2SDi-4C-HLN4F mainboard and SC101F chassis
16 GB ECC memory
Crucial MX300 275 GB SATA 2.5" plus
Crucial MX300 275 GB SATA M.2 (ZFS mirror)
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

mimugmail

  • Hero Member
  • *****
  • Posts: 6295
  • Karma: 432
    • View Profile
Re: DHCP vendor option Unifi controller
« Reply #3 on: October 23, 2020, 12:08:16 pm »
Not in mind, I usually do Unify with a static dns which also works
Logged
Twitter: mimu_muc
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

pmhausen

  • Hero Member
  • *****
  • Posts: 2533
  • Karma: 225
    • View Profile
Re: DHCP vendor option Unifi controller
« Reply #4 on: October 23, 2020, 12:22:25 pm »
Works with "01:04:D9:1D:2D:4D" - just for the record.

I did not think of just trying "string". In Cisco IOS the encoding is explicitly named "hex", so I thought it was a hex encoded binary value. Thanks!
« Last Edit: October 23, 2020, 01:16:20 pm by pmhausen »
Logged
Supermicro A2SDi-4C-HLN4F mainboard and SC101F chassis
16 GB ECC memory
Crucial MX300 275 GB SATA 2.5" plus
Crucial MX300 275 GB SATA M.2 (ZFS mirror)
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • DHCP vendor option Unifi controller
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2