And what about ipv6_defaultrouter?

Hiroki Sato hrs at
Fri Jun 10 13:53:07 UTC 2016

Niklaas Baudet von Gersdorff <stdin at> wrote
  in <20160610071254.GC2817 at>:

st> Niklaas Baudet von Gersdorff [2016-06-10 08:52 +0200] :
st> > --------------------8<--------------------
st> > ifconfig_vtnet0="DHCP"
st> > ifconfig_vtnet0_ipv6="inet6 accept_rtadv"
st> > rtsold_enable="YES"
st> > -------------------->8--------------------
st> [...]
st> > --------------------8<--------------------
st> > ipv6_defaultrouter="<IPv6-gateway>"
st> > -------------------->8--------------------
st> Plus these lines:
st> --------------------8<--------------------
st> gateway_enable="YES"
st> ipv6_gateway_enable="YES"
st> -------------------->8--------------------

 A router does not accept RAs (more strictly, default route
 information in RA) because it is a sender of RAs.  However, some
 devices such as CPE need to behave like a host for the uplink and a
 router for the LAN.  In that case, an interface on the WAN side has
 to accept RAs and one on the LAN side has to send RAs.

 On FreeBSD, there is a knob to support it.  Set the following
 variable to rc.conf in addition to your current configuration:


 This touches some per-IF flags and sysctls.  For more complex
 configurations such as having two or more uplinks you need to set
 them manually, but if you have only one uplink the above variable
 should do the trick.

 And, $rtsold_enable is not required unless you want to get DNS server
 information from RAs.

-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <>

More information about the freebsd-questions mailing list