svn commit: r39206 -
head/en_US.ISO8859-1/books/handbook/advanced-networking
Glen Barber
gjb at FreeBSD.org
Sun Jul 15 06:56:48 UTC 2012
Author: gjb
Date: Sun Jul 15 06:56:47 2012
New Revision: 39206
URL: http://svn.freebsd.org/changeset/doc/39206
Log:
- ipv6_enable is deprecated; use ip6_prefer instead.
- ipv6_ifconfig_{interface} is deprecated in favor of
ifconfig_{interface}_ipv6; additionally, the latter requires the
specification of 'inet6'.
Modified:
head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml
Modified: head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml Sun Jul 15 03:21:27 2012 (r39205)
+++ head/en_US.ISO8859-1/books/handbook/advanced-networking/chapter.sgml Sun Jul 15 06:56:47 2012 (r39206)
@@ -5972,13 +5972,19 @@ round-trip min/avg/max/stddev = 2.530/2.
have &man.rtsol.8; autoconfigure your interface on boot all
you need to add is:</para>
- <programlisting>ipv6_enable="YES"</programlisting>
+ <programlisting>ipv6_prefer="YES"</programlisting>
<para>To statically assign an IP address such as <hostid
role="ip6addr">2001:471:1f11:251:290:27ff:fee0:2093</hostid>,
to your <devicename>fxp0</devicename> interface, add:</para>
- <programlisting>ipv6_ifconfig_fxp0="2001:471:1f11:251:290:27ff:fee0:2093"</programlisting>
+ <programlisting>ifconfig_fxp0_ipv6="inet6 2001:471:1f11:251:290:27ff:fee0:2093 prefixlen <replaceable>64</replaceable>"</programlisting>
+
+ <note>
+ <para>Be sure to change <replaceable>prefixlen
+ 64</replaceable> to the appropriate value for the subnet
+ within which the computer is networked.</para>
+ </note>
<para>To assign a default router of
<hostid role="ip6addr">2001:471:1f11:251::1</hostid> add the
@@ -6011,7 +6017,7 @@ round-trip min/avg/max/stddev = 2.530/2.
<para>To apply the IPv6 address you have been assigned for use
as your IPv6 tunnel endpoint, add:</para>
- <programlisting>ipv6_ifconfig_gif0="<replaceable>MY_ASSIGNED_IPv6_TUNNEL_ENDPOINT_ADDR</replaceable>"</programlisting>
+ <programlisting>ifconfig_gif0_ipv6="inet6 <replaceable>MY_ASSIGNED_IPv6_TUNNEL_ENDPOINT_ADDR</replaceable>"</programlisting>
<para>Then all you have to do is set the default route for
IPv6. This is the other side of the IPv6 tunnel:</para>
More information about the svn-doc-head
mailing list