accept_rtadv
Karl Denninger
karl at denninger.net
Sat Feb 27 13:38:01 UTC 2021
On 2/27/2021 02:20, Doug Hardie wrote:
> From 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="inet6 accept_rtadv"
> rtsold_enable="YES"
>
> This does not work. I have in rc.conf:
>
> ifconfig_bge0_ipv6="inet6 accept_rtadv"
> ifconfig_ue0_ipv6="inet6 accept_rtadv"
> ifconfig_ue1_ipv6="inet6 accept_rtadv"
>
> On all three interfaces, ifconfig shows:
> nd6 options=21<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=23<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
>
I'm running 12.2-STABLE and have no problem with this; snippet from
/etc/rc.conf:
#
# IPv6 on internal interface, autoconfigure
#
ifconfig_igb0_ipv6="inet6 accept_rtadv"
rtsold_enable="YES"
And it does.
.....
(addresses and options)
status: active
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
--
Karl Denninger
karl at denninger.net <mailto:karl at denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4897 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20210227/bb9e1088/attachment.bin>
More information about the freebsd-net
mailing list