Add a new translated section (ATM).
This commit is contained in:
parent
db5f0c9d7f
commit
817debd135
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=20643
1 changed files with 194 additions and 0 deletions
|
@ -3765,6 +3765,200 @@ gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
|
|||
les enregistrements AAAA.</para>
|
||||
</sect2>
|
||||
</sect1>
|
||||
|
||||
<sect1 id="network-atm">
|
||||
<sect1info>
|
||||
<authorgroup>
|
||||
<author>
|
||||
<firstname>Harti</firstname>
|
||||
<surname>Brandt</surname>
|
||||
<contrib>Contribution de </contrib>
|
||||
</author>
|
||||
</authorgroup>
|
||||
</sect1info>
|
||||
|
||||
<title>ATM sous &os; 5.X</title>
|
||||
|
||||
<sect2>
|
||||
<title>Configuration IP conventionnelle sur ATM (PVCs)</title>
|
||||
|
||||
<para>L'IP conventionnelle sur ATM (“Classical IP over
|
||||
ATM”—<acronym>CLIP</acronym>) est la
|
||||
méthode la plus simple pour utiliser ATM avec l'IP.
|
||||
Elle peut être utilisée en mode non
|
||||
connecté (“Switched Virtual
|
||||
Connections”—SVCs) et en mode connecté
|
||||
(“Permanent Virtual Connections”—PVCs).
|
||||
Cette section décrit comment configurer un
|
||||
réseau basé sur les PVCs.</para>
|
||||
|
||||
<sect3>
|
||||
<title>Configurations en réseau maillé</title>
|
||||
|
||||
<para>La première méthode de configuration
|
||||
<acronym>CLIP</acronym> avec des PVCs est de connecter entre
|
||||
elles chaque machine du réseau par
|
||||
l'intermédiaire d'une PVC dédiée. Bien
|
||||
que cela soit simple à configurer, cela tend à
|
||||
devenir impraticable avec un nombre important de machines.
|
||||
Notre exemple suppose que nous avons quatre machines sur le
|
||||
réseau, chacune connectée au réseau ATM
|
||||
à l'aide d'une carte réseau ATM. La
|
||||
première étape est d'établir le plan
|
||||
des adresses IP et des connexions ATM entre machines. Nous
|
||||
utilisons le plan suivant:</para>
|
||||
|
||||
<informaltable frame="none">
|
||||
<tgroup cols="2">
|
||||
<colspec colwidth="1*">
|
||||
<colspec colwidth="1*">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>Machine</entry>
|
||||
<entry>Adresse IP</entry>
|
||||
</row>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<row>
|
||||
<entry><hostid>hostA</hostid></entry>
|
||||
<entry><hostid role="ipaddr">192.168.173.1</hostid></entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><hostid>hostB</hostid></entry>
|
||||
<entry><hostid role="ipaddr">192.168.173.2</hostid></entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><hostid>hostC</hostid></entry>
|
||||
<entry><hostid role="ipaddr">192.168.173.3</hostid></entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><hostid>hostD</hostid></entry>
|
||||
<entry><hostid role="ipaddr">192.168.173.4</hostid></entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
|
||||
<para>Pour réaliser un réseau maillé,
|
||||
nous avons besoin d'une connexion ATM entre chaque paire de
|
||||
machines:</para>
|
||||
|
||||
<informaltable frame="none">
|
||||
<tgroup cols="2">
|
||||
<colspec colwidth="1*">
|
||||
<colspec colwidth="1*">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>Machines</entry>
|
||||
<entry>Couple VPI.VCI</entry>
|
||||
</row>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<row>
|
||||
<entry><hostid>hostA</hostid> - <hostid>hostB</hostid></entry>
|
||||
<entry>0.100</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><hostid>hostA</hostid> - <hostid>hostC</hostid></entry>
|
||||
<entry>0.101</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><hostid>hostA</hostid> - <hostid>hostD</hostid></entry>
|
||||
<entry>0.102</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><hostid>hostB</hostid> - <hostid>hostC</hostid></entry>
|
||||
<entry>0.103</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><hostid>hostB</hostid> - <hostid>hostD</hostid></entry>
|
||||
<entry>0.104</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><hostid>hostC</hostid> - <hostid>hostD</hostid></entry>
|
||||
<entry>0.105</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
|
||||
<para>Les valeurs VPI et VCI à chaque
|
||||
extrémité de la connexion peuvent bien
|
||||
évidemment être différentes, mais par
|
||||
souci de simplicité nous supposerons quelles sont
|
||||
identiques. Ensuite nous devons configurer les interfaces
|
||||
ATM sur chaque machine:</para>
|
||||
|
||||
<screen>hostA&prompt.root; ifconfig hatm0 192.168.173.1 up
|
||||
hostB&prompt.root; ifconfig hatm0 192.168.173.2 up
|
||||
hostC&prompt.root; ifconfig hatm0 192.168.173.3 up
|
||||
hostD&prompt.root; ifconfig hatm0 192.168.173.4 up</screen>
|
||||
|
||||
<para>en supposant que l'interface ATM est
|
||||
<devicename>hatm0</devicename> sur toutes les machines.
|
||||
Maintenant les PVCs doivent être configurées
|
||||
sur <hostid>hostA</hostid> (nous supposons qu'elles sont
|
||||
déjà configurées sur les switches ATM,
|
||||
vous devez consulter le manuel du switch sur comment
|
||||
réaliser cette configuration).</para>
|
||||
|
||||
<screen>hostA&prompt.root; atmconfig natm add 192.168.173.2 hatm0 0 100 llc/snap ubr
|
||||
hostA&prompt.root; atmconfig natm add 192.168.173.3 hatm0 0 101 llc/snap ubr
|
||||
hostA&prompt.root; atmconfig natm add 192.168.173.4 hatm0 0 102 llc/snap ubr
|
||||
|
||||
hostB&prompt.root; atmconfig natm add 192.168.173.1 hatm0 0 100 llc/snap ubr
|
||||
hostB&prompt.root; atmconfig natm add 192.168.173.3 hatm0 0 103 llc/snap ubr
|
||||
hostB&prompt.root; atmconfig natm add 192.168.173.4 hatm0 0 104 llc/snap ubr
|
||||
|
||||
hostC&prompt.root; atmconfig natm add 192.168.173.1 hatm0 0 101 llc/snap ubr
|
||||
hostC&prompt.root; atmconfig natm add 192.168.173.2 hatm0 0 103 llc/snap ubr
|
||||
hostC&prompt.root; atmconfig natm add 192.168.173.4 hatm0 0 105 llc/snap ubr
|
||||
|
||||
hostD&prompt.root; atmconfig natm add 192.168.173.1 hatm0 0 102 llc/snap ubr
|
||||
hostD&prompt.root; atmconfig natm add 192.168.173.2 hatm0 0 104 llc/snap ubr
|
||||
hostD&prompt.root; atmconfig natm add 192.168.173.3 hatm0 0 105 llc/snap ubr</screen>
|
||||
|
||||
<para>Bien évidemment des contrats de trafic autres
|
||||
qu'UBR (“Unspecified Bit Rate”) peuvent
|
||||
être utilisés dès que la carte ATM les
|
||||
supportent. Dans ce cas le nom du contrat de trafic est
|
||||
suivi par les paramètres du trafic. De l'aide
|
||||
concernant l'outil &man.atmconfig.8; peut être obtenue
|
||||
avec:</para>
|
||||
|
||||
<screen>&prompt.root; <userinput>atmconfig help natm add</userinput></screen>
|
||||
|
||||
<para>ou dans la page de manuel de &man.atmconfig.8;.</para>
|
||||
|
||||
<para>La même configuration peut être faite par
|
||||
l'intermédiaire de <filename>/etc/rc.conf</filename>.
|
||||
Pour la machine <hostid>hostA</hostid> cela ressemblerait
|
||||
à:</para>
|
||||
|
||||
<programlisting>network_interfaces="lo0 hatm0"
|
||||
ifconfig_hatm0="inet 192.168.173.1 up"
|
||||
natm_static_routes="hostB hostC hostD"
|
||||
route_hostB="192.168.173.2 hatm0 0 100 llc/snap ubr"
|
||||
route_hostC="192.168.173.3 hatm0 0 101 llc/snap ubr"
|
||||
route_hostD="192.168.173.4 hatm0 0 102 llc/snap ubr"</programlisting>
|
||||
|
||||
<para>L'état de toutes les routes
|
||||
<acronym>CLIP</acronym> peut être obtenu avec:</para>
|
||||
|
||||
<screen>hostA&prompt.root; <userinput>atmconfig natm show</userinput></screen>
|
||||
</sect3>
|
||||
</sect2>
|
||||
</sect1>
|
||||
</chapter>
|
||||
|
||||
<!--
|
||||
|
|
Loading…
Reference in a new issue