[Dnsmasq-discuss] doc issue: dhcp on multiple interfaces

Chris Novakovic chris at chrisn.me.uk
Thu Apr 26 13:07:25 BST 2018


On 26/04/2018 12:52, Harald Dunkel wrote:
> So it should be
> 
>     dhcp-range=tag:em1,10.0.0.10,10.0.0.254,12h
>     dhcp-range=tag:em2,10.0.1.10,10.0.1.254,12h
> 
> Or is it
> 
>     dhcp-range=set:em1,10.0.0.10,10.0.0.254,12h
>     dhcp-range=set:em2,10.0.1.10,10.0.1.254,12h

Assuming your intention is to restrict DHCP ranges to particular
interfaces, you should use "tag:".

> If I omit the "tag:" and "set:", which one is it?

That appears to be undefined behaviour, according to the man page. :)



More information about the Dnsmasq-discuss mailing list