Add a new translated section (ATM).

This commit is contained in:
Marc Fonvieille 2004-04-09 18:03:05 +00:00
parent db5f0c9d7f
commit 817debd135
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=20643

View file

@ -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;&nbsp;5.X</title>
<sect2>
<title>Configuration IP conventionnelle sur ATM (PVCs)</title>
<para>L'IP conventionnelle sur ATM (&ldquo;Classical IP over
ATM&rdquo;&mdash;<acronym>CLIP</acronym>) est la
m&eacute;thode la plus simple pour utiliser ATM avec l'IP.
Elle peut &ecirc;tre utilis&eacute;e en mode non
connect&eacute; (&ldquo;Switched Virtual
Connections&rdquo;&mdash;SVCs) et en mode connect&eacute;
(&ldquo;Permanent Virtual Connections&rdquo;&mdash;PVCs).
Cette section d&eacute;crit comment configurer un
r&eacute;seau bas&eacute; sur les PVCs.</para>
<sect3>
<title>Configurations en r&eacute;seau maill&eacute;</title>
<para>La premi&egrave;re m&eacute;thode de configuration
<acronym>CLIP</acronym> avec des PVCs est de connecter entre
elles chaque machine du r&eacute;seau par
l'interm&eacute;diaire d'une PVC d&eacute;di&eacute;e. Bien
que cela soit simple &agrave; configurer, cela tend &agrave;
devenir impraticable avec un nombre important de machines.
Notre exemple suppose que nous avons quatre machines sur le
r&eacute;seau, chacune connect&eacute;e au r&eacute;seau ATM
&agrave; l'aide d'une carte r&eacute;seau ATM. La
premi&egrave;re &eacute;tape est d'&eacute;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&eacute;aliser un r&eacute;seau maill&eacute;,
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 &agrave; chaque
extr&eacute;mit&eacute; de la connexion peuvent bien
&eacute;videmment &ecirc;tre diff&eacute;rentes, mais par
souci de simplicit&eacute; 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 &ecirc;tre configur&eacute;es
sur <hostid>hostA</hostid> (nous supposons qu'elles sont
d&eacute;j&agrave; configur&eacute;es sur les switches ATM,
vous devez consulter le manuel du switch sur comment
r&eacute;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 &eacute;videmment des contrats de trafic autres
qu'UBR (&ldquo;Unspecified Bit Rate&rdquo;) peuvent
&ecirc;tre utilis&eacute;s d&egrave;s que la carte ATM les
supportent. Dans ce cas le nom du contrat de trafic est
suivi par les param&egrave;tres du trafic. De l'aide
concernant l'outil &man.atmconfig.8; peut &ecirc;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&ecirc;me configuration peut &ecirc;tre faite par
l'interm&eacute;diaire de <filename>/etc/rc.conf</filename>.
Pour la machine <hostid>hostA</hostid> cela ressemblerait
&agrave;:</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'&eacute;tat de toutes les routes
<acronym>CLIP</acronym> peut &ecirc;tre obtenu avec:</para>
<screen>hostA&prompt.root; <userinput>atmconfig natm show</userinput></screen>
</sect3>
</sect2>
</sect1>
</chapter>
<!--