Failover problem with 4.2 on FreeBSD
Ivan Lago
futhwo at gmail.com
Thu Nov 25 16:34:26 UTC 2010
Hi to all
I have a problem with a test installation of version 4.2, with failover
active, on FreeBSD.
I have tested it against FreeBSD 6.x and 8.x, with both chrooted daemon and
without chroot,with the same results:
if i put both the daemons in foreground mode with -d, everything works fine,
and i see the pools balancing between the servers; if i put even one of then
in daemon mode, failover stop working and i see the one in foreground going
to communication-interrupt and never recover the failover connection.
One thing i noticed is this: if failover is working (both servers running in
foreground) i see those sockets on the machines:
on the primary:
dhcpd dhcpd 3411 9 tcp4 85.239.184.101:647
85.239.184.123:27190
dhcpd dhcpd 3411 10 tcp4 85.239.184.101:647 *:*
on the secondary:
dhcpd dhcpd 2687 9 tcp4 85.239.184.123:27190 85.239.184.101:647
dhcpd dhcpd 2687 10 tcp4 85.239.184.123:647 *:*
As you can notice the remote port on the secondary is the same on both
connections.
If i daemonize one of them or both, i see:
on primary:
dhcpd dhcpd 3491 9 tcp4 85.239.184.101:50468 85.239.184.123:647
dhcpd dhcpd 3491 10 tcp4 85.239.184.101:647 *:*
on secondary:
dhcpd dhcpd 2744 9 tcp4 85.239.184.123:57089 85.239.184.101:647
dhcpd dhcpd 2744 10 tcp4 85.239.184.123:647 *:*
What can the cause be?
Thanks in advance for any help
Futhwo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20101125/7aa7eb72/attachment.html>
More information about the dhcp-users
mailing list