Hello,
I’m running a FreeBSD (13.2-RELEASE-p2) gateway between my LAN and internet.
On the WAN side (em1) it’s hooked to a freebox (the fiber "modem" of my provider) setup in bridge mode.
Relevant rc configuration:
On the freebox management web GUI I have 8 /64 subnets I can use. In order to use one of them I must fill in em1’s inet6 local link address in the next hop field. See image below.

So:
- I execute
- I add this to my rc.conf:
- I reboot
After the reboot I have:
and it appears to be OK, but:
I’ve tried countless things but never got a working setup… Any help appreciated!
I’m running a FreeBSD (13.2-RELEASE-p2) gateway between my LAN and internet.
On the WAN side (em1) it’s hooked to a freebox (the fiber "modem" of my provider) setup in bridge mode.
Relevant rc configuration:
Code:
ifconfig_em1="DHCP"
gateway_enable="YES"
ifconfig_em0="inet 192.168.0.1 netmask 255.255.255.0"
wlans_ath0="wlan0"
create_args_wlan0="wlanmode hostap country FR chanlist 12-13"
ifconfig_wlan0="inet 192.168.1.1 netmask 255.255.255.0 ssid boleskine up"
cloned_interfaces="bridge0"
ifconfig_bridge0="inet 192.168.2.1 netmask 255.255.255.0 up"
pf_enable="YES"
On the freebox management web GUI I have 8 /64 subnets I can use. In order to use one of them I must fill in em1’s inet6 local link address in the next hop field. See image below.

So:
- I execute
sudo ifconfig em1 inet6 -ifdisabled
to activate inet6 and get the local link address for em1 that I paste in the next hop field of one of these /64 subnets- I add this to my rc.conf:
Code:
ifconfig_em1_ipv6="inet6 accept_rtadv"
rtsold_enable="YES"
After the reboot I have:
Code:
em1: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=481249b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LRO,WOL_MAGIC,VLAN_HWFILTER,NOMAP>
ether 70:54:xx:xx:xx:xx
inet6 fe80::7254:d2ff:yada:yada%em1 prefixlen 64 scopeid 0x2
inet6 2a01:e34:lala:lili:lulu:lele:lolo:lyly prefixlen 64 autoconf
inet 78.bbb.ccc.ddd netmask 0xffffff00 broadcast 78.bbb.ccc.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
and it appears to be OK, but:
Code:
# ping -6 google.com
PING6(56=40+8+8 bytes) 2a01:e34:lala:lili:lulu:lele:lolo:lyly --> 2a00:1450:4007:807::200e
ping: sendmsg: Permission denied
ping6: wrote google.com 16 chars, ret=-1
ping: sendmsg: Permission denied
ping6: wrote google.com 16 chars, ret=-1
…
I’ve tried countless things but never got a working setup… Any help appreciated!