<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello,<br>
    <br>
    <br>
    We have 2 network cards/cables eth0 and eth1. We make a bonding in
    order to have 2 gbits/second. We called this new connexion "bond0".<br>
    We are able to ping our switch and our router. But we can't ping the
    DNS  of our <span id="result_box" class="short_text" lang="en"><span
        class="hps">Internet Service Provider. </span></span>We have
    also an error message when we attempt to rester network services.
    And we can't open an internet webpage.<br>
    <br>
    Please find below usefull configuration files ans commands :  <br>
    <br>
------------------------------------------------------------------------------------------<br>
    <p style="margin-bottom: 0cm"> </p>
    <p style="margin-bottom: 0cm"><i><b>commande /etc# sudo
          /etc/init.d/networking restart<br>
          <br>
        </b></i> </p>
    root@jupiter2:/etc# sudo /etc/init.d/networking restart<br>
     * Reconfiguring network
    interfaces...                                        <br>
      Ignoring unknown interface eth0=eth0.<br>
    Ignoring unknown interface eth1=eth1.<br>
    SIOCADDRT: File exists<br>
    Failed to bring up bond0.<br>
    <br>
-----------------------------------------------------------------------------------------<br>
    <i><b>fichier cd/ network/interfaces</b></i>
    <p style="margin-bottom: 0cm">auto lo </p>
    <p style="margin-bottom: 0cm">iface lo inet loopback </p>
    <br>
    <br>
    <p style="margin-bottom: 0cm">auto eth0 eth1 bond0 </p>
    <p style="margin-bottom: 0cm">iface bond0 inet static </p>
    <p style="margin-bottom: 0cm"> address 192.xxx.x.xxx</p>
    <p style="margin-bottom: 0cm"> netmask 255.255.255.0 </p>
    <p style="margin-bottom: 0cm"> broadcast 192.xxx.xxx.xxx</p>
    <p style="margin-bottom: 0cm"> network 192.xxx.x.x</p>
    <p style="margin-bottom: 0cm"> up /sbin/ifenslave bond0 eth0 eth1 </p>
    <p style="margin-bottom: 0cm"> down /sbin/ifenslave -d bond0 eth0
      eth1 </p>
    <p style="margin-bottom: 0cm"> gateway 192.xxx.x.xxx </p>
    <p style="margin-bottom: 0cm"> post-up iptables-restore <
      /etc/iptables.up.rules</p>
    <p style="margin-bottom: 0cm">--------------------------------------------------------------------------------------------<br>
    </p>
    <p style="margin-bottom: 0cm"> </p>
    <p style="margin-bottom: 0cm"> </p>
    <p style="margin-bottom: 0cm"><b><i>commande </i><i>ifconfig</i><br>
      </b></p>
    <p style="margin-bottom: 0cm">root@jupiter2:/etc/network# ifconfig </p>
    <p style="margin-bottom: 0cm">as0t0 Link encap:UNSPEC HWaddr
      00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 </p>
    <p style="margin-bottom: 0cm"> inet addr:10.8.0.1 P-t-P:10.8.0.1
      Mask:255.255.255.0 </p>
    <p style="margin-bottom: 0cm"> UP POINTOPOINT RUNNING NOARP
      MULTICAST MTU:1500 Metric:1 </p>
    <p style="margin-bottom: 0cm"> RX packets:0 errors:0 dropped:0
      overruns:0 frame:0 </p>
    <p style="margin-bottom: 0cm"> TX packets:0 errors:0 dropped:0
      overruns:0 carrier:0 </p>
    <p style="margin-bottom: 0cm"> collisions:0 txqueuelen:100 </p>
    <p style="margin-bottom: 0cm"> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
    </p>
    <p style="margin-bottom: 0cm"><br>
    </p>
    <p style="margin-bottom: 0cm">bond0 Link encap:Ethernet HWaddr
      00:24:e8:6a:df:d9 </p>
    <p style="margin-bottom: 0cm"> inet addr:192.xxx.x.xxx
      Bcast:192.xxx.x.xxx Mask:255.255.255.0 </p>
    <p style="margin-bottom: 0cm"> inet6 addr:
      fe80::224:e8ff:fe6a:dfd9/64 Scope:Link </p>
    <p style="margin-bottom: 0cm"> UP BROADCAST RUNNING MASTER MULTICAST
      MTU:1500 Metric:1 </p>
    <p style="margin-bottom: 0cm"> RX packets:2097693 errors:0 dropped:0
      overruns:0 frame:0 </p>
    <p style="margin-bottom: 0cm"> TX packets:6782859 errors:0 dropped:0
      overruns:0 carrier:0 </p>
    <p style="margin-bottom: 0cm"> collisions:0 txqueuelen:0 </p>
    <p style="margin-bottom: 0cm"> RX bytes:239680779 (239.6 MB) TX
      bytes:9959502359 (9.9 GB) </p>
    <p style="margin-bottom: 0cm"><br>
    </p>
    <p style="margin-bottom: 0cm">eth0 Link encap:Ethernet HWaddr
      00:24:e8:6a:df:d9 </p>
    <p style="margin-bottom: 0cm"> UP BROADCAST RUNNING SLAVE MULTICAST
      MTU:1500 Metric:1 </p>
    <p style="margin-bottom: 0cm"> RX packets:1046368 errors:0 dropped:0
      overruns:0 frame:0 </p>
    <p style="margin-bottom: 0cm"> TX packets:3387953 errors:0 dropped:0
      overruns:0 carrier:0 </p>
    <p style="margin-bottom: 0cm"> collisions:0 txqueuelen:1000 </p>
    <p style="margin-bottom: 0cm"> RX bytes:118911729 (118.9 MB) TX
      bytes:4974335697 (4.9 GB) </p>
    <p style="margin-bottom: 0cm"> Interrupt:36 Memory:da000000-da012700
    </p>
    <p style="margin-bottom: 0cm"><br>
    </p>
    <p style="margin-bottom: 0cm">eth1 Link encap:Ethernet HWaddr
      00:24:e8:6a:df:d9 </p>
    <p style="margin-bottom: 0cm"> UP BROADCAST RUNNING SLAVE MULTICAST
      MTU:1500 Metric:1 </p>
    <p style="margin-bottom: 0cm"> RX packets:1051325 errors:0 dropped:0
      overruns:0 frame:0 </p>
    <p style="margin-bottom: 0cm"> TX packets:3394906 errors:0 dropped:0
      overruns:0 carrier:0 </p>
    <p style="margin-bottom: 0cm"> collisions:0 txqueuelen:1000 </p>
    <p style="margin-bottom: 0cm"> RX bytes:120769050 (120.7 MB) TX
      bytes:4985166662 (4.9 GB) </p>
    <p style="margin-bottom: 0cm"> Interrupt:48 Memory:dc000000-dc012700
    </p>
    <p style="margin-bottom: 0cm"><br>
    </p>
    <p style="margin-bottom: 0cm">lo Link encap:Local Loopback </p>
    <p style="margin-bottom: 0cm"> inet addr:127.0.0.1 Mask:255.0.0.0 </p>
    <p style="margin-bottom: 0cm"> inet6 addr: ::1/128 Scope:Host </p>
    <p style="margin-bottom: 0cm"> UP LOOPBACK RUNNING MTU:16436
      Metric:1 </p>
    <p style="margin-bottom: 0cm"> RX packets:1107396 errors:0 dropped:0
      overruns:0 frame:0 </p>
    <p style="margin-bottom: 0cm"> TX packets:1107396 errors:0 dropped:0
      overruns:0 carrier:0 </p>
    <p style="margin-bottom: 0cm"> collisions:0 txqueuelen:0 </p>
    <p style="margin-bottom: 0cm"> RX bytes:84890369 (84.8 MB) TX
      bytes:84890369 (84.8 MB)<br>
    </p>
    <!-- @page { margin: 2cm } P { margin-bottom: 0.21cm } --><br>
-------------------------------------------------------------------------------------------------------------------<br>
    <p style="margin-bottom: 0cm"><b>commande nm-tool</b><br>
    </p>
    <p style="margin-bottom: 0cm">root@jupiter2:/etc/network# nm-tool </p>
    <p style="margin-bottom: 0cm"><br>
    </p>
    <p style="margin-bottom: 0cm">NetworkManager Tool </p>
    <p style="margin-bottom: 0cm"><br>
    </p>
    <p style="margin-bottom: 0cm">State: disconnected </p>
    <p style="margin-bottom: 0cm"><br>
    </p>
    <p style="margin-bottom: 0cm">- Device: eth1  </p>
    <p style="margin-bottom: 0cm"> Type: Wired </p>
    <p style="margin-bottom: 0cm"> Driver: bnx2 </p>
    <p style="margin-bottom: 0cm"> State: disconnected </p>
    <p style="margin-bottom: 0cm"> Default: no </p>
    <p style="margin-bottom: 0cm"> HW Address: 00:24:E8:6A:DF:D9 </p>
    <p style="margin-bottom: 0cm"><br>
    </p>
    <p style="margin-bottom: 0cm"> Capabilities: </p>
    <p style="margin-bottom: 0cm"> Carrier Detect: yes </p>
    <p style="margin-bottom: 0cm"> Speed: 1000 Mb/s </p>
    <p style="margin-bottom: 0cm"><br>
    </p>
    <p style="margin-bottom: 0cm"> Wired Properties </p>
    <p style="margin-bottom: 0cm"> Carrier: on </p>
    <p style="margin-bottom: 0cm"><br>
    </p>
    <p style="margin-bottom: 0cm">- Device: eth0  </p>
    <p style="margin-bottom: 0cm"> Type: Wired </p>
    <p style="margin-bottom: 0cm"> Driver: bnx2 </p>
    <p style="margin-bottom: 0cm"> State: disconnected </p>
    <p style="margin-bottom: 0cm"> Default: no </p>
    <p style="margin-bottom: 0cm"> HW Address: 00:24:E8:6A:DF:D9 </p>
    <p style="margin-bottom: 0cm"><br>
    </p>
    <p style="margin-bottom: 0cm"> Capabilities: </p>
    <p style="margin-bottom: 0cm"> Carrier Detect: yes </p>
    <p style="margin-bottom: 0cm"> Speed: 1000 Mb/s </p>
    <p style="margin-bottom: 0cm"><br>
    </p>
    <p style="margin-bottom: 0cm"> Wired Properties </p>
    <p style="margin-bottom: 0cm"> Carrier: on<br>
    </p>
    <p style="margin-bottom: 0cm">-------------------------------------------------------------------------------------<br>
    </p>
    <p style="margin-bottom: 0cm"><i><b>Fichier etc/Hosts</b></i> </p>
    <p style="margin-bottom: 0cm"> </p>
    <p style="margin-bottom: 0cm">127.0.0.1 localhost </p>
    <p style="margin-bottom: 0cm">127.0.0.1 jupiter2 </p>
    <p style="margin-bottom: 0cm"><br>
    </p>
    <p style="margin-bottom: 0cm"># The following lines are desirable
      for IPv6 capable hosts </p>
    <p style="margin-bottom: 0cm">::1 localhost ip6-localhost
      ip6-loopback </p>
    <p style="margin-bottom: 0cm">fe00::0 ip6-localnet </p>
    <p style="margin-bottom: 0cm">ff00::0 ip6-mcastprefix </p>
    <p style="margin-bottom: 0cm">ff02::1 ip6-allnodes </p>
    <p style="margin-bottom: 0cm">ff02::2 ip6-allrouters </p>
    <p style="margin-bottom: 0cm">ff02::3 ip6-allhosts </p>
    <p style="margin-bottom: 0cm">192.xxx.x.xxx metis </p>
    <p style="margin-bottom: 0cm">192.xxx.x.xxx jupiter2 </p>
    <p style="margin-bottom: 0cm">192.xxx.x.xxx ganymede </p>
    <p style="margin-bottom: 0cm">192.xxx.x.xxx rhea </p>
    <p style="margin-bottom: 0cm">192.xxx.x.xxx callisto2 </p>
    <p style="margin-bottom: 0cm">192.xxx.x.xxx europa </p>
    <p style="margin-bottom: 0cm">192.xxx.x.xxx amalthea </p>
    <p style="margin-bottom: 0cm">192.xxx.x.xxx io2</p>
    <p style="margin-bottom: 0cm">-----------------------------------------------------------------------------------------<br>
    </p>
    <br>
    <p style="margin-bottom: 0cm"><b>/etc RESOLV.conf</b></p>
    <p style="margin-bottom: 0cm"># Generated by NetworkManager</p>
    <p style="margin-bottom: 0cm">servername 194.158.122.10</p>
    <p style="margin-bottom: 0cm">servername 194.158.122.15<br>
    </p>
    <p style="margin-bottom: 0cm"><br>
-------------------------------------------------------------------------------------<br>
    </p>
    <br>
    <br>
    According to you, where is the source of my problem? <br>
    <br>
    Thank you very much. <br>
    <br>
    Regards. <br>
    <pre class="moz-signature" cols="72">-- 
Laurent Celati – Geospatial applications specialist - LATITUDE GEOSYSTEMS
47, avenue de la Division Leclerc - 95170 Deuil-la-Barre, FRANCE
Tel : + 33 (0)1 34 17 23 84 - Fax : + 33 (0) 1 39 64 04 86
mob : + 33 (0)6 xx xx xx xx
skype lcelati
E-mail : <a class="moz-txt-link-abbreviated" href="mailto:lcelati@latitude-geosystems.com">lcelati@latitude-geosystems.com</a>
<a class="moz-txt-link-freetext" href="http://www.latitude-geosystems.com">http://www.latitude-geosystems.com</a>
</pre>
  </body>
</html>