Page 1 of 1
list of dhcp clients
Posted: Sun May 08, 2016 9:01 am
by FreddieG
how can I see the list of connected clients of the dhcp?
any special commands?
Thanks for advise
Re: list of dhcp clients
Posted: Sun May 08, 2016 9:09 am
by B.Goode
Are you running your own dhcp server on your RPi? If so, what implementation, and have you checked its own documentation?
If the dhcp server is elsewhere on your network, do you have have adminstration rights to query it?
In any case, your terminology is odd: a dhcp server simply distributes configuration information on request from a client - once it has answered that request there is no longer any need for a connection between the server and its client.
Re: list of dhcp clients
Posted: Sun May 08, 2016 9:40 am
by rpdom
If you are running the DHCP server on your Pi, you could look at its leases file. This won't be entirely accurate as it will show all systems that have been given an address and not released it - which includes systems that didn't disconnect cleanly.
As an example, for DNSMasq the leases file is /var/lib/misc/dnsmasq.leases