Make interface naming consistent in this section.

PR: 200501
Sponsored by: Essen DevSummit Hackathon
This commit is contained in:
Dru Lavigne 2015-07-25 13:55:28 +00:00
parent 934a571eb9
commit 97517c40e6
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=47078

View file

@ -4495,8 +4495,8 @@ Received 264951 bytes in 0.1 seconds</screen>
media: Ethernet autoselect (100baseTX )
status: active</programlisting>
<para>In this example,
<systemitem>fe80::200:21ff:fe03:8e1%rl0</systemitem> is an
<para>In this example, the <filename>rl0</filename> interface is
using <systemitem>fe80::200:21ff:fe03:8e1%rl0</systemitem>, an
auto-configured link-local address which was automatically
generated from the <acronym>MAC</acronym> address.</para>
@ -4602,7 +4602,7 @@ Received 264951 bytes in 0.1 seconds</screen>
client, add these two lines to
<filename>rc.conf</filename>:</para>
<programlisting>ifconfig_<replaceable>em0</replaceable>_ipv6="inet6 accept_rtadv"
<programlisting>ifconfig_<replaceable>rl0</replaceable>_ipv6="inet6 accept_rtadv"
rtsold_enable="YES"</programlisting>
<para>The first line enables the specified interface to receive
@ -4618,12 +4618,12 @@ rtsold_enable="YES"</programlisting>
<acronym>IPv6</acronym> address, add an entry to specify the
static address and associated prefix length:</para>
<programlisting>ifconfig_<replaceable>fxp0</replaceable>_ipv6="inet6 <replaceable>2001:db8:4672:6565:2026:5043:2d42:5344</replaceable> prefixlen <replaceable>64</replaceable>"</programlisting>
<programlisting>ifconfig_<replaceable>rl0</replaceable>_ipv6="inet6 <replaceable>2001:db8:4672:6565:2026:5043:2d42:5344</replaceable> prefixlen <replaceable>64</replaceable>"</programlisting>
<para>On a &os;&nbsp;8.<replaceable>x</replaceable> system, that
line uses this format instead:</para>
<programlisting>ipv6_ifconfig_<replaceable>fxp0</replaceable>="<replaceable>2001:db8:4672:6565:2026:5043:2d42:5344</replaceable>"</programlisting>
<programlisting>ipv6_ifconfig_<replaceable>rl0</replaceable>="<replaceable>2001:db8:4672:6565:2026:5043:2d42:5344</replaceable>"</programlisting>
<para>To assign a default router, specify its address:</para>
@ -4723,18 +4723,18 @@ rtsold_enable="YES"</programlisting>
<para>It is important to specify the interface on which to
do <acronym>IPv6</acronym> router solicitation. For example,
to tell &man.rtadvd.8; to use
<filename>fxp0</filename>:</para>
<filename>rl0</filename>:</para>
<programlisting>rtadvd_interfaces="fxp0"</programlisting>
<programlisting>rtadvd_interfaces="rl0"</programlisting>
<para>Next, create the configuration file,
<filename>/etc/rtadvd.conf</filename> as seen in this
example:</para>
<programlisting>fxp0:\
<programlisting>rl0:\
:addrs#1:addr="2001:471:1f11:246::":prefixlen#64:tc=ether:</programlisting>
<para>Replace <filename>fxp0</filename> with the interface
<para>Replace <filename>rl0</filename> with the interface
to be used and <systemitem>2001:471:1f11:246::</systemitem>
with the prefix of the allocation.</para>