<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;}
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;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="NL">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="NL"><o:p> </o:p></span></p>
<p class="MsoNormal">I have a question regarding to DHCPv4 leases. <o:p></o:p></p>
<p class="MsoNormal">Doing some tests I have faced a possible android issue that I want to share with you.  <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">1.- I set the DHCP range of ipv4 address from 192.168.72.51 to 192.168.72.150 in dnsmasq.conf.<o:p></o:p></p>
<p class="MsoNormal">2.- One windows pc is connected and get an ipv4 lease (192.168.72.65)<o:p></o:p></p>
<p class="MsoNormal">3.- One android device is connected and get an ipv4 lease (192.168.72.133)<o:p></o:p></p>
<p class="MsoNormal">4.- stop dnsmasq and remove all entries in dhcp.leases<o:p></o:p></p>
<p class="MsoNormal">5.- add dummy entries to dhcp.leases file till there is not any address available in the dhcp range and start dnsmasq again.<o:p></o:p></p>
<p class="MsoNormal">6.-  windows pc is not able to obtain an ipv4 lease because all are occupied. Ping is not possible<o:p></o:p></p>
<p class="MsoNormal">7.- android device ‘seems’ to be able to use the saved leased ipv4 (192.168.72.133). Ping is possible<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Here the output of dnsmasq at step 7:<o:p></o:p></p>
<p class="MsoNormal">“dnsmasq-dhcp: 93920162 available DHCP range: 10.173.190.51 -- 10.173.190.150<o:p></o:p></p>
<p class="MsoNormal">dnsmasq-dhcp: 93920162 vendor class: HUAWEI:android:ANE<o:p></o:p></p>
<p class="MsoNormal">dnsmasq-dhcp: 93920162 client provides name: HUAWEI_P20_lite-9a7e63d7d<o:p></o:p></p>
<p class="MsoNormal">dnsmasq-dhcp: 93920162 DHCPDISCOVER(eth1) 00:be:3b:02:c1:02 no address available<o:p></o:p></p>
<p class="MsoNormal">dnsmasq-dhcp: 93920162 available DHCP range: 10.173.190.51 -- 10.173.190.150<o:p></o:p></p>
<p class="MsoNormal">dnsmasq-dhcp: 93920162 vendor class: HUAWEI:android:ANE<o:p></o:p></p>
<p class="MsoNormal">dnsmasq-dhcp: 93920162 client provides name: HUAWEI_P20_lite-9a7e63d7d<o:p></o:p></p>
<p class="MsoNormal">dnsmasq-dhcp: 93920162 DHCPDISCOVER(eth1) 00:be:3b:02:c1:02 no address available<o:p></o:p></p>
<p class="MsoNormal">dnsmasq-dhcp: 93920162 available DHCP range: 10.173.190.51 -- 10.173.190.150”<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Why my device is able to ping with the last saved leased ipv4 address even if this address is reserved in dhcp.leases file?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best Regards<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div><br>
<br>
<p style="font-size:8pt; line-height:10pt; font-family: 'Arial','Arial',serif;">-------- Disclaimer --------<br>
This email and any files transmitted may contain proprietary and confidential information of ICT Group N.V. or any of its subsidiaries (“ICT”) and is intended only for the (use of the) named recipient(s) above. If you have received this message in error or
 are not the intended or named recipient(s) of this message, please immediately notify the sender by return and delete this email message from your computer. Any views or opinions presented are solely those of its author and do not necessarily represent those
 of ICT. You are hereby notified that unauthorized disclosure, use, dissemination, forwarding, printing or copying of this e-mail and its attachments either whole or partial of its contents is strictly prohibited. ICT cannot guarantee that email communications
 are secured and error-free and does not accept any liability for damages resulting from the use of email. The general terms and conditions of purchase respectively sale and delivery of ICT are applicable to all transactions and undertakings resulting therefrom.</p>
</div>
<br>
</body>
</html>