[Dnsmasq-discuss] dhcp option 43 question
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
> 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!
That's pretty much it:
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.
More information about the Dnsmasq-discuss