LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-09-2009, 10:25 AM   #1
skylimit123
LQ Newbie
 
Registered: Nov 2008
Posts: 21

Rep: Reputation: 15
Dhcp server log ?


Does anybody know how can I look for some log file of static leases? I want to know which addresses (computers) are not in use any more. All computers in network have static entry in dhcpd.conf.

thnx in advance
 
Old 11-09-2009, 10:46 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,342

Rep: Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746
See section 20.2.2 here http://www.linuxtopia.org/online_boo...lease-database
 
Old 11-11-2009, 06:51 AM   #3
skylimit123
LQ Newbie
 
Registered: Nov 2008
Posts: 21

Original Poster
Rep: Reputation: 15
chrism01, I know about dhcpd.leases file, but I am wondering if it will record static leases to users or just dynamic ?
 
Old 11-11-2009, 11:08 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,342

Rep: Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746Reputation: 2746
According to this its an ASCII text file http://www.daemon-systems.org/man/dhcpd.leases.5.html so why not just take a look inside?
You do know you can put static IPs in the dhcpd.conf as well as well as dynamic ones?
 
Old 11-13-2009, 04:24 AM   #5
skylimit123
LQ Newbie
 
Registered: Nov 2008
Posts: 21

Original Poster
Rep: Reputation: 15
As I can see dhcpd.leases file will be updated very often. I need to know somehow which computers (static IP addresses) are not in use any more.
 
  


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
In Apache server, How to change log file location and log format for access log fil? since1993 Linux - Server 1 08-19-2009 04:14 PM
Problem on acquiring IP addr. on client from dhcp server through dhcp relay server haariseshu Linux - Server 5 08-10-2009 01:20 AM
Instead of Router DHCP Server, Pass DHCP Server control to Slackware orbit Slackware 6 05-11-2009 02:00 AM
Can Samhain log my entries in /var/log/secure and /var/log/mesage to a central server abefroman Linux - Software 2 04-13-2008 04:13 PM
Please interpret the DHCP server log entries I have mentioned inside the message yuvika Linux - Newbie 4 01-16-2008 06:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:15 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration