MacOS – way to see connected static leases in Lion Server

macosNetworkosx-server

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?

Best Answer

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