Correct a few entries that were mistakenly changed which would adversely

affect users of 8.x and prior by noting separate rc.conf(5) entries for
8.x and earlier or 9.x and later.

Spotted by:	dougb
Pointyhat to:	gjb (myself)
This commit is contained in:
Glen Barber 2012-07-15 07:36:14 +00:00
parent c4048df496
commit 0e3359406f
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=39207

View file

@ -5969,14 +5969,23 @@ round-trip min/avg/max/stddev = 2.530/2.643/2.774/0.103 ms</screen>
<para>These settings will help you configure a machine that
will be on your LAN and act as a client, not a router. To
have &man.rtsol.8; autoconfigure your interface on boot all
you need to add is:</para>
have &man.rtsol.8; autoconfigure your interface on boot on
&os;&nbsp;9.<replaceable>x</replaceable> and later,
add:</para>
<programlisting>ipv6_prefer="YES"</programlisting>
<para>to <filename>rc.conf</filename>.</para>
<para>For &os;&nbsp;8.<replaceable>x</replaceable> and
earlier, add:</para>
<programlisting>ipv6_enable="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>
to your <devicename>fxp0</devicename> interface, add the
following for &os;&nbsp;9.<replaceable>x</replaceable>:</para>
<programlisting>ifconfig_fxp0_ipv6="inet6 2001:471:1f11:251:290:27ff:fee0:2093 prefixlen <replaceable>64</replaceable>"</programlisting>
@ -5986,6 +5995,11 @@ round-trip min/avg/max/stddev = 2.530/2.643/2.774/0.103 ms</screen>
within which the computer is networked.</para>
</note>
<para>For &os;&nbsp;8<replaceable>x</replaceable> and earlier,
add:</para>
<programlisting>ipv6_ifconfig_fxp0="2001:471:1f11:251:290:27ff:fee0:2093"</programlisting>
<para>To assign a default router of
<hostid role="ip6addr">2001:471:1f11:251::1</hostid> add the
following to <filename>/etc/rc.conf</filename>:</para>
@ -6015,10 +6029,15 @@ round-trip min/avg/max/stddev = 2.530/2.643/2.774/0.103 ms</screen>
<programlisting>gifconfig_gif0="<replaceable>MY_IPv4_ADDR REMOTE_IPv4_ADDR</replaceable>"</programlisting>
<para>To apply the IPv6 address you have been assigned for use
as your IPv6 tunnel endpoint, add:</para>
as your IPv6 tunnel endpoint, add the following for
&os;&nbsp;9.<replaceable>x</replaceable> and later:</para>
<programlisting>ifconfig_gif0_ipv6="inet6 <replaceable>MY_ASSIGNED_IPv6_TUNNEL_ENDPOINT_ADDR</replaceable>"</programlisting>
<para>For &os;&nbsp;8.<replaceable>x</replaceable> and
earlier, add:</para>
<programlisting>ipv6_ifconfig_gif0="<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>