This is a fresh install of FreeBSD 11.2 with essentially default option; IPv4 is enabled over DHCP and IPv6 is enabled over SLAAC. I get an IPv6 address but no outbound routes seem to work, and when I attempt to add default routes it complains that they are already in the routing table. I'm a bit confused on how to progress further, because IPv6 pings to the host work, but not the other way around.
I've faced a similar issue in the past with jails, where the host worked with IPv6 but the jails did not, however I "solved" that issue by forcing the jails to use IPv4 only. I'd rather not do that this time around if possible. Is there any config options I've missed? I've attempted setting
ifconfig
ping6 to the host
ping6 from the host
/etc/rc.conf
netstat -6nr
I've faced a similar issue in the past with jails, where the host worked with IPv6 but the jails did not, however I "solved" that issue by forcing the jails to use IPv4 only. I'd rather not do that this time around if possible. Is there any config options I've missed? I've attempted setting
ipv6_defaultrouter
in /etc/rc.conf to both the fe80::%vtnet0 address and the 2001: address reported by the router, but again route complains that those are already in the table.ifconfig
Code:
vtnet0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=6c07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
ether 08:00:27:73:7f:3a
hwaddr 08:00:27:73:7f:3a
inet6 fe80::a00:27ff:fe73:7f3a%vtnet0 prefixlen 64 scopeid 0x1
inet6 2001:xxxx:xxxx:e300:a00:27ff:fe73:7f3a prefixlen 64 autoconf
inet 192.168.1.70 netmask 0xffffff00 broadcast 192.168.1.255
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
media: Ethernet 10Gbase-T <full-duplex>
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
groups: lo
ping6 to the host
Code:
$ ping [2001:xxxx:xxxx:e300:a00:27ff:fe73:7f3a]
Pinging 2001:xxxx:xxxx:e300:a00:27ff:fe73:7f3a with 32 bytes of data:
Reply from 2001:xxxx:xxxx:e300:a00:27ff:fe73:7f3a: time<1ms
ping6 from the host
Code:
PING6(56=40+8+8 bytes) 2001:xxxx:xxxx:e300:a00:27ff:fe73:7f3a --> 2001:xxxx:xxxx:e300:ec75:8914:843e:d4dd
^C
--- 2001:xxxx:xxxx:e300:ec75:8914:843e:d4dd ping6 statistics ---
6 packets transmitted, 0 packets received, 100.0% packet loss
/etc/rc.conf
Code:
ifconfig_vtnet0="DHCP"
ifconfig_vtnet0_ipv6="inet6 accept_rtadv"
rtsold_enable="YES"
netstat -6nr
Code:
Routing tables
Internet6:
Destination Gateway Flags Netif Expire
::/96 ::1 UGRS lo0
default fe80::1278:5bff:fecf:3a60%vtnet0 UG vtnet0
::1 link#2 UH lo0
::ffff:0.0.0.0/96 ::1 UGRS lo0
2001:xxxx:xxxx:e300::/64 link#1 U vtnet0
2001:xxxx:xxxx:e300:a00:27ff:fe73:7f3a link#1 UHS lo0
fe80::/10 ::1 UGRS lo0
fe80::%vtnet0/64 link#1 U vtnet0
fe80::a00:27ff:fe73:7f3a%vtnet0 link#1 UHS lo0
fe80::%lo0/64 link#2 U lo0
fe80::1%lo0 link#2 UHS lo0
ff02::/16 ::1 UGRS lo0