From owner-svn-src-user@FreeBSD.ORG Wed Sep 14 03:01:34 2011 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7469E1065742; Wed, 14 Sep 2011 03:01:34 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id F3E0F8FC14; Wed, 14 Sep 2011 03:01:30 +0000 (UTC) Received: by mail-yi0-f54.google.com with SMTP id 19so1256541yib.13 for ; Tue, 13 Sep 2011 20:01:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=BRQKYldCzKKoQ3raP4Ld0SLT0s0+IwoC5g+WJOJZi2s=; b=WCB8+wrPJEDVpLYMVLX7f+/pKzudmcT4Bc9PC8naos2oEDRLRv3DzDZDt2telLGbjO FM0XnbG0Du0WmtFxl4teDDe8iW6Tu5lH0XZz95Xhd+kZ4I8/0e34rFk9VqM/Xch17CJN PWzVWdPNk2bLUQbVRInF7HfW6qu7V6kDPsLJk= MIME-Version: 1.0 Received: by 10.236.180.1 with SMTP id i1mr39005455yhm.3.1315969290356; Tue, 13 Sep 2011 20:01:30 -0700 (PDT) Received: by 10.236.111.17 with HTTP; Tue, 13 Sep 2011 20:01:30 -0700 (PDT) In-Reply-To: <201109140145.p8E1jCHt005266@svn.freebsd.org> References: <201109140145.p8E1jCHt005266@svn.freebsd.org> Date: Tue, 13 Sep 2011 23:01:30 -0400 Message-ID: From: Ben Kaduk To: Hiroki Sato Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: Re: svn commit: r225543 - user/hrs/ipv6/share/man/man5 X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2011 03:01:34 -0000 On Tue, Sep 13, 2011 at 9:45 PM, Hiroki Sato wrote: > Author: hrs > Date: Wed Sep 14 01:45:12 2011 > New Revision: 225543 > URL: http://svn.freebsd.org/changeset/base/225543 > > Modified: user/hrs/ipv6/share/man/man5/rc.conf.5 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- user/hrs/ipv6/share/man/man5/rc.conf.5 =A0 =A0 =A0Wed Sep 14 00:40:00= 2011 =A0 =A0 =A0 =A0(r225542) > +++ user/hrs/ipv6/share/man/man5/rc.conf.5 =A0 =A0 =A0Wed Sep 14 01:45:12= 2011 =A0 =A0 =A0 =A0(r225543) > @@ -1311,19 +1317,45 @@ If the variable is > =A0the default address selection policy table set by > =A0.Xr ip6addrctl 8 > =A0will be IPv4-preferred. > -.Pp > -This variable is deprecated. =A0Use > -.Va ip6addrctl_policy > -instead. > =A0.It Va ipv6_activate_all_interfaces > +.Pq Vt bool > +This controls initial configuration on IPv6-capable > +interfaces with no corresponding > +.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 > +variable. > +Note that it is not always necessary to set this variable to > +.Dq YES > +to use IPv6 functionality on > +.Fx . > +In most cases, just configuring > +.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 > +variables works. > +.Pp > =A0If the variable is > =A0.Dq Li NO , > -all of interfaces which do not have the corrsponding > +all of interfaces which do not have the corresponding s/of//; s/the/a/ > =A0.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 > =A0variable will be marked as > =A0.Dq Li IFDISABLED > -for security reason. =A0This means only IPv6 functionality on that inter= face > -is completely disabled. =A0For more details of > +when it becomes available for security reason. "will be marked as IFDISABLED when it becomes available for security reason" is very hard to parse. Maybe "will be marked as IFDISABLED at creation, enforcing a security policy"? > +This means only IPv6 functionality on that interface > +is completely disabled. "All IPv6 functionality on that interface is completely disabled." > +If the variable is set to > +.Dq YES , > +the flag will be cleared on all of the interfaces. > +.Pp > +In most cases, just defining an > +.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 > +for an IPv6-capable interface should be sufficient. > +However, if an interface is added dynamically > +.Pq by some tunneling protocols such as PPP, for example I think a comma after "for example". > +it is often difficult to define the variable in advance. > +In such a case, configuring the s/configuring/automatic setting of/ > +.Dq Li IFDISABLED > +flag can be disabled by setting this variable to > +.Dq YES . > +.Pp > +For more details of s/$/the/ > =A0.Dq Li IFDISABLED > =A0flag and keywords > =A0.Dq Li inet6 ifdisabled , > @@ -1360,16 +1433,36 @@ ifconfig_ed0_ipv6=3D"inet6 2001:db8:1::1 p > =A0ifconfig_ed0_alias0=3D"inet6 2001:db8:2::1 prefixlen 64" > =A0.Ed > =A0.Pp > +Note that a link-local address will be automatically configured in > +addition to the configured global-scope addresses because the IPv6 > +specifications require it on each link. > +The address is calculated from the MAC address by using an algorithm > +defined in > +.Rs > +.%T "RFC 4862" > +.%O "Section 5.3" > +.Re > +.Pp > +If only a link-local address is needed on the interface, > +the following configuration can be used: > +.Bd -literal > +ifconfig_ed0_ipv6=3D"inet6 auto_linklocal" > +.Ed > +.Pp > +A link-local address can also be configured manually. > +This is useful for the default router address of an IPv6 router > +because it is not changed by replacing the network interface I would say "so that it does not change when the network interface card is replaced". -Ben Kaduk > +card, for example: > +.Bd -literal > +ifconfig_ed0_ipv6=3D"inet6 fe80::1 prefixlen 64" > +.Ed > +.Pp > =A0Interfaces that have an > =A0.Dq Li inet6 accept_rtadv > =A0keyword in > =A0.Va ifconfig_ Ns Ao Ar interface Ac Ns _ipv6 > =A0setting will be automatically configured by > =A0.Xr rtsol 8 . > -Note that this automatic configuration is disabled if the > -.Va ipv6_gateway_enable > -is set to > -.Dq Li YES . > =A0.It Va ipv6_prefix_ Ns Aq Ar interface > =A0.Pq Vt str > =A0If one or more prefixes are defined in