Hi Yuki,

I don't want it to share all possible ip's (0.0.0.0/0) but rather share ip's 
from range set on interface.


Example:

dnsmasq.conf contains "interface=eth0"

eth0: inet 192.168.1.1/24

Then it would default to dhcp-range 192.168.1.2-192.168.1.254


This without setting the dhcp-range parameters in the config file.


Br,

Fredrik


________________________________
Från: Yuki Nisiwaki <uckey.1...@gmail.com>
Skickat: den 18 maj 2018 15:15
Till: Lindgren Fredrik
Kopia: dnsmasq-discuss@lists.thekelleys.org.uk
Ämne: Re: [Dnsmasq-discuss] dnsmasq dhcp range

Hi

I was the one who was trying to do but actually there is no magic code to 
specify full range but you can use multiple /1 dhcp-range 
128.0.0.0/1<http://128.0.0.0/1> and 0.0.0.0/1<http://0.0.0.0/1> to achieve same 
thing.

Regards

Yuki Nishiwaki

On Fri, May 18, 2018 at 21:41 Lindgren Fredrik 
<fredrik.lindg...@tieto.com<mailto:fredrik.lindg...@tieto.com>> wrote:

Hi,


Is there any way to configure dhcp of dnsmasq to use full ipv4 range 
(ip+netmask) of interface given in config file as it dhcp-range?


Br,

Fredrik

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk<mailto:Dnsmasq-discuss@lists.thekelleys.org.uk>
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to