Announce IPv6 prefix without being IPv6 gateway?

神明達哉 jinmei at wide.ad.jp
Mon Apr 24 22:16:37 UTC 2017


At Sun, 23 Apr 2017 22:48:05 +0300,
Lev Serebryakov <lev at FreeBSD.org> wrote:

> rtadvd[2663]: non-zero lifetime RA but net.inet6.ip6.forwarding=0. Ignored.
>
>  But I don't need IPv6 forwarding! I only want Prefix announcement to avoid
> manual configuration of Windows host and virtual boxes on this host!
>
>  Is it possible to achieve such configuration?

Yes it is.  You'll need to set the router lifetime to 0 in
rtadvd.conf, e.g.

           ef0:\
                   :addr="2001:db8:ffff:1000::":prefixlen#64:rltime#0:

See also rtadvd.conf(5).

--
JINMEI, Tatuya


More information about the freebsd-net mailing list