<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi Yuki,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">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.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Example:</p>
<p style="margin-top:0;margin-bottom:0">dnsmasq.conf contains "interface=eth0"</p>
<p style="margin-top:0;margin-bottom:0">eth0: <span>inet 192.168.1.1/24</span></p>
<p style="margin-top:0;margin-bottom:0"><span></span><span style="font-size: 12pt;">Then it would default to dhcp-range 192.168.1.2-192.168.1.254</span></p>
<p style="margin-top:0;margin-bottom:0"><span style="font-size: 12pt;"><br>
</span></p>
<p style="margin-top:0;margin-bottom:0">This without setting the dhcp-range parameters in the config file.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Br,</p>
<p style="margin-top:0;margin-bottom:0">Fredrik</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Från:</b> Yuki Nisiwaki <uckey.1067@gmail.com><br>
<b>Skickat:</b> den 18 maj 2018 15:15<br>
<b>Till:</b> Lindgren Fredrik<br>
<b>Kopia:</b> dnsmasq-discuss@lists.thekelleys.org.uk<br>
<b>Ämne:</b> Re: [Dnsmasq-discuss] dnsmasq dhcp range</font>
<div> </div>
</div>
<meta content="text/html; charset=utf-8">
<div>
<div>
<div dir="auto">Hi </div>
<div dir="auto"><br>
</div>
<div dir="auto">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
<a href="http://128.0.0.0/1" id="LPlnk588045" class="OWAAutoLink" previewremoved="true">
128.0.0.0/1</a> and <a href="http://0.0.0.0/1" id="LPlnk125294" class="OWAAutoLink" previewremoved="true">
0.0.0.0/1</a> to achieve same thing.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Regards</div>
<div dir="auto"><br>
</div>
<div dir="auto">Yuki Nishiwaki </div>
<br>
<div class="x_gmail_quote">
<div>On Fri, May 18, 2018 at 21:41 Lindgren Fredrik <<a href="mailto:Fredrik.Lindgren@tieto.com" id="LPlnk753355" class="OWAAutoLink" previewremoved="true">Fredrik.Lindgren@tieto.com</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div id="x_m_7814922838199390876divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0; margin-bottom:0">Hi,</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">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?</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Br,</p>
<p style="margin-top:0; margin-bottom:0">Fredrik</p>
</div>
</div>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank" id="LPlnk447368" class="OWAAutoLink" previewremoved="true">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" rel="noreferrer" target="_blank" id="LPlnk275777" class="OWAAutoLink" previewremoved="true">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</body>
</html>