I have a router configured as a v4 NAT gateway. All is working well. When I try and configure ipv6, I get a network for the clients from my provider but clients do not have an ipv6 default route installed.
I'm using dhcp6c, rtadvd, and rtsold and pf has a generic "pass in all on LAN" policy. Clients do get an ipv6 address in 2601:1000:1014:5:aaaa::/64 but, as stated above, no default route for ipv6.
Any help is appreciated greatly!
I'm using dhcp6c, rtadvd, and rtsold and pf has a generic "pass in all on LAN" policy. Clients do get an ipv6 address in 2601:1000:1014:5:aaaa::/64 but, as stated above, no default route for ipv6.
Any help is appreciated greatly!
Code:
freebsd# uname -a
FreeBSD freebsd 12.2-STABLE FreeBSD 12.2-STABLE r369282 GENERIC arm64
freebsd# egrep '(ipv6|dhcp6|rtsol|rtadv)' /etc/rc.conf
ipv6_gateway_enable="YES"
ipv6_cpe_wanif="ue1"
ifconfig_ue1_ipv6="inet6 accept_rtadv"
ifconfig_ue2_ipv6="inet6 auto_linklocal"
ipv6_activate_all_interfaces="YES"
ipv6_default_interface="ue2"
dhcp6c_enable="YES"
dhcp6c_interfaces="ue1"
dhcp6c_flags="-d -d -D -D"
rtadvd_enable="YES"
rtadvd_interfaces="ue2"
rtsold_enable="YES"
freebsd# cat /etc/rtadvd.conf
ue2:\
:prefixlen#64:rltime#0:
freebsd# cat /usr/local/etc/dhcp6c.conf
interface ue1 {
send ia-pd 0;
send ia-na 1;
send rapid-commit;
};
id-assoc pd 0 {
prefix ::/64 infinity;
prefix-interface ue2 {
sla-id 0;
sla-len 0;
};
};
id-assoc na 1 {
};
WAN Interface
ue1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8000b<RXCSUM,TXCSUM,VLAN_MTU,LINKSTATE>
ether d8:eb:97:b8:7d:94
inet6 fe80::aaaa:97ff:feb8:7d94%ue1 prefixlen 64 scopeid 0x4
inet6 2601:1000:1014:0:aaaa:97ff:feb8:7d94 prefixlen 64 autoconf
inet 10.14.132.3 netmask 0xfffffc00 broadcast 10.14.135.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
LAN Interface
ue2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8000b<RXCSUM,TXCSUM,VLAN_MTU,LINKSTATE>
ether d8:eb:97:b8:f3:8b
inet 192.168.73.1 netmask 0xffffff00 broadcast 192.168.73.255
inet6 fe80::aaaa:97ff:feb8:f38b%ue2 prefixlen 64 scopeid 0x5
inet6 2601:1000:1014:5:aaaa:97ff:feb8:f38b prefixlen 64
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=63<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL,NO_RADR>
NDP table
freebsd# ndp -an
Neighbor Linklayer Address Netif Expire S Flags
fe80::7d:5978:2ea5:1c6%ue2 88:66:5a:0e:19:10 ue2 23h21m17s S
2601:1000:1014:5:aaaa:97ff:feb8:f38b aa:aa:97:b8:f3:8b ue2 permanent R
fe80::aaaa:97ff:feb8:f38b%ue2 aa:aa:97:b8:f3:8b ue2 permanent R
fe80::c6ad:34ff:fe00:7ca8%ue1 c4:ad:34:00:7c:a8 ue1 3s R R
2601:1000:1014:0:aaaa:97ff:feb8:7d94 aa:aa:97:b8:7d:94 ue1 permanent R
fe80::aaaa:97ff:feb8:7d94%ue1 aa:aa:97:b8:7d:94 ue1 permanent R
fe80::ba27:ebff:fe71:ecd5%ue0 b8:27:eb:71:ec:d5 ue0 permanent R