ipv6 Lease database
Simon Hobson
dhcp1 at thehobsons.co.uk
Fri Aug 31 06:50:45 UTC 2012
Amit wrote:
>Where is lease database is stored for ipv6 lease before writing it
>to lease file (/var/lib/dhcpd/dhcpv6.lease).
>Can we query lease database to get certain information like, client
>DUID, ipv6 address leases, lease expiration time etc.
I assume it's the same as the IPv4 server - all the data is held
internally in in-memory tables. The lease file is only there to
provide persistence - it's read once only at startup and is otherwise
never read by the server process.
For querying data, take a look at OMSHELL - I believe there are man
pages for it.
--
Simon Hobson
Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
More information about the dhcp-users
mailing list