Re: [Dnsmasq-discuss] dnsmasq not overriding leases for static assigments

2021-05-17 Thread Jesus M Diaz
> > To answer the question, the host doesn't get the same address because > "multiple MAC addresses on the same line" is NOT the same as a MAC > address with wildcards in it. If you had > > dhcp-host=96:8d:d4:d0:4d:e3,a4:50:46:d0:4d:e3,192.168.0.217 > > then it would work, but > > dhcp-host=*:*:*:d

Re: [Dnsmasq-discuss] "multiple MAC addresses in a single dhcp-host" vs "multiple dhcp-host lines with the same IP address"

2021-05-17 Thread Jesus M Diaz
I also tried with explicit mac addresses (no wildcards) with the same result. And yes, I have a tp-link one-mesh system with one router and three APs. The APs change the client mac-addr with a combination of three-last-octects of the AP's mac-addr and three-last-octects of the client's On Mon, 17

Re: [Dnsmasq-discuss] dnsmasq not overriding leases for static assigments

2021-05-17 Thread Simon Kelley
On 17/05/2021 10:22, Jesus M Diaz wrote: > A couple of new things: > > 1. I have updated the version of dnsmasq from 2.72 to 2.82, cloned from > *https://salsa.debian.org/debian/dnsmasq > * and compiled locally. > > 2. Now I see a more explicit message i

Re: [Dnsmasq-discuss] "multiple MAC addresses in a single dhcp-host" vs "multiple dhcp-host lines with the same IP address"

2021-05-17 Thread wkitty42
On 5/17/21 5:30 AM, Jesus M Diaz wrote: dhcp-host=*:*:*:d0:4d:e3,set:mobile,192.168.0.217,xiaomi-a2 i have to wonder if using wildcards counts as "multiple mac addresses"... what happens if you explicitly set all four* of the possible mac addresses instead of using the asterisk wildcards?

Re: [Dnsmasq-discuss] "multiple MAC addresses in a single dhcp-host" vs "multiple dhcp-host lines with the same IP address"

2021-05-17 Thread Pali Rohár
On Monday 17 May 2021 10:30:40 Jesus M Diaz wrote: > Hello, > > I am having an issue with this (see *[Dnsmasq-discuss] dnsmasq not > overriding leases for static assignments* thread), but in summary, the > problem is that this is not working for me: I have one dhcp-host > configuration line with m

[Dnsmasq-discuss] "multiple MAC addresses in a single dhcp-host" vs "multiple dhcp-host lines with the same IP address"

2021-05-17 Thread Jesus M Diaz
Hello, I am having an issue with this (see *[Dnsmasq-discuss] dnsmasq not overriding leases for static assignments* thread), but in summary, the problem is that this is not working for me: I have one dhcp-host configuration line with multiple mac-addr for one ip-addr, but dnsmasq don't assign the

Re: [Dnsmasq-discuss] dnsmasq not overriding leases for static assigments

2021-05-17 Thread Jesus M Diaz
A couple of new things: 1. I have updated the version of dnsmasq from 2.72 to 2.82, cloned from *https://salsa.debian.org/debian/dnsmasq * and compiled locally. 2. Now I see a more explicit message in the log, making very clear the wrong behaviour: tail -