- 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'.
This commit is contained in:
Glen Barber 2012-07-15 06:56:47 +00:00
parent 7e92217cf0
commit c4048df496
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=39206

View file

@ -5972,13 +5972,19 @@ round-trip min/avg/max/stddev = 2.530/2.643/2.774/0.103 ms</screen>
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.643/2.774/0.103 ms</screen>
<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>