1

In Lion Server Admin, under DHCP settings, it is possible to see a list of "Clients", but for me this list is nearly always empty, except in the rare occasions when I allow a machine on my network that is not statically mapped. Is it in fact the case that statically mapped IP addresses are not listed under "Clients" by default? Is there a way to see currently connected, statically mapped IP addresses?

1

You can look at "dynamically" attributed leases with:

more /var/db/dhcpd_leases

You can look at "statically" and "dynamically" attributed leases with:

grep '\[en.\]' /var/log/system.log | more
  • The output from the first is nothing. Still no list of "dynamically" assigned leases. – orome Apr 29 '12 at 15:32
  • If this file is empty then you don't have any "dynamically" assigned lease. – dan May 1 '12 at 14:19
0

Don't think so, no. There is a need to know which DHCP addresses are currently in use so that stale addresses can be re-issued to new clients, etc. You're looking for statically-connected users under DHCP, which is by definition not static. They will not show there.

One way to check though might be to ping the broadcast address and hope the static clients are configured to respond to pings. (IE. 192.168.1.255 on a 192.168.1.0/24 subnet).

  • It would still be useful to know (in response to a user with a statically issued address having difficulties with his network connection) whether a static lease has been successfully issued. – orome Nov 27 '11 at 15:37
  • Static lease? Are you talking about a DHCP reservation? – Harv Nov 28 '11 at 22:52
  • The UI says "Static Maps". – orome Nov 28 '11 at 22:58
  • Why wouldn't you just ping the target IP instead of the broadcast address? – Jason Salaz Dec 27 '11 at 4:05

You must log in to answer this question.

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