DHCP failover doesn't work

Luc Bouchard luc at luker.on.ca
Sat Apr 17 00:02:23 UTC 2004


On Fri, 2004-04-16 at 07:49, Ronny Buchmann wrote:
> On Wednesday 14 April 2004 16:28, Jan Roehrich wrote:
> > Hello list,
> >
> > I'm trying to configure dhcp failover with 2 dhcp servers but it seems
> > that they won't speak with each other.
> > I used the example from dhcpd.conf(5) but there are some error log
> > messages on both sides.
> >
> > The primary (which was stand alone before) says:
> > vergisstnix dhcpd: failover peer foo: I move from startup to recover
> > vergisstnix dhcpd: failover: link startup timeout
> >
> > while the secondary says:
> > verliernix dhcpd: timeout waiting for failover peer foo
> > verliernix dhcpd: peer foo: disconnected
> >
> > My dhcpd.conf files look like that:
> >
> > -----------------------
> > failover peer "foo" {
> >        primary;
> >        address 137.251.44.6;
> >        port 519;
> >        peer address 137.251.44.3;
> >        peer port 519;
> >        max-response-delay 60;
> >        max-unacked-updates 10;
> >        mclt 240;
> >        split 128;
> > }
> > include "/etc/dhcpd.master";
> > --------------------
> >
> >
> > --------------------
> > failover peer "foo" {
> >         secondary;
> >         address 137.251.44.3;
> >         port 519;
> >         peer address 137.251.44.6;
> >         peer port 519;
> > }
> > include "/etc/dhcpd.master";
> > ----------------------
> I assume the ports on both machines need to be different, as in the example in 
> dhcpd.conf(5)
> 
> cu
> ronny

You also seem to be delcaring foo twice, one of those should be "bar" or
some other name.

Luc Bouchard





More information about the fedora-list mailing list