LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 02-17-2009, 05:20 PM   #1
TheGorf
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:

Code:
# server is authoritative
authoritative;

# allow for booting over the network
#allow booting;

# allow for booting
#allow bootp;

# TFTP server for booting
#next-server 192.168.1.2;

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

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

# 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
zone x10.com
{
	primary 127.0.0.1;
	key rndckey;
}

# reverse zone to update
zone 11.168.192.in-addr.arpa
{
	primary 127.0.0.1;
	key rndckey;
}

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

	# primarys ip address
	address 192.168.11.22;
	port 647;
	
	# peer's ip address
	peer address 192.168.11.23;
	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 192.168.11.0 netmask 255.255.255.0
{
	# pool for dhcp leases
	pool {
		failover peer "x10-corp";
		deny dynamic bootp clients;         
		option routers 192.168.11.1;
		option domain-name "x10.com";
		option domain-name-servers 192.168.11.22,192.168.11.23;
		option netbios-name-servers 192.168.11.8;
		option netbios-dd-server 192.168.11.8;
		option netbios-node-type 8;
		option subnet-mask 255.255.255.0;
		range 192.168.11.50 192.168.11.220;

		host jay-clark-xp {
			hardware ethernet 00:17:31:89:03:fa;
			fixed-address 192.168.11.205;
		}
	}
}
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
auximini
Member
 
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?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 01:00 AM.

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