Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Feb 2021 23:20:39 -0800
From:      Doug Hardie <bc979@lafn.org>
To:        "net@freebsd.org" <net@FreeBSD.org>
Subject:   accept_rtadv
Message-ID:  <49F826CA-266F-4A4E-AA8D-978F6F727F8C@sermon-archive.info>

next in thread | raw e-mail | index | archive | help
=46rom the Handbook:

32.9.2. Configuring IPv6
To configure a FreeBSD system as an IPv6 client, add these two lines to =
rc.conf:

ifconfig_rl0_ipv6=3D"inet6 accept_rtadv"
rtsold_enable=3D"YES"

This does not work.  I have in rc.conf:

ifconfig_bge0_ipv6=3D"inet6 accept_rtadv"
ifconfig_ue0_ipv6=3D"inet6 accept_rtadv"
ifconfig_ue1_ipv6=3D"inet6 accept_rtadv"

On all three interfaces, ifconfig shows:
nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>

ACCEPT_RTADV is not listed and sure enough router advertisements are =
ignored.  I have to manually enter:
ifconfig bge0 ipv6 accept_rtadv
for each interface.  Then ifconfig shows:

nd6 options=3D23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>

and the interface now accepts router advertisements.  This is a bug, but =
I don't know if it's in the code or the handbook.

-- Doug




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49F826CA-266F-4A4E-AA8D-978F6F727F8C>