<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:0in;
        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;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am currently making use of dnsmasq in an embedded Linux environment which supports Wi-Fi clients. One of the requirements for this device is that it is able to support 120 simultaneous Wi-Fi connections. In the past I was using dnsmasq
 version 2.76. I would run a test where all 120 clients would request connections in a very short time span and dnsmasq was able to assign an IP address to each client in about 1 minute. For security reasons I later had to update to version 2.78 of dnsmasq.
 I now find that it takes far longer to connect these 120 Wi-Fi clients. What used to take 1 minute now takes 6 or more minutes. I’ve done a bit of digging in the code and the behavior observed seems to be related to the do_icmp_ping function and the integer
 max defined in this function. It gets set to six and so I observe that 6 clients can be assigned IP addresses right away. After that all other clients will have their DHCPDISCOVERs ignored with a log message of “No addresses available” printed until 30s has
 passed and then the next group of 6 will receive their addresses.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is anyone familiar with this behavior? Is there a known workaround? I have attached the dnsmasq.conf file that I’m using. The Wi-Fi interface is uap0 and has been given the range 100 – 250 so I would expect when I connect 120 clients to
 never receive a message indicating that there are no remaining addresses.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Daniel Miess<o:p></o:p></p>
</div>
</body>
</html>