On 22/01/2021 11:22, Jaime wrote:
> Hi.
> 
> A long time ago [1], Simon wrote to the list saying:
> 
> "Be aware that multiple MAC addresses in a single dhcp-host has
> different semantics to multiple dhcp-host lines, each with one MAC
> address but with the same IP address."
> 
> Is this still true i.e. does a single dhcp-line with multiple MAC
> addresses still have different semantics to multiple dhcp-host lines
> with the same IP address? If so, how do (/does) the semantics differ?
> 
> Thank you, Jaime
> 
> [1] 
> http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2013q4/007972.html
> 

Yes. The difference is that in the normal case of multiple lines, once
the IP address is leased to a MAC address, if another MAC address turns
up asking for a lease, it won't be offered that IP address (typically it
will be offered one from the pool) With multiple MAC addresses on a
single line, when the second MAC address turns up, the IP address will
be unceremoniously ripped away from the first MAC address, and given to
the second one. In this case the owners of the two MAC addresses better
1) be the same machine and 2) expect this behaviour. Typically it's a
laptop which downs its wireless interface and brings up the wired
interface when docked.



Cheers,

Simon.

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to