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 6258 times)
Patrick M. Hausen
Hero Member
Posts: 6826
Karma: 573
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
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
mimugmail
Hero Member
Posts: 6766
Karma: 494
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
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Patrick M. Hausen
Hero Member
Posts: 6826
Karma: 573
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
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
mimugmail
Hero Member
Posts: 6766
Karma: 494
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
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Patrick M. Hausen
Hero Member
Posts: 6826
Karma: 573
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
Deciso DEC750
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