[Dnsmasq-discuss] Re: DNSMASQ - multiple default routes, dependent
on address assigned?
Simon Kelley
simon at thekelleys.org.uk
Thu Nov 27 16:43:28 GMT 2008
richardvoigt at gmail.com wrote:
> What you probably want is something like:
>
> dhcp-range=net:radio-ethernet,etheropts,172.20.4.1,172.20.4.254,255.255.0.0,168h
> dhcp-range=net:radio-wireless,wifiopts,172.21.6.1,172.21.6.254,255.255.0.0,168h
> dhcp-range=net:ipod-wireless,wifiopts,172.21.7.1,172.21.7.254,255.255.0.0,168h
>
> which matches (using net:) tags set in the dhcp-host lines, and adds a
> new tag to control the options.
>
> Simon, is that possible, to both condition on one tag and add another?
Yes, that's fine. There's a limitation that you can only set one tag,
but that's not a problem here.
Cheers,
Simon.
More information about the Dnsmasq-discuss
mailing list