LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-2011, 10:19 AM   #1
suprstar
Member
 
Registered: Aug 2010
Location: Atlanta
Distribution: ubuntu, debian
Posts: 142
Blog Entries: 2

Rep: Reputation: 21
multiple concurrent dhcp leases for the same mac?


Ubuntu 10.04 LTS, dhcp3-server is installed via apt-get, nothing fancy in the config.

I have some scripts that parse out dhcpd.leases for quick easy monitoring, I noticed this.. There are 890 lease sections in the file, but only 551 unique mac's. At least the all mac/ip combinations are unique, but it's screwing up my reporting. Is this supposed to be happening? I see the "option agent.unknown-6" line is different in every entry.

Code:
lease 10.0.152.107 {
  starts 3 2011/11/09 14:34:13;
  ends 4 2011/11/10 14:34:13;
  cltt 3 2011/11/09 14:34:13;
  binding state active;
  next binding state free;
  hardware ethernet ac:81:12:11:02:7c;
  uid "\001\254\201\022\021\002|";
  option agent.unknown-6 "10977F1521FC6AC045FB61172E08D939@mydomain.com";
  option agent.remote-id ac:81:12:11:2:7c;
}
lease 10.0.152.107 {
  starts 3 2011/11/09 14:35:20;
  ends 4 2011/11/10 14:35:20;
  cltt 3 2011/11/09 14:35:20;
  binding state active;
  next binding state free;
  hardware ethernet ac:81:12:11:02:7c;
  uid "\001\254\201\022\021\002|";
  option agent.unknown-6 "65818B133529E07501AD28103E2D8ECC@mydomain.com";
  option agent.remote-id ac:81:12:11:2:7c;
}
lease 10.0.152.107 {
  starts 3 2011/11/09 14:35:49;
  ends 4 2011/11/10 14:35:49;
  cltt 3 2011/11/09 14:35:49;
  binding state active;
  next binding state free;
  hardware ethernet ac:81:12:11:02:7c;
  uid "\001\254\201\022\021\002|";
  option agent.unknown-6 "5013227A65F8C3485B126FA01DA17ADC@mydomain.com";
  option agent.remote-id ac:81:12:11:2:7c;
}
lease 10.0.152.107 {
  starts 3 2011/11/09 14:36:24;
  ends 4 2011/11/10 14:36:24;
  cltt 3 2011/11/09 14:36:24;
  binding state active;
  next binding state free;
  hardware ethernet ac:81:12:11:02:7c;
  uid "\001\254\201\022\021\002|";
  option agent.unknown-6 "4A9496D6181BA2B21E967FC711832047@mydomain.com";
  option agent.remote-id ac:81:12:11:2:7c;
}
 
  


Reply

Tags
dhcp, dhcp3, dhcpd, ubuntu


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
dhcp leases BFCsaus Linux - Newbie 1 04-27-2010 05:39 PM
Wrote 0 leases to leases file - DHCP server lionel.rpm Linux - Server 3 07-22-2009 06:05 PM
DHCP on CentOS 4.7 - /var/lib/dhcp/dhcpd.leases: Permission denied Latitude Linux - Networking 1 06-05-2009 02:08 AM
phpdhcpd - View DHCP Leases firefly2442 Linux - Server 0 09-21-2008 11:41 PM
dhcp not writing leases oberon-ken-obi Linux - Newbie 8 04-14-2005 01:44 PM


All times are GMT -5. The time now is 10:17 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