[Dnsmasq-discuss] dhcp option 43 question
Simon Kelley
simon at thekelleys.org.uk
Thu Oct 9 14:58:04 BST 2014
On 06/10/14 16:30, AJ Weber wrote:
>>Try either dhcp-option=vendor:,1,ip.ip.ip.ip
>>or dhcp-option=vendor:,1,http://fqdn:8080/inform
>>Refer --dhcp-option
> http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html for details
>
> OK, so I'm still confused. Is it assumed that if I use
> dhcp-option=vendor... that it is option-code 43 (because we've specified
> a vendor-specific option)? I don't exactly understand how your
> recommendation maps back to the examples given in that reference webpage.
>
> BTW: On that webpage, it would appear that the vendor string I want to
> use is "ubnt", right? So in order to not send this option to all my
> other dhcp clients, I would use "dhcp-option=vendor:ubnt,..." right?
>
> Thanks again for the help!
> -AJ
That's pretty much it:
dhcp-option=vendor:ubnt,1,ip.ip.ip.ip
Will send the IP address is option number 1, encapsulated _inside_ and
option 43, when the client tells the server that its vendor class is "ubnt".
That should do exactly what you want.
Cheers,
Simon.
More information about the Dnsmasq-discuss
mailing list