dhcpd 4.1.0a2 : "lease owned by peer"

Fabien Mauger Fabien.Mauger at axeip.fr
Thu Oct 9 07:37:30 UTC 2008


Hi,

Nobody have the same problem and had solved it? Or can someone help me plz?

Regards

Fabien

-----Message d'origine-----
De : dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org] De la part de Fabien Mauger
Envoyé : vendredi 3 octobre 2008 18:13
À : dhcp-users at isc.org
Objet : dhcpd 4.1.0a2 : "lease owned by peer" 


Hi,

I've got some trouble with dhcpd 4.1.0a2 in failover.
 
I have got a pair of server running the 4.1.0a2 version of dhcpd. 
When I lost or manually stop one peer and I renew a client which was previously given an address by that peer, I ve got the following message on the last standing server 

	DHCPREQUEST for 192.168.1.21 from “mac address of the computer” via eth1 : lease owned by peer.

But I thought that during the “mclt” time the last standing server was supposed to renew the addresses already served by the other peer. I’m trying this version on a lab environnement, so I have got a very small scope (only 2 addresses available on it). I didn’t have this behaviour with the 3.1.1 version. 

Maybe I have misconfigured something? Or is there a way to solve this?

Here is my configuration files:

⇒ On the first server:

fab at primary:~$ more /etc/dhcpd.conf 
####################################
## configuration DHCPD de primary ##
####################################

ddns-update-style ad-hoc;
one-lease-per-client true;
authoritative;
failover peer "dhcp" {
         primary;
         address 192.168.1.200;
         port 519;
         peer address 192.168.1.201;
         peer port 520;
         max-response-delay 30;
         max-unacked-updates 10;
         mclt 1800;
         split 128;
         load balance max seconds 3;
         }

default-lease-time 1800;
max-lease-time 1800;

# parametres om api
#omapi-port 9991;
# include du fichier contenant les scopes. #

include "/etc/dhcpd.master";


⇒on the other server:


fab at secondary:~$ more /etc/dhcpd.conf
######################################
## configuration DHCPD de secondary ##
######################################

ddns-update-style ad-hoc;
one-lease-per-client true;
authoritative;
failover peer "dhcp" {
         secondary;
         address 192.168.1.201;
         port 520;
         peer address 192.168.1.200;
         peer port 519;
         max-response-delay 30;
         max-unacked-updates 10;
        mclt 1800;
}

default-lease-time 1800;
max-lease-time 1800;

#omapi-port 9991;

include "/etc/dhcpd.master";
fab at secondary:~$

⇒ and the dhcpd.master configuration file which is the same on each peer:

fab at primary:~$ more /etc/dhcpd.master 

subnet 192.168.1.0 netmask 255.255.255.0 
        { 
        pool { 
                failover peer "dhcp";
                range 192.168.1.20 192.168.1.21;
                deny dynamic bootp clients;
        } 
        }
fab at primary:~$

fab at secondary:~$ more /etc/dhcpd.master

subnet 192.168.1.0 netmask 255.255.255.0 
        { 
        pool { 
                failover peer "dhcp";
                range 192.168.1.20 192.168.1.21;
                deny dynamic bootp clients;
        } 
        }
fab at secondary:~$

ty in advance


Fabien

 

 
  
" Ce message et toutes les pieces jointes sont etablis a l'attention 
exclusive de ses destinataires et sont confidentiels.  L'internet ne 
permettant pas d'assurer l'integrite de ce message, le contenu de ce
message ne represente en aucun cas un engagement de la part de notre 
societe. Si vous recevez ce message par erreur, merci de le detruire 
et d'en avertir immediatement l'expediteur.

  This message contains privileged and confidential information.  Given 
that the internet does not allow us to make sure of the communication's
integrity,  the content of this message does not  represent in any case
a commitment from our compagny.  If you are not the intended recipient,  
please notify  us  immediately and delete  this  e-mail  (including any 
attachments) from your system. "


More information about the dhcp-users mailing list