<html><head>
<style id="css_styles" type="text/css"><!--blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
li[style='text-align: center;'], li[style='text-align: center; '], li[style='text-align: right;'], li[style='text-align: right; '] { list-style-position: inside;}
body { font-family: 'Segoe UI'; font-size: 12pt; }
.quote { margin-left: 1em; margin-right: 1em; border-left: 5px #ebebeb solid; padding-left: 0.3em; }
a.em-mention[href] { text-decoration: none; color: inherit; border-radius: 3px; padding-left: 2px; padding-right: 2px; background-color: #e2e2e2; }
._em_placeholder {color: gray; border-bottom: 1px dotted lightblue;} ._em_placeholder:before{color:gray; content: '{{ ';} ._em_placeholder:after{color:gray; content: ' }}';}
--></style></head>
<body style="background-color: white; color: black;"><div style="">You can use --dhcp-host to tag or otherwise dispense with clients based on mac address. You can also specify mac addresses with a * wildcard byte, so you might be able to leverage the fact that randomized mac addresses follow a pattern.</div><div style=""><br /></div><div style="">Per <a href="https://www.rfc-editor.org/rfc/rfc7042.html#section-2.1" style="font-size: 12pt;">https://www.rfc-editor.org/rfc/rfc7042.html#section-2.1</a> the local bit is set, meaning that the mac addresses will be in the form of x2:xx:xx:xx:xx:xx, x6:xx:xx:xx:xx:xx, xA:xx:xx:xx:xx:xx, xE:xx:xx:xx:xx:xx. What I'm not sure of, and would need testing, is if you can use wildcards for part, like *2:*:*:*:*:*</div><div style=""><br /></div><div style="">Apple's MAC randomization is _supposed_ to be per WiFi SSID, so each device _should_ only have one randomized mac address per SSID. I don't really think it works that way in the real world.</div><div style=""><br /></div><div style="">Dan</div>
<div x-em-replyforwardheader="" style=""><br style="" /></div>
<div style="">
<div style="">------ Original Message ------</div>
<div style="">From "Jay Guerette" <<a href="mailto:jayguerette@gmail.com" style="">jayguerette@gmail.com</a>></div>
<div style="">To <a href="mailto:donmuller22@outlook.com" style="">donmuller22@outlook.com</a>; <a href="mailto:dnsmasq-discuss@lists.thekelleys.org.uk" style="">dnsmasq-discuss@lists.thekelleys.org.uk</a></div>
<div style="">Date 7/18/2025 8:16:21 PM</div>
<div style="">Subject Re: [Dnsmasq-discuss] Lease duration for hosts without names</div></div><div x-em-quote="" style=""><br style="" /></div>
<div id="x6d2e52388f21455" style=""><blockquote cite="89235086-0749-4098-8456-a01cc516b81f@gmail.com" type="cite" class="cite2" style="">
<div class="moz-cite-prefix" style=""><br style="" />
</div>
<div class="moz-cite-prefix" style="">I should have been more explicit in my
ask. I know how to fix it but I want to prevent it in the future.
When I'm not around I want my network to work without
intervention.
<br style="" />
</div>
<div class="moz-cite-prefix" style=""><br style="" />
</div>
<div class="moz-cite-prefix" style="">Most people don't know what a MAC is,
don't know where the setting is, and may not react well to "you
have to disable privacy if you want to use my wifi". The smaller
pool size & longer lease length could be considered
short-sighted or self-inflicted. I didn't anticipate guests
requiring 4+ IPs on my network each and constantly acquiring new
ones without releasing the old ones.
</div>
<div class="moz-cite-prefix" style=""><br style="" />
</div>
<div class="moz-cite-prefix" style="">I think that hosts that don't provide a
name are either mis-configured, poorly designed, or just privacy
focused. We already have 'dhcp-generate-names' that identifies
these hosts, I'm wondering if we could extend the concept to allow
you to add a tag to such hosts so that specific policies could be
applied.
</div>
<div class="moz-cite-prefix" style=""><br style="" />
</div>
<div class="moz-cite-prefix" style=""><br style="" />
</div>
<div class="moz-cite-prefix" style="">On 7/18/25 6:40 PM, Donald Muller
wrote:
<br style="" />
</div>
<blockquote type="cite" cite="mid:DM6PR20MB2746212CE4A75C19053DC940B650A@DM6PR20MB2746.namprd20.prod.outlook.com" class="cite" style="">
<pre wrap="" class="moz-quote-pre" style="">Have them turn off MAC randomization or modify your dnsmasq config to increase the pool or set a short lease time while they are guests.
________________________________
From: Dnsmasq-discuss
<a class="moz-txt-link-rfc2396E" href="mailto:dnsmasq-discuss-bounces@lists.thekelleys.org.uk" style=""><dnsmasq-discuss-bounces@lists.thekelleys.org.uk></a> on behalf of Jay Guerette <a class="moz-txt-link-rfc2396E" href="mailto:jayguerette@gmail.com" style=""><jayguerette@gmail.com></a>
Sent: Friday, July 18, 2025 6:01 PM
To:
<a class="moz-txt-link-abbreviated" href="mailto:dnsmasq-discuss@lists.thekelleys.org.uk" style="">dnsmasq-discuss@lists.thekelleys.org.uk</a> <a class="moz-txt-link-rfc2396E" href="mailto:dnsmasq-discuss@lists.thekelleys.org.uk" style=""><dnsmasq-discuss@lists.thekelleys.org.uk></a>
Subject: [Dnsmasq-discuss] Lease duration for hosts without names
I have some house guests who brought devices that randomize their macs and don't provide host names. Due to their usage patterns they quickly exhausted my small DHCP pool.
Is there a way that I can tag hosts that don't provide a name so that I can provide a custom/shorter lease time?
</pre>
</blockquote>
<p style=""><br style="" />
</p>
</blockquote></div>
</body></html>