DHCP Failover not working

Ryan McCain Ryan.McCain at dss.state.la.us
Thu Dec 7 18:05:42 UTC 2006


I am attempting to get DHCP failover working between a SLES 9 s390 box
running dhcp-server-3.0.1rc13-28.18 and a SLES 10 s390x box running
dhcp-server-3.0.3-23.5.

The primary is the SLES 9 box.

I start both of them and both output this to the logs:

failover peer failover: I move from recover to startup
failover peer failover: I move from startup to recover

Is that right?


Also, when stop dhcpd on the primary server, the secondary server logs
this:

Dec  6 16:41:31 dss-ml93la10 dhcpd: failover: listener: no matching
state

and never takes over handling dhcp requests.

---

below are sniplets from the dhcpd.conf files for the primary and
secondary servers, respectively.

----PRIMARY inet addr:10.120.11.70  Bcast:10.120.11.255 
Mask:255.255.252.0----


failover peer "failover" {
  primary; # declare this to be the primary server
  address 10.120.11.70;
  port 520;
  peer address 10.120.11.95;
  peer port 520;
  max-response-delay 30;
  max-unacked-updates 10;
  load balance max seconds 3;
  mclt 1800;
  split 128;
}

authoritative;
log-facility local3;
subnet 10.120.11.0 netmask 255.255.255.0 {
}

 subnet 10.125.4.0 netmask 255.255.252.0 {
  option routers 10.125.7.254;
  pool {
    failover peer "failover";
    deny dynamic bootp clients;
    range 10.125.4.1 10.125.7.179;
 }
}


----SECONDARY inet addr:10.120.11.95  Bcast:10.120.11.255 
Mask:255.255.252.0 ----

#authoritative;
log-facility local3;
subnet 10.120.11.0 netmask 255.255.255.0 {
}

failover peer "failover" {
  secondary; # declare this to be the secondary server
  address 10.120.11.95;
  port 520;
  peer address 10.20.11.70;
  peer port 520;
  max-response-delay 30;
  max-unacked-updates 10;
  load balance max seconds 3;
}

 subnet 10.125.4.0 netmask 255.255.252.0 {
  option routers 10.125.7.254 ;
  pool {
    failover peer "failover";
    deny dynamic bootp clients;
    range 10.125.4.1 10.125.7.179;
 }
}

------


any ideas? 


More information about the dhcp-users mailing list