Sophie

Sophie

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

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

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>2. 
Manipuler la table de voisinage en utilisant "ip"
  </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="ch08.html" title="Chapitre 8. 
La découverte de voisinage
 ">
<link rel="prev" href="ch08s01.html" title='1. 
Afficher le voisinage en utilisant "ip"
  '>
<link rel="next" href="ch09.html" title="Chapitre 9. 
Configurer les tunnels IPv6-in-IPv4
 ">
</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. 
Manipuler la table de voisinage en utilisant "ip"
  </th></tr>
<tr>
<td width="20%" align="left">
<a accesskey="p" href="ch08s01.html">Précédent</a> </td>
<th width="60%" align="center">Chapitre 8. 
La découverte de voisinage
 </th>
<td width="20%" align="right"> <a accesskey="n" href="ch09.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="id2540246"></a>2. 
Manipuler la table de voisinage en utilisant "ip"
  </h2></div></div></div>
<div class="sect2" lang="fr">
<div class="titlepage"><div><div><h3 class="title">
<a name="id2540253"></a>2.1. 
Ajouter manuellement une entrée
   </h3></div></div></div>
<p>
La commande suivante vous permet d'ajouter manuellement une entrée 
   </p>
<pre class="programlisting">
# ip -6 neigh add &lt;adresseIPv6&gt; lladdr &lt;adressedelacouche-lien&gt; dev &lt;périphérique&gt;

   </pre>
<p>
Exemple:
   </p>
<pre class="programlisting">
# ip -6 neigh add fec0::1 lladdr 02:01:02:03:04:05 dev eth0

   </pre>
</div>
<div class="sect2" lang="fr">
<div class="titlepage"><div><div><h3 class="title">
<a name="id2540287"></a>2.2. 
Détruire manuellement une entrée
   </h3></div></div></div>
<p>
De même qu'une entrée peut être ajoutée, une entrée peut être détruite:
   </p>
<pre class="programlisting">
# ip -6 neigh del &lt;adresseipv6&gt; lladdr &lt;adressedelacouche-lien&gt; dev &lt;périphérique&gt;

   </pre>
<p>
Exemple:
   </p>
<pre class="programlisting">
# ip -6 neigh del fec0::1 lladdr 02:01:02:03:04:05 dev eth0

   </pre>
</div>
<div class="sect2" lang="fr">
<div class="titlepage"><div><div><h3 class="title">
<a name="id2540321"></a>2.3. 
Pour plus de réglages avancés
   </h3></div></div></div>
<p>
L'outil “ip” est sous-documenté, mais il est très puissant. Voir l'aide en ligne pour en savoir plus
   </p>
<pre class="programlisting">
# ip -6 neigh help
Usage: ip neigh { add | del | change | replace } { ADDR [ lladdr LLADDR ] 
          [ nud { permanent | noarp | stale | reachable } ] 
          | proxy ADDR } [ dev DEV ] 
       ip neigh {show|flush} [ to PREFIX ] [ dev DEV ] [ nud STATE ]

   </pre>
<p>
Il semble que certaines options soient uniquement pour IPv4... si vous pouvez contribuer à en dire plus sur les drapeaux et l'emploi avancé, merci d'envoyer vos informations.
   </p>
</div>
</div>
<div class="navfooter">
<hr>
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left">
<a accesskey="p" href="ch08s01.html">Précédent</a> </td>
<td width="20%" align="center"><a accesskey="u" href="ch08.html">Niveau supérieur</a></td>
<td width="40%" align="right"> <a accesskey="n" href="ch09.html">Suivant</a>
</td>
</tr>
<tr>
<td width="40%" align="left" valign="top">1. 
Afficher le voisinage en utilisant "ip"
   </td>
<td width="20%" align="center"><a accesskey="h" href="index.html">Sommaire</a></td>
<td width="40%" align="right" valign="top"> Chapitre 9. 
Configurer les tunnels IPv6-in-IPv4
 </td>
</tr>
</table>
</div>
</body>
</html>