LinuxQuestions.org
Help answer threads with 0 replies.
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 03-03-2011, 10:24 AM   #1
dagril
LQ Newbie
 
Registered: May 2010
Posts: 2

Rep: Reputation: 0
dhcp lease time algorithm apparently imprecise?


The system I am working on is a xdsl board running Linux kernel 2.6 and receiving dhcp address from a Microsoft XP PC. What is weird to me is that when looking through the dhclient.leases file I can see there's something wrong with renew time and stuff...strange calculation...as far as you know is this normal? Anyonw know anything about the applied algorithm? You may find below the dhclient.lease file. Thanks in advance!

lease {
interface "tap0";
fixed-address 10.0.1.16;
filename "***";
medium "-link0 -link1 -link2";
option subnet-mask 255.255.0.0;
option dhcp-lease-time 86400;
option routers 10.0.100.1;
option dhcp-message-type 5;
option dhcp-server-identifier 10.0.100.1;
option ntp-servers 10.0.100.1;
option vendor-encapsulated-options "***";
renew 5 2011/2/25 08:37:00;
rebind 5 2011/2/25 18:49:04;
expire 5 2011/2/25 21:49:04;
}
lease {
interface "tap0";
fixed-address 10.0.1.16;
filename "***";
medium "-link0 -link1 -link2";
option subnet-mask 255.255.0.0;
option dhcp-lease-time 86400;
option routers 10.0.100.1;
option dhcp-message-type 5;
option dhcp-server-identifier 10.0.100.1;
option ntp-servers 10.0.100.1;
option vendor-encapsulated-options "***";
renew 5 2011/2/25 19:07:57;
rebind 6 2011/2/26 05:37:00;
expire 6 2011/2/26 08:37:00;
}
lease {
interface "tap0";
fixed-address 10.0.1.16;
filename "***";
medium "-link0 -link1 -link2";
option subnet-mask 255.255.0.0;
option dhcp-lease-time 86400;
option routers 10.0.100.1;
option dhcp-message-type 5;
option dhcp-server-identifier 10.0.100.1;
option ntp-servers 10.0.100.1;
option vendor-encapsulated-options "***";
renew 5 2011/2/25 19:29:51;
rebind 6 2011/2/26 06:49:46;
expire 6 2011/2/26 09:49:46;
}
lease {
interface "tap0";
fixed-address 10.0.1.16;
filename "***";
medium "-link0 -link1 -link2";
option subnet-mask 255.255.0.0;
option dhcp-lease-time 86400;
option routers 10.0.100.1;
option dhcp-message-type 5;
option dhcp-server-identifier 10.0.100.1;
option ntp-servers 10.0.100.1;
option vendor-encapsulated-options "***";
renew 5 2011/2/25 21:56:19;
rebind 6 2011/2/26 07:11:46;
expire 6 2011/2/26 10:11:46;
}
lease {
interface "tap0";
fixed-address 10.0.1.16;
filename "***";
medium "-link0 -link1 -link2";
option subnet-mask 255.255.0.0;
option dhcp-lease-time 86400;
option routers 10.0.100.1;
option dhcp-message-type 5;
option dhcp-server-identifier 10.0.100.1;
option ntp-servers 10.0.100.1;
option vendor-encapsulated-options "***";
renew 5 2011/2/25 20:41:29;
rebind 6 2011/2/26 07:17:08;
expire 6 2011/2/26 10:17:08;
}
lease {
interface "tap0";
fixed-address 10.0.1.16;
filename "****p";
medium "-link0 -link1 -link2";
option subnet-mask 255.255.0.0;
option dhcp-lease-time 86400;
option routers 10.0.100.1;
option dhcp-message-type 5;
option dhcp-server-identifier 10.0.100.1;
option ntp-servers 10.0.100.1;
option vendor-encapsulated-options "****";
renew 5 2011/2/25 22:35:44;
rebind 6 2011/2/26 08:07:05;
expire 6 2011/2/26 11:07:05;
}
 
Old 03-03-2011, 11:09 AM   #2
rafatmb
LQ Newbie
 
Registered: Feb 2011
Posts: 27

Rep: Reputation: 3
Try to take a look at: http://www.daemon-systems.org/man/dhcpd.leases.5.html

Good Luck!

[]'s

Rafa
Linux, Linux and Linux! Suporte Linux
 
Old 03-04-2011, 02:29 AM   #3
dagril
LQ Newbie
 
Registered: May 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Hi,
not helped too much, but thanks anyhow, appreciate it.
 
  


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
[SOLVED] DHCP lease time anomaly LQParsons Linux - Networking 3 06-17-2010 08:19 PM
DHCP Server - No lease time? piercey Linux - Server 2 07-21-2008 11:15 AM
Force DHCP To Refuse Clients A DHCP Lease Depending On Client MAC Address blackfish Linux - Server 3 08-17-2007 12:54 AM
Lost DHCP Lease when putting computer in "Standby" mode for a "long" time pnellesen Linux - Networking 1 01-06-2005 11:44 PM
Invalid DHCP server lease time CloudBuilder Linux - Wireless Networking 3 04-30-2004 08:41 PM


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