[Bug 214746] Carp ipv6 duplicate address detection

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 3 09:53:00 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214746

--- Comment #2 from Athanasios Douitsis <aduitsis at douitsis.com> ---
(In reply to Kubilay Kocak from comment #1)

Running FreeBSD 10.3-RELEASE-p11 #0: Mon Oct 24 18:49:24 UTC 2016
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64 on both
nodes.

This works (dead:beef instead of my real prefix):

ifconfig_vmx0_ipv6="inet6 accept_rtadv dead:beef::60/64"
ifconfig_vmx0_alias1="inet6 dead:beef::95/64 no_dad vhid 34 pass bar”

dead:beef::60 is node0 and dead:beef::61 is node1. Both have dead:beef::95/64
as the common carp IPv6 address. Vhid 34 is randomly chosen. 

For IPv4, I'm using a different vhid and pass, just to be on the safe side.

Removing the no_dad from ifconfig_vmx0_alias1 and rebooting the BACKUP node
causes the problem to appear. Backup node will compain about DAD upon reboot,
ifconfig will say dead:beef::95/64 duplicated, so it can't really be used. 

Afterwards, trying to manualy issue 

ifconfig inet6 dead:beef::95/64 vhid 34 pass bar

will fail the first time, second time it will go through.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list