Todd T. Fries <[email protected]> wrote Fri, Aug. 05, 2011 6:06 PM
>
> Are you using global IPv6 addresses for your test or link-local
> addresses for your test?

I'm using global IPv6 addresses.

i.e.
host side ping6:
...@melon:~$ ping6 2a00:1230::feed:cafe
PING 2a00:1230::feed:cafe(2a00:1230::feed:cafe) 56 data bytes
>From 2a00:1230::5049:6023 icmp_seq=1 Destination unreachable: Address
unreachable
>From 2a00:1230::5049:6023 icmp_seq=2 Destination unreachable: Address
unreachable
>From 2a00:1230::5049:6023 icmp_seq=3 Destination unreachable: Address
unreachable

carp router master ifconfig:
carp100: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:00:5e:00:01:0a
        priority: 0
        carp: MASTER carpdev vlan100 vhid 10 advbase 1 advskew 0
        groups: carp
        status: master
        inet6 fe80::200:5eff:fe00:10a%carp100 prefixlen 64 scopeid 0x1d
        inet [...]
        inet6 2a00:1230::feed:cafe prefixlen 64
vlan100: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:19:bb:e9:ae:b9
        priority: 0
        vlan: 100 priority: 0 parent interface: em1
        groups: vlan
        status: active
        inet6 fe80::219:bbff:fee9:aeb9%vlan100 prefixlen 64 scopeid 0x9
        inet [...]
        inet6 2a00:1230::feed:abba prefixlen 64

carp router backup ifconfig:
carp100: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:00:5e:00:01:0a
        priority: 0
        carp: BACKUP carpdev vlan100 vhid 10 advbase 1 advskew 128
        groups: carp
        status: backup
        inet6 fe80::200:5eff:fe00:10a%carp100 prefixlen 64 scopeid 0x1d
        inet [...]
        inet6 2a00:1230::feed:cafe prefixlen 64
vlan100: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:04:23:d6:cc:41
        priority: 0
        vlan: 100 priority: 0 parent interface: em1
        groups: vlan
        status: active
        inet6 fe80::204:23ff:fed6:cc41%vlan100 prefixlen 64 scopeid 0x9
        inet [...]
        inet6 2a00:1230::feed:baba prefixlen 64

carp master "tcpdump -i vlan100 -n ip6":
tcpdump: listening on vlan100, link-type EN10MB
01:29:12.608013 2a00:1230::5049:6023 > ff02::1:ffed:cafe: icmp6: neighbor
sol: who has 2a00:1230::feed:cafe
01:29:13.230592 fe80::219:bbff:fee9:aeb9 > ff02::12: CARPv2-advertise 36:
vhid=10 advbase=1 advskew=0 demote=0
01:29:13.607932 2a00:1230::5049:6023 > ff02::1:ffed:cafe: icmp6: neighbor
sol: who has 2a00:1230::feed:cafe
01:29:14.241597 fe80::219:bbff:fee9:aeb9 > ff02::12: CARPv2-advertise 36:
vhid=10 advbase=1 advskew=0 demote=0
01:29:14.607946 2a00:1230::5049:6023 > ff02::1:ffed:cafe: icmp6: neighbor
sol: who has 2a00:1230::feed:cafi

sysctl net.inet6.icmp6.nd6_debug=1 and dmesg output on carp master:
nd6_ns_input: NS packet from non-neighbor
nd6_ns_input: src=2a00:1230::5049:6023
nd6_ns_input: dst=ff02:001d::0001:ffed:cafe
nd6_ns_input: tgt=2a00:1230::feed:cafe
nd6_ns_input: NS packet from non-neighbor
nd6_ns_input: src=2001:067c:2088::c1c0:0e0d
nd6_ns_input: dst=ff02:001e::0001:ffed:cafe
nd6_ns_input: tgt=2001:067c:2088::feed:cafe
nd6_ns_input: NS packet from non-neighbor
nd6_ns_input: src=2a00:1230::5049:6060
nd6_ns_input: dst=ff02:001d::0001:ffed:cafe
nd6_ns_input: tgt=2a00:1230::feed:cafe
[...]

> I have found that you sometimes need to ping6 the link-local address
> on a carp interface from a workstation before it will respond to ndp.

Thank's for this hint:
ping6 to link-local address works fine. But afterwards still no response on
carp inet6 address.

> For reference, this scenario happens if you run rtadvd against a carp
> interface for fail-over routers to advertise the carp address for
> routing.

At the moment I've set up static ipv6 address and routing for a few less
important services only. Rtadvd follows as the next step if the basics run
fine.

> Thanks,

feedback on patches of Alexander follows...

> Penned by Florian Fuessl on 20110805  7:00.21, we have:
> | Feature or bug?
> |
> | Latest snapshot /bsd kernel (03. Aug. 11) does not react to neighbor
> | discovery requests for inet6 address on carp master interface, here.

Reply via email to