LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   find out all free leases from dhcpd (https://www.linuxquestions.org/questions/linux-networking-3/find-out-all-free-leases-from-dhcpd-345312/)

saavik 07-21-2005 06:22 AM

find out all free leases from dhcpd
 
hy!

How can I find out all free leases on my dhcp ??

I use SLES8 and Internet Software Consortium DHCP Server V3.0.1rc9.

I would just like to find out how many free leases my Server actually has...

Thanks

cdhgee 07-22-2005 07:16 AM

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.

saavik 07-27-2005 02:03 AM

Thanks anyway!!

I just thought there yould be a summary abort leases and free ips......


All times are GMT -5. The time now is 01:19 PM.