LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-21-2005, 06:22 AM   #1
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES11 / FC20/ OES / CentOS
Posts: 601

Rep: Reputation: 32
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
 
Old 07-22-2005, 07:16 AM   #2
cdhgee
Member
 
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
saavik
Member
 
Registered: Nov 2001
Location: NRW, Germany
Distribution: SLES11 / FC20/ OES / CentOS
Posts: 601

Original Poster
Rep: Reputation: 32
Thanks anyway!!

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


Reply


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 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 problem - no free leases ms_lyon Linux - Networking 3 02-26-2003 10:52 AM
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


All times are GMT -5. The time now is 06:15 PM.

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