I can't get IPv6 on bridge interface to work. Configuration is simple:
/etc/rc.conf
I can reach the address on physical interface from internet:
But there is no response to the neighbor solicitation from the router for the address on the bridge interface:
Does please anyone know what I am doing wrong?
/etc/rc.conf
Code:
ifconfig_em0_ipv6="inet6 accept_rtadv"
ifconfig_em0_ipv6="inet6 xxx::123:111 prefixlen 64"
ifconfig_bridge0_ipv6="inet6 accept_rtadv"
ifconfig_bridge0_ipv6="inet6 xxx::123:222 prefixlen 64"
rtsold_enable="YES"
ipv6_defaultrouter="xxx::1"
Code:
#ifconfig
em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 08:00:27:75:29:06
inet6 fe80::a00:27ff:fe75:2906%em0 prefixlen 64 scopeid 0x1
inet6 xxx::123:111 prefixlen 64
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: EXT
ether 02:04:08:08:04:04
inet6 xxx::123:222 prefixlen 64
nd6 options=1<PERFORMNUD>
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: em0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 1 priority 128 path cost 20000
I can reach the address on physical interface from internet:
Code:
# tcpdump -ni em0 ip6
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on em0, link-type EN10MB (Ethernet), capture size 65535 bytes
11:08:34.602722 IP6 fe80::20c:42ff:fe9c:704f > ff02::1:ff23:111: ICMP6, neighbor solicitation, who has xxx::123:111, length 32
11:08:34.602799 IP6 fe80::a00:27ff:fe75:2906 > fe80::20c:42ff:fe9c:704f: ICMP6, neighbor advertisement, tgt is xxx::123:111, length 32
11:08:34.603016 IP6 yyy::215 > xxx::123:111: ICMP6, echo request, seq 0, length 16
11:08:34.603049 IP6 xxx::123:111 > yyy::215: ICMP6, echo reply, seq 0, length 16
But there is no response to the neighbor solicitation from the router for the address on the bridge interface:
Code:
# tcpdump -ni em0 ip6
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on em0, link-type EN10MB (Ethernet), capture size 65535 bytes
11:12:03.601488 IP6 fe80::20c:42ff:fe9c:704f > ff02::1:ff23:222: ICMP6, neighbor solicitation, who has xxx::123:222, length 32
11:12:04.597720 IP6 fe80::20c:42ff:fe9c:704f > ff02::1:ff23:222: ICMP6, neighbor solicitation, who has xxx::123:222, length 32
11:12:05.597753 IP6 fe80::20c:42ff:fe9c:704f > ff02::1:ff23:222: ICMP6, neighbor solicitation, who has xxx::123:222, length 32
Does please anyone know what I am doing wrong?