Hi,
Did you two even read what problem I described?
Am 27.10.2011 20:44, schrieb David Newman:
On 10/25/11 6:20 PM, Jussi Peltola wrote:
I had some similar looking problems some releases back. Using a separate
carp if for ipv6 mostly fixed it. Didn't write down the exact problem,
though.
How should an extra carp device help? I really don't get it...
Had a similar issue awhile back, with duplicate messages due to both pf
boxes thinking they were master. The root cause was a lack of MLD
support on the switch connecting them. When I rolled back to v4 and
IGMP, everything worked fine again.
Nope! No flapping. Just DAD and a address marked as 'duplicate' on
balancing CARP devices
and a not working DAD on not-balancing CARP devices.
Jussi and I discussed this in an earlier thread:
http://marc.info/?l=openbsd-misc&m=131104609321662&w=4
He suggests using carppeer as a possible workaround but I haven't tried
that. Swapping in a switch with MLD support stopped the carp flapping
for me, and now carp works fine with both v4 and v6 interfaces.
dn
Not usefull at all... I never mentioned s.th. about flapping...
I'm sure it is working fine for you, since you are not using balancing.
Sorry guys, but trying to hijack threads and telling stuff which is not
true... not ok!
btw dn@:
(http://marc.info/?l=openbsd-misc&m=131214709417798&w=2
<http://marc.info/?l=openbsd-misc&m=131214709417798&w=2>)
inet 666.1.2.3 255.255.255.0 666.1.2.255 vhid 100 carpdev bge0 advskew 1
inet6 2011:0:1:2::3 64 vhid 100 carpdev bge0 advskew 1
should be more sth. like this:
# cat /etc/hostname.carp0
vhid 200 advskew 0 carpdev em0 pass utzutzutz
inet 192.168.200.241 255.255.255.0 NONE
inet alias 192.168.201.241 255.255.255.0 NONE
inet6 dead:beef:1::1 64
I'm currently using a current kernel with following patch:
--- sys/netinet6/in6.c 8 Aug 2011 13:04:35 -0000 1.93
+++ sys/netinet6/in6.c 27 Oct 2011 19:59:00 -0000
@@ -2476,6 +2476,14 @@ in6if_do_dad(struct ifnet *ifp)
* NS would confuse the DAD procedure.
*/
return (0);
+#if NCARP > 0
+ case IFT_CARP:
+ /*
+ * XXX: DAD does not work currently on carp(4)
+ * so disable it for now.
+ */
+ return (0);
+#endif
default:
/*
* Our DAD routine requires the interface up and running.
It disables DAD on CARP, cause it does not work on normal CARP and creates
false alarms on balancing CARP. Not great, but at least balancing and IPv6
works now.
Greetz Stefan