Sophie

Sophie

distrib > * > 2010.0 > * > by-pkgid > a412ceb851151854794ced2a242192bb > files > 1874

howto-html-fr-20080722-1mdv2010.0.noarch.rpm

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>2. 
Afficher les tunnels existants
  </title>
<link rel="stylesheet" href="style.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1">
<link rel="start" href="index.html" title="
HOWTO IPv6 Linux (fr)
 ">
<link rel="up" href="ch09.html" title="Chapitre 9. 
Configurer les tunnels IPv6-in-IPv4
 ">
<link rel="prev" href="ch09s01.html" title="1. 
Les types de tunnel
  ">
<link rel="next" href="ch09s03.html" title="3. 
Montage d'un tunnel point-à-point
  ">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="navheader">
<table width="100%" summary="Navigation header">
<tr><th colspan="3" align="center">2. 
Afficher les tunnels existants
  </th></tr>
<tr>
<td width="20%" align="left">
<a accesskey="p" href="ch09s01.html">Précédent</a> </td>
<th width="60%" align="center">Chapitre 9. 
Configurer les tunnels IPv6-in-IPv4
 </th>
<td width="20%" align="right"> <a accesskey="n" href="ch09s03.html">Suivant</a>
</td>
</tr>
</table>
<hr>
</div>
<div class="sect1" lang="fr">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="id2540713"></a>2. 
Afficher les tunnels existants
  </h2></div></div></div>
<div class="sect2" lang="fr">
<div class="titlepage"><div><div><h3 class="title">
<a name="id2540719"></a>2.1. 
Utiliser "ip"
   </h3></div></div></div>
<p>
Usage:
   </p>
<pre class="programlisting">
# /sbin/ip -6 tunnel show [&lt;périphérique&gt;]

   </pre>
<p>
Exemple:
   </p>
<pre class="programlisting">
# /sbin/ip -6 tunnel show 
sit0: ipv6/ip remote any local any ttl 64 nopmtudisc 
sit1: ipv6/ip remote 195.226.187.50 local any ttl 64

   </pre>
</div>
<div class="sect2" lang="fr">
<div class="titlepage"><div><div><h3 class="title">
<a name="id2540750"></a>2.2. 
Utiliser "route"
   </h3></div></div></div>
<p>
Usage:
   </p>
<pre class="programlisting">
# /sbin/route -A inet6 

   </pre>
<p>
Exemple (la sortie est filtrée afin de ne laisser apparaître que les tunnels empreintant l'interface sit0):
   </p>
<pre class="programlisting">
# /sbin/route -A inet6 | grep "\Wsit0\W*$" 
::/96      ::               U   256  2  0  sit0 
2002::/16  ::               UA  256  0  0  sit0 
2000::/3   ::193.113.58.75  UG    1  0  0  sit0 
fe80::/10  ::               UA  256  0  0  sit0 
ff00::/8   ::               UA  256  0  0  sit0

   </pre>
</div>
</div>
<div class="navfooter">
<hr>
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left">
<a accesskey="p" href="ch09s01.html">Précédent</a> </td>
<td width="20%" align="center"><a accesskey="u" href="ch09.html">Niveau supérieur</a></td>
<td width="40%" align="right"> <a accesskey="n" href="ch09s03.html">Suivant</a>
</td>
</tr>
<tr>
<td width="40%" align="left" valign="top">1. 
Les types de tunnel
   </td>
<td width="20%" align="center"><a accesskey="h" href="index.html">Sommaire</a></td>
<td width="40%" align="right" valign="top"> 3. 
Montage d'un tunnel point-à-point
  </td>
</tr>
</table>
</div>
</body>
</html>