Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to view all assigned ip addresses on a Debian DHCP server?

It is usually easy to do on a standalone router through a web interface. How to do it with dhcpd in Debian?

share|improve this question
up vote 5 down vote accepted

In Debian you have a choice among serveral DHCP servers. I've used udhcpd and isc-dhcp-server before. You are likely using isc-dhcp-server. It records its leases in /var/lib/dhcpd.leases.

Newer leases are appended to this file, so look towards the bottom for recently given leases. Old leases aren't cleaned out until the file reaches some threshold (I don't know what it is off the top of my head).

share|improve this answer
1  
Also, it is possible to find dhcpd.leases in /var/lib/dhcp/dhcpd.leases. – earthmeLon May 19 '14 at 17:01

My home debian server uses dnsmasq which stores it's leases in
/var/lib/dnsmasq/dnsmasq.leases

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .