May I ask why you did this:> I "ported" the if_stf patch from OPNSense to FBSD 11.2-p5 aBecause we have a src.git with a master branch (11.2) and a stable/18.7 (11.1) that both have this included and working ok?
Would you mind sharing the solution for likeminded individuals?
cloned_interfaces="stf0"ifconfig_stf0_ipv6="inet6 accept_rtadv <ISP 32 bit prefix>:<my ext addr in hex>::1/64"create_args_stf0="mtu 1480 stfv4net <my ext IP>/32 stfv4br <ISP supplied 6rd bridge IP> link2"
/64 is problematic if you want to have our LAN clients use it. The route will not match up and traffic doesn't know where to go. You should see if you can get away with a /63 or greater.
ipv6_gateway_enable="YES" #Tell the system that we're acting as IPv6 gatewayipv6_defaultrouter="-iface stf0" #Bind forward routing to tunnel interfaceifconfig_xxx0="SYNCDHCP" #My external NIC getting IP via DHCPifconfig_xxx0="inet 192.168.xx.yy netmask 255.255.255.0" #Setting up intenal netifconfig_xxx0_alias0="inet 192.168.xx.yy netmask 255.255.255.0" #As we serve rtadv via this,ifconfig_xxx0_ipv6="inet6 -accept_rtadv <ISP 32 bit prefix>:<my ext addr in hex>::1" #thus -accept_rtadvdcloned_interfaces="stf0" #6rd tunnel, using ISP supplied prefixifconfig_stf0_ipv6="inet6 accept_rtadv 2001:2003:54f8:1bc8::/32" #length as mask.create_args_stf0="mtu 1480 stfv4net 84.248.27.200/32 stfv4br 80.221.111.254 link2" #Set up the tunnelwlans_xxx0="wlan0"create_args_wlan0="wlanmode hostap..." #And the wlanifconfig_wlan0="inet 192.168.xx.zz netmask 255.255.255.0" #Similar to internal wiredifconfig_wlan0_ipv6="inet6 -accept_rtadv <ISP 32 bit prefix>:<my ext addr in hex>::2/64"#ifconfig_wlan0_ipv6="inet6 -accept_rtadv"rtsold_enable="YES" #Enable the routing daemons on relevant interfaces rtadvd_enable="YES"rtadvd_interfaces="rl0 wlan0"