Getting failover: link startup timeout

Kraishak Mahtha kraishak.edu at gmail.com
Thu Jun 15 12:54:34 UTC 2023


Hi All,
I am using the ISC  dhcp failover and I am getting continuous failover:
link startup timeout error on both the appliances, not sure what is the
issue, I checked the following
1)port 647(my failover) is open and I can see the tcpdump traffic between
both servers
2)ntp is in sync
3)Both are able to ping each other

but here I have a bit of a different use case, for some of the subnets I
assigned Server A as primary, and for other subnets, I assigned Server B as
primary.

Server A-- Server B --> Failover f1
Server B --Server A --> Failover f2
Now let's say I have 10 subnets, so for the first 5, I used f1 as a
failover peer, and for the other 5 subnets I used  f2 as a failover peer.
so basically in a single server config, we will have two failover peers in
the first section of config server A will be declared as primary, and in
the second section it will declare as failover like

failover peer "peer-1" {
        primary;
        address 10.1.10.246;
        port 647;
        peer address 10.1.10.247;
        peer port 647;
        max-response-delay 30;
        max-unacked-updates 30;
        load balance max seconds 3;
        mclt 1800;
        split 128;
}

failover peer "peer-2" {
        secondary;
        address 10.1.10.246;
        port 647;
        peer address 10.1.10.247;
        peer port 647;
        max-response-delay 30;
        max-unacked-updates 30;
        load balance max seconds 3;
}
Apart from this, the other config is a normal one with few subnets and
basic options.

I think the above config is valid only because nowhere it gave the syntax
error at compile time and also at run time and dhcpd is up and running, but
the failover peer states
for f1 --> it is showing normal-normal but for f2 --> it is showing recover
and unknown-state and sometimes it is showing partner-down and shutdown


 I have a doubt
Can we configure the same server as the primary for f1 and failover for f2
for another failover peer? I hope that is a valid one because nowhere do I
see the docs saying that is valid (in my Google search)

Can someone who has familiar with such setups and face similar issue can
guide me

Thanks in Advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20230615/ac744746/attachment.htm>


More information about the dhcp-users mailing list