<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">Ease of Use from my side due to internal test environment where I work, where I have 1 command to stop/start remote instance.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
Can say that new clients (mac address never given ip from dnsmasq before) get the router entry that I removed from config before it did it's first request
<div><br>
</div>
<div>Br,</div>
<div>Fredrik<br>
<br>
<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> Dnsmasq-discuss <dnsmasq-discuss-bounces@lists.thekelleys.org.uk> för john doe <johndoe65534@mail.com><br>
<b>Skickat:</b> den 7 mars 2018 13:10<br>
<b>Till:</b> dnsmasq-discuss@lists.thekelleys.org.uk<br>
<b>Ämne:</b> Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On 3/7/2018 8:19 AM, Lindgren Fredrik wrote:<br>
> What I did to test this was to add "option:router,10.243.0.1" to a new option file.<br>
> <br>
> Which is re-read by dnsmasq<br>
> <br>
> <br>
> I start a dhclient that I'm testing with, output in console of dnsmasq indicate that router entry is part of response (also seen in dhcpdump of package)<br>
> <br>
> I stop the dhclient and remove the config file with this option and send SIGHUP to pid for dnsmasq<br>
> <br>
<br>
Why stopping dhclient and not releasing the lease?:<br>
<br>
$ dhclient -r <INT-NAME> && dhclient <INT_-NAME><br>
<br>
<br>
-- <br>
John Doe<br>
<br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
Dnsmasq-discuss@lists.thekelleys.org.uk<br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" id="LPlnk879828" previewremoved="true">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a>
<div id="LPBorder_GT_15204263494450.6450225027512473" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_15204263494430.8335740690862639" role="presentation" cellspacing="0" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="TextCell_15204263494440.7972386877925473" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_15204263494440.43857376423058625"></div>
<div id="LPTitle_15204263494440.557358137230578" style="top: 0px; color: rgb(0, 1, 255); font-weight: 400; font-size: 21px; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_15204263494450.7334559122706017" href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank" style="text-decoration: none;">Dnsmasq-discuss Info Page</a></div>
<div id="LPMetadata_15204263494450.7477814123778883" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: wf_segoe-ui_semibold, "Segoe UI Semibold", "Segoe WP Semibold", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
lists.thekelleys.org.uk</div>
<div id="LPDescription_15204263494450.7000891837191052" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: wf_segoe-ui_semibold, "Segoe UI Semibold", "Segoe WP Semibold", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
A list for discussion about the dnsmasq DNS and DHCP server. Configuration, bugs and development. To control spam, only subscribers are allowed to post to the list.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
</div>
</span></font></div>
</div>
</div>
</div>
</body>
</html>