Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-21-2005, 06:22 AM   #1
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Rep: Reputation: 32
find out all free leases from dhcpd


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...

Old 07-22-2005, 07:16 AM   #2
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
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.
Old 07-27-2005, 02:03 AM   #3
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES / FC/ OES / CentOS
Posts: 614

Original Poster
Rep: Reputation: 32
Thanks anyway!!

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCPD problem - no free leases ms_lyon Linux - Networking 4 05-29-2017 01:42 PM
DHCPD no free leases HiOctane21 Linux - Networking 6 10-02-2013 11:21 PM
DHCPD Has No free leases? FishGills Linux - Networking 7 01-24-2009 06:49 PM
dhcpd server leases wont work :( hath Linux - Networking 4 02-21-2002 05:21 PM
dhcpd server not letting go of leases Jase Linux - Networking 10 01-17-2002 05:57 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration