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

Harald Dunkel harald.dunkel at aixigo.de
Fri Apr 27 07:29:39 BST 2018


On 4/26/18 2:50 PM, Geert Stappers wrote:
> On Thu, Apr 26, 2018 at 12:24:56PM +0200, Harald Dunkel wrote:
>>
>> maybe I am too blind to see, but apparently something like
>>
>> 	dhcp-range=em1,10.0.0.10,10.0.0.254,12h
>> 	dhcp-range=em2,10.0.1.10,10.0.1.254,12h
>>
>> is not mentioned in the man page. Is it possible that the
>> interface part was lost?
>>
> 
> range 10.0.0.10...10.0.0.254 is for interface in that range
> range 10.0.1.10...10.0.1.254 is for interface in that range
> 

The interface "em1" has the IP address 10.0.0.2, i.e. it is not
in this range. Same goes for em2.

I would guess that dnsmasq looks at the netmask in this case?


Regards
Harri



More information about the Dnsmasq-discuss mailing list