[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RE : [Bonding]



pingouin osmolateur a écrit :
| Salut
| Voila vite fait la méthodo que j'ai utilisé pour faire
| mon channel bonding sur des lames de bladecenter
| 
| Vérifier que le noyau supporte le module Bonding 
| [*] Networking support
| <M> Bonding driver support
Fait
| 
| Ajouter le paquet debian ifenslave (attention a la
| version du noyau)
| #apt-get install ifenslave-2.6
Fait
| 
| Modifier le fichier de configuration
| (/etc/network/interfaces) des interfaces réseaux et
| remplacer les lignes existentes par les lignes
| suivantes.
| 
| auto bond0
| iface bond0 inet static
| 	address <adresse_IP_BOND0>
| 	network 255.255.255.0
| 	gateway <adresse_IP_passerelle>
| 	up /sbin/ifenslave bond0 eth0 eth1
| 
Fait

| Mettre dans le fichier /etc/modprobe.d/aliases, le
| chargement du module bonding.
| alias bond0 bonding
| options bond0 mode=1 miimon=100 primary=eth0
Fait
| 
| Redémarrer le service réseau
| /etc/init.d/networking restart 
ok
| 
| C'est tout ce que j'ai fait normalement en faisant un
| ifconfig tu devrai obtenir ça :
| coruscant:/# ifconfig
| bond0     Lien encap:Ethernet  HWaddr
| 00:11:25:9C:70:CC
Pas chez moi...
Pourtant, avec un peu de reflexion, j'ai fait:
# modprobe bonding mode=1 miimon=100 primary=eth0
Ethernet Channel Bonding Driver: v3.0.1 (January 9, 2006)
bonding: MII link monitoring set to 100 ms
# ifconfig bond0 192.168.1.11
# /sbin/ifenslave bond0 eth0
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
bonding: bond0: making interface eth0 the new active one.
bonding: bond0: enslaving eth0 as an active interface with an up link.
# ifconfig bond0 netmask 255.255.255.0
# ifconfig bond0 gateway 192.168.1.1
gateway: Erreur de repérage du nom de l'hôte cible
ifconfig: `--help' gives usage information.

pourtant:
# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: icmp_seq=0 ttl=254 time=6.1 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=254 time=0.8 ms

--- 192.168.1.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.8/3.4/6.1 ms

Je comprend pas pourquoi ping me trouve une adresse 192.168.1.1, et que
ifconfig ne la trouve pas.
Si quelqu'un a une idée?? merci d'avance

-- 
"Ce n'est pas parce que les choses sont difficiles
que nous n'osons pas, mais c'est parce que nous n'osons pas
que les choses sont difficiles" Auteur Inconnu

Attachment: signature.asc
Description: Digital signature


Reply to: