Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-17-2009, 05:20 PM   #1
LQ Newbie
Registered: Feb 2009
Posts: 11

Rep: Reputation: 0
DHCPD failing to serve correct lease expiration

On my CentOS 5.2 system I am setting up some network services for our corporate environment. DHCP works greate EXCEPT that clients are getting a lease from the server that expires in 3600 second even though the config says otherwise. Here is my config:

# server is authoritative

# allow for booting over the network
#allow booting;

# allow for booting
#allow bootp;

# TFTP server for booting

# kernel for network booting
#filename "pxelinux.0";

# setup dynamic DNS updates
ddns-update-style interim;
ddns-updates on;
ddns-domainname "";

# lease expiration
default-lease-time 86400;
max-lease-time 86400;

# control client behaviour
allow unknown-clients;
ignore client-updates;

key rndckey {
	algorithm	hmac-md5;

	# get from the /etc/rndc.key file
	secret		"R7+OZq87s/+0MiP+g2Mf0w==";

# forward zone to update
	key rndckey;

# reverse zone to update
	key rndckey;

# fail over configuration
failover peer "x10-corp" {
	# This is the primary

	# primarys ip address
	port 647;
	# peer's ip address
	peer address;
	peer port 647;

	max-response-delay 60;
	max-unacked-updates 10;
	mclt 3600;
	split 128;
	load balance max seconds 3;

# zone to issue addresses from
subnet netmask
	# pool for dhcp leases
	pool {
		failover peer "x10-corp";
		deny dynamic bootp clients;         
		option routers;
		option domain-name "";
		option domain-name-servers,;
		option netbios-name-servers;
		option netbios-dd-server;
		option netbios-node-type 8;
		option subnet-mask;

		host jay-clark-xp {
			hardware ethernet 00:17:31:89:03:fa;
I can see clearly in a WireShark network trace that the server responds back with the lease marked as expiring in 1 hour. Any thoughts?
Old 02-18-2009, 11:16 AM   #2
Registered: Dec 2003
Location: Calgary, AB
Distribution: Any!
Posts: 146

Rep: Reputation: 18
Although it sounds really odd, I wonder if the failover configuration is conflicting somehow? If you were to change the 3600 to, say, 5600, do your clients change as well?


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 wrong ip lease? del_gr Linux - Newbie 6 10-24-2006 10:58 AM
dhcpd non-sequential client lease cooljimwhy Linux - Server 2 10-18-2006 03:02 PM
Howto update firewall on dhcpd lease Noerr Linux - Networking 3 06-09-2004 10:36 PM
dhcpd - new lease every second on M$ box charon79m Linux - Networking 4 06-02-2004 09:31 AM
dhcpd lease question Jase Linux - Networking 2 01-31-2002 10:42 AM

All times are GMT -5. The time now is 08:00 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration