I don't think there's an easy way to do this. You can find out all the leases that are currently active, and use your brain to work out which ones are free (assuming you know what's in the lease pool), but I'm not aware of an automated way to do it.
To find out which leases are taken, have a look at /var/db/dhcpd.leases.
|