carp with IPv6 broken on 6.1-RELEASE

Paul Dekkers Paul.Dekkers at surfnet.nl
Tue Jun 6 22:58:11 UTC 2006


Hi,

Philippe Pegon wrote:
> it seems that carp is broken on FreeBSD 6.1-RELEASE when an inet6
> address is configured on a carp interface. Since I upgraded from 6.0
> to 6.1 (today) I can't see IPv6 carp advertisement with tcpdump.
>
> Did someone else observe this ?

I think I just did, or something similar/related. I just upgraded the
'master' of 2 machines to 6.1 (where the backup was already running 6.1
for a couple of days) and now I see my carp session 'flapping'.
The master machine kept running master, the backup was switching to
master once every 5 seconds I think, stealing some traffic and notifying
me with:
kernel: carp0: MASTER -> BACKUP (more frequent advertisement received)
... which of course is not true.

I'm sure there is no firewall in the way (in fact I disabled it for a
short while), I saw the vrrp advertisements (while the error occurs I
see the machine that is suppost to be backup sending one advertisement
every 4/5 seconds as well)... this config was running before, I'm
confident there is something wrong.

As soon as I remove the IPv6 address from the interface everything seems
to work fine, role only switches when there's a reason for it.

Philippe, did you create a pr?

Paul



More information about the freebsd-stable mailing list