<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-ZA link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>I’m using dnsmasq on a Raspberry Pi as a DHCP and DNS server for my home network.  I switched to using the Pi as it boots fast and dnsmasq can start handing out IP addresses on my network quickly after a power failure (IP cameras, alarms system, etc).<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Network: 192.168.1.0/24<o:p></o:p></p><p class=MsoNormal>Range 1-99 static, defined in /etc/dnsmasq.d/reservations file<o:p></o:p></p><p class=MsoNormal>Range 100-250 dynamic<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>If I check my syslog though, I see many of my static devices requesting IP addresses every 60 seconds or so, suggesting their leases are only 120 seconds.  I’ve searched for the issue but the only hits I could find were related to windows machines looking for and autoconfig option (option 252).  While I’ve added that option, many of the requests are not coming from Windows machines anyway.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>dhcp-range=tag:!known,192.168.1.100,192.168.1.250,12h             #Dynamic devices<o:p></o:p></p><p class=MsoNormal>dhcp-range=192.168.1.1,192.168.1.99,static,48h                                #Static devices in /etc/dnsmasq.d/reservations e.g. dhcp-host=00:0c:5d:dc:4f:3c,192.168.1.52,cctv-ptz<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Feb 24 10:15:13 ipam dnsmasq-dhcp[23224]: DHCPREQUEST(eth0) 192.168.1.52 00:0c:5d:dc:4f:3c<o:p></o:p></p><p class=MsoNormal>Feb 24 10:15:13 ipam dnsmasq-dhcp[23224]: DHCPACK(eth0) 192.168.1.52 00:0c:5d:dc:4f:3c cctv-ptz<o:p></o:p></p><p class=MsoNormal>[may repetitive entries removed]<o:p></o:p></p><p class=MsoNormal>Feb 24 10:16:10 ipam dnsmasq-dhcp[23224]: DHCPACK(eth0) 192.168.1.52 00:0c:5d:dc:4f:3c cctv-ptz<o:p></o:p></p><p class=MsoNormal>Feb 24 10:16:14 ipam dnsmasq-dhcp[23224]: DHCPREQUEST(eth0) 192.168.1.21 00:20:4a:a8:28:fe<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-ZA'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-ZA'>Regards<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-ZA'>Gavin<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-ZA'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-ZA'>--<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-ZA'>Gavin Hill – <a href="mailto:gavin@highpeak.co.za"><span style='color:#0563C1'>gavin@highpeak.co.za</span></a> – <a href="http://www.highpeak.co.za"><span style='color:#0563C1'>http://www.highpeak.co.za</span></a> -- @HighpeakHA  <o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div>
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
        <tr>
                <td style='border:none;padding:0px 15px 0px 8px'>
                        <a href="http://www.avast.com/">
                                <img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" />
                        </a>
                </td>
                <td>
                        <p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
                                This email has been checked for viruses by Avast antivirus software.
                                <br><a href="http://www.avast.com/">www.avast.com</a>
                        </p>
                </td>
        </tr>
</table>
<br />
</body></html>