Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2012 21:41:13 GMT
From:      Olivier Cochard-Labbé <olivier@cochard.me>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/170223: IPv6 configuration section for 9.x is incorrect
Message-ID:  <201207272141.q6RLfDIc085060@red.freebsd.org>
Resent-Message-ID: <201207272150.q6RLo6EY012818@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170223
>Category:       docs
>Synopsis:       IPv6 configuration section for 9.x is incorrect
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 27 21:50:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Cochard-Labbé
>Release:        9.1-prerelease
>Organization:
BSDRP
>Environment:
FreeBSD R1 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Thu Jul 26 15:04:16 CEST 2012     root@orange.bsdrp.net:/usr/obj/BSDRP.amd64/usr/local/BSDRP/FreeBSD/src/sys/BSDRP-AMD64  amd64
>Description:
Hi,
the section "32.12.5.1 IPv6 Client Settings" of the handbook is wrong.

It says:

To have rtsol(8) autoconfigure your interface on boot on FreeBSD 9.x and later, add:
ipv6_prefer="YES"
to rc.conf.

=> This is totally wrong, if you put ipv6_prefer on a 9.x it will say:
"WARNING: $ipv6_prefer is obsolete.  Ignored."

A working method on a 9.0 is to configure the rc.conf like this:
ipv6_enable="YES"
ipv6_network_interfaces="em0"

A working method on a 9.1-prerelease is to configure the rc.conf like that:
ipv6_activate_all_interfaces="YES"
ifconfig_em0_ipv6="inet6 accept_rtadv"

(without the last line, the interface will not accept the rtadv: Then no global address neither default route).

Regards,
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207272141.q6RLfDIc085060>