ClusterLabs/resource-agents — Issue #36: site-local/global IPv6 address failed to bind on adaptor.
Author: jackwangchina
Created: 2011-11-28 09:33:33+00:00
State: open

1) ip add add fe80::1/64 dev eth0 it can bind fe80::1 on eth0
I test /etc/ha.d/resource.d/IPv6addr fe80::8/64/eth0 start ,it also can bind successfully.
2) ip add add fec0::1 /64 dev eth0 it can bind fec0::1 on eth0
/etc/ha.d/resource.d/IPv6addr fec0::8/64/eth0 start
IPv6addr[10794]: ERROR: Generic error
Nov 28 03:44:28 localhost IPv6addr: [10817]: ERROR: no valid mecahnisms
the bug seems the mask issues,please check it.
for (i = 0; i < 4; i++) {
if ((addr.s6_addr32[i]&mask.s6_addr32[i]) !=
(addr_target->s6_addr32[i]&mask.s6_addr32[i])) {
same = FALSE;
break;
}
}

I tested link-local address ,it can bind on adaptor ,but site-local/global(2001::1) address can not ,please verify if this is an issue.