URL: https://linuxfr.org/forums/linux-debian-ubuntu/posts/des-erreurs-avec-le-bonding Title: Des erreurs avec le Bonding Authors: yesi Date: 2010年01月15日T20:43:05+01:00 Tags: debian Score: 0 Bonjour, Je tourne un peu en rond. J'ai une Debian Lenny. Noyau : 2.6.26-2-amd64 J'ai les modules chargés : bonding, mii Le contenu de mon /etc/network/interfaces : > auto bond0 iface bond0 inet static slaves eth0 eth2 bond_mode active-backup bond_miimon 100 bond_downdelay 200 bond_updelay 200 # bond_primary eth0 address 192.168.1.2 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1> / La sortie de dmesg : > [ 79.915435] Ethernet Channel Bonding Driver: v3.2.5 (March 21, 2008) [ 79.915435] bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details. [ 79.923926] bonding: bond0: setting mode to active-backup (1). [ 79.924069] bonding: bond0: Setting MII monitoring interval to 100. [ 79.924156] bonding: bond0: Setting up delay to 200. [ 79.924236] bonding: bond0: Setting down delay to 200. [ 80.034233] bonding: bond0: enslaving eth0 as a backup interface with a down link. [ 82.926109] NET: Registered protocol family 10 [ 82.926109] lo: Disabled Privacy Extensions [ 82.930552] ADDRCONF(NETDEV_UP): bond0: link is not ready [ 82.996254] tg3: eth0: Link is up at 1000 Mbps, full duplex. [ 82.996254] tg3: eth0: Flow control is off for TX and off for RX. [ 83.060031] bonding: bond0: link status up for interface eth0, enabling it in 200 ms. [ 83.266835] bonding: bond0: link status definitely up for interface eth0. [ 83.266847] bonding: bond0: making interface eth0 the new active one. [ 83.266880] bonding: bond0: first active interface up! [ 83.267154] ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 83.478953] lp0: using parport0 (interrupt-driven). [ 83.507016] ppdev: user-space parallel port driver [ 85.889714] r8169: eth3: link up [ 86.025032] r8169: eth2_rename_ren: link down [ 86.025032] ADDRCONF(NETDEV_UP): eth2_rename_ren: link is not ready [ 94.785014] bond0: no IPv6 routers present [ 155.677391] eth3: no IPv6 routers present> / La sortie de /etc/udev/rules.d/70-persistent-net.rules est presque correcte sauf que pour la carte même carte réseau, j'ai deux interfaces : > # PCI device 0x10ec:0x8169 (r8169) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="meme_adresse_MAC", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2" # PCI device 0x10ec:0x8169 (r8169) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="meme_adresse_MAC", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"> / La sortie de mon ifconfig : L'interface bond0 est bien défini avec la bonne ip. > eth0 Link encap:Ethernet UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1 eth3 Link encap:Ethernet inet adr:169.254.124.179 Bcast:169.254.255.255 Masque:255.255.0.0 eth2_rename_ren Link encap:Ethernet UP BROADCAST MULTICAST MTU:1500 Metric:1> / 1. la passerelle par défaut définie dans /etc/network/interfaces n'est pas présente quand je fais un "route -n" ! 2. les serveurs DNS définis ( là, je n'ai pas mis ) ne sont pas non plus présents. 3. mon interface de la deuxième carte réseau se renomme "eth2_rename_ren"... 4. cat /proc/net/bonding/bond0 > Bonding Mode: fault-tolerance (active-backup) Primary Slave: None Currently Active Slave: eth0 MII Status: up MII Polling Interval (ms): 100 Up Delay (ms): 200 Down Delay (ms): 200 Slave Interface: eth0 MII Status: up Link Failure Count: 0> / 5. Rien ne marche...!!! Avez-vous déjà rencontré des mêmes soucis de bonding avec Lenny ( avec Etch, ça marche correctement avec une config presque pareil )? Merci d'avance pour vos retours.

AltStyle によって変換されたページ (->オリジナル) /