Update to r42590:
- Fix IPv6 Setup instructions for the handbook [1] - Break the auto/static configure sections apart to make it easier to tell the difference - Add some replaceable tags - Switch to using the IPv6 doc prefix - Fix a few small typos Reviewed by: bcr Differential Revision: https://reviews.freebsd.org/D4275
This commit is contained in:
parent
16ec2b5832
commit
ff6b86fe82
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=47801
1 changed files with 29 additions and 19 deletions
|
@ -5277,34 +5277,44 @@ rl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
|
|||
IPv6 anpassen</title>
|
||||
|
||||
<sect3>
|
||||
<title>Einen Client unter <acronym>IPv6</acronym>
|
||||
einrichten</title>
|
||||
<title><acronym>IPv6</acronym> Client
|
||||
Autokonfiguration</title>
|
||||
|
||||
<para>Dieser Abschnitt beschreibt die Konfiguration eines
|
||||
Rechners, der in dem <acronym>LAN</acronym> als Client, aber
|
||||
nicht als Router verwendet wird. Um die Schnittstelle
|
||||
während des Systemstarts mit &man.rtsol.8; automatisch
|
||||
einzurichten, fügen Sie folgende Zeile für
|
||||
&os; 9.<replaceable>x</replaceable> (und neuer) in
|
||||
<filename>/etc/rc.conf</filename> ein:</para>
|
||||
<para>Zwei Dinge sind erforderlich, um eine Maschine in einem
|
||||
<acronym>LAN</acronym>, die als Client und nicht als Router
|
||||
verwendet wird, automatisch zu konfigurieren. Zuerst müssen
|
||||
Sie es der Schnittstelle <filename>em0</filename>
|
||||
ermöglichen, Router-Solicitation-Nachrichten zu empfangen.
|
||||
Fügen Sie dazu folgende Zeile in
|
||||
<filename>/etc/rc.conf</filename> ein:</para>
|
||||
|
||||
<programlisting>ipv6_prefer="YES"</programlisting>
|
||||
<programlisting>ifconfig_<replaceable>em0</replaceable>_ipv6="inet6 accept_rtadv"</programlisting>
|
||||
|
||||
<para>Danach sollte der Router-Solicitation Dienst,
|
||||
&man.rtsol.8; durch folgende Zeile in
|
||||
<filename>/etc/rc.conf</filename> aktiviert werden:</para>
|
||||
|
||||
<programlisting>rtsold_enable="YES"</programlisting>
|
||||
|
||||
<para>Für &os; 8.<replaceable>x</replaceable> (und älter)
|
||||
fügen Sie stattdessen folgende Zeile hinzu:</para>
|
||||
|
||||
<programlisting>ipv6_enable="YES"</programlisting>
|
||||
</sect3>
|
||||
|
||||
<sect3>
|
||||
<title><acronym>IPv6</acronym> Statische Client
|
||||
Konfiguration</title>
|
||||
|
||||
<para>Unter &os; 9.<replaceable>x</replaceable> weisen
|
||||
Sie durch die folgende Zeile der Schnittstelle
|
||||
<filename>fxp0</filename> die statische
|
||||
<acronym>IPv6</acronym>-Adresse
|
||||
<systemitem>2001:471:1f11:251:290:27ff:fee0:2093</systemitem>
|
||||
<systemitem>2001:db8:4672:6565:2026:5043:2d42:5344</systemitem>
|
||||
zu:</para>
|
||||
|
||||
<programlisting>ifconfig_fxp0_ipv6="inet6
|
||||
2001:471:1f11:251:290:27ff:fee0:2093 prefixlen
|
||||
<replaceable>64</replaceable>"</programlisting>
|
||||
<programlisting>ifconfig_<replaceable>fxp0</replaceable>_ipv6="inet6
|
||||
2001:db8:4672:6565:2026:5043:2d42:5344 prefixlen 64"</programlisting>
|
||||
|
||||
<note>
|
||||
<para>Achten Sie darauf, <replaceable>prefixlen
|
||||
|
@ -5315,13 +5325,13 @@ rl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
|
|||
<para>Für &os; 8.<replaceable>x</replaceable> fügen
|
||||
Sie dagegen folgende Zeile hinzu:</para>
|
||||
|
||||
<programlisting>ipv6_ifconfig_fxp0="2001:471:1f11:251:290:27ff:fee0:2093"</programlisting>
|
||||
<programlisting>ipv6_ifconfig_<replaceable>fxp0</replaceable>="2001:db8:4672:6565:2026:5043:2d42:5344"</programlisting>
|
||||
|
||||
<para>Um <systemitem>2001:471:1f11:251::1</systemitem>
|
||||
<para>Um <systemitem>2001:db8:4672:6565::1</systemitem>
|
||||
als Standardrouter festzulegen, fügen Sie folgende Zeile
|
||||
in <filename>/etc/rc.conf</filename> ein:</para>
|
||||
|
||||
<programlisting>ipv6_defaultrouter="2001:471:1f11:251::1"</programlisting>
|
||||
<programlisting>ipv6_defaultrouter="2001:db8:4672:6565::1"</programlisting>
|
||||
</sect3>
|
||||
|
||||
<sect3>
|
||||
|
@ -5338,9 +5348,9 @@ rl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
|
|||
|
||||
<para>Listen Sie die einzurichtenden Tunnelschnittstellen
|
||||
auf. Dieses Beispiel konfiguriert die Schnittstelle
|
||||
<filename>gif0</filename>:</para>
|
||||
<filename>gif<replaceable>0</replaceable></filename>:</para>
|
||||
|
||||
<programlisting>gif_interfaces="gif0"</programlisting>
|
||||
<programlisting>gif_interfaces="gif<replaceable>0</replaceable>"</programlisting>
|
||||
|
||||
<para>Um den lokalen Endpunkt
|
||||
<replaceable>MY_IPv4_ADDR</replaceable> über diese
|
||||
|
|
Loading…
Reference in a new issue