[Dnsmasq-discuss] Reg: Info related to leases file
Vladislav Grishenko
themiron at mail.ru
Tue Sep 24 15:31:55 BST 2013
Hi Simon,
> However, if you're interested in the MAC addresses of clients, the very
latest
> dnsmasq code can determine that in most cases. The MAC address is not
> stored in the leases file, but it can be used to key configurations to
particular
> MAC addresses, and it's made available to the DHCP lease external script,
so
> an external application can use it.
Storing MACs for DHCPv6 clients is just exactly I'm looking for.
In my scenario, lease file is used to obtain current list of DHCP4/6 clients
as some status information, the latter usage of this info is:
* DHCP4/6 reservation, it's MAC-based, because client DHCP6 DUID-LLT is
dynamic by the nature, thanks for implementing this approach
* client blocking, it's MAC bases too
So, storing lease info with MAC for DHCPv6 clients (if available, that is
highly likely for direct-connected clients) is the simplest way for my case
without usage any other leasudump-like api
Best Regards, Vladislav Grishenko
More information about the Dnsmasq-discuss
mailing list