# Ärger mit bond1

**URL:** <https://discourse.suseforum.de/t/aerger-mit-bond1/1305>\
**Category:** Ubuntu / Kubuntu (Archiv - read only)\
**Tags:** kubuntu-netzwerkkonf\
**Created:** [27. September 2006 um 09:22 UTC](https://discourse.suseforum.de/t/aerger-mit-bond1/1305 "2006-09-27T09:22:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dodgerspx](https://discourse.suseforum.de/letter_avatar_proxy/v4/letter/d/c0e974/32.png) [@dodgerspx](https://discourse.suseforum.de/u/dodgerspx)\
**Post date:** [27. September 2006 um 09:22 UTC](https://discourse.suseforum.de/t/aerger-mit-bond1/1305/1 "2006-09-27T09:22:31Z")

</div>

Hallo Leutz,

ich habe hier gerade ein etwas zeitkritisches Problem:

Für einen Squid brauche ich zwei Bondings plus ein normales Interface.  
Nach einiger Suche bei Google und auch im Forum bin ich soweit das ein Bonding läuft.  
Ich habe auch den Thread [http://www.ubuntuforums.org/showthread.php?p=1532285](http://www.ubuntuforums.org/showthread.php?p=1532285) berücksichtigt.

Meine Config-Files sehen nun so aus:

OS: Ubuntu Linux Server 6.06

/etc/network/interfaces :

# This file describes the network interfaces available on your system

# and how to activate them. For more information, see interfaces(5).

# The loopback network interface

auto lo  
iface lo inet loopback

# The primary network interface

auto eth0  
iface eth0 inet static  
address 192.168.1.254  
netmask 255.255.255.0  
network 192.168.1.0  
broadcast 192.168.1.255  
gateway 192.168.1.99  
dns-nameservers 213.178.66.111  
pre-up iptables-restore \< /etc/iptables.up.rules

# dns-\* options are implemented by the resolvconf package, if installed

auto bond0  
iface bond0 inet static  
address 192.168.0.29  
netmask 255.255.255.224  
hwaddress ether B0:80:C8:F8:21:22  
network 192.168.0.0  
up ifenslave bond0 eth1 eth2  
down ifenslave -d bond0 eth1 eth2  
#up /sbin/ifenslave bond0 eth1  
#up /sbin/ifenslave bond0 eth2

auto bond1  
iface bond1 inet static  
address 192.168.2.254  
netmask 255.255.255.0  
hwaddress ether B1:80:C8:F8:23:24  
network 192.168.2.0  
up ifenslave bond1 eth3 eth4  
down ifenslave -d bond1 eth3 eth4  
#up /sbin/ifenslave bond1 eth3  
#up /sbin/ifenslave bond1 eth4

/etc/network/interfaces:

# This file describes the network interfaces available on your system

# and how to activate them. For more information, see interfaces(5).

# The loopback network interface

auto lo  
iface lo inet loopback

# The primary network interface

auto eth0  
iface eth0 inet static  
address 192.168.1.254  
netmask 255.255.255.0  
network 192.168.1.0  
broadcast 192.168.1.255  
gateway 192.168.1.99  
dns-nameservers 213.178.66.111  
pre-up iptables-restore \< /etc/iptables.up.rules

# dns-\* options are implemented by the resolvconf package, if installed

auto bond0  
iface bond0 inet static  
address 192.168.0.29  
netmask 255.255.255.224  
hwaddress ether B0:80:C8:F8:21:22  
network 192.168.0.0  
up ifenslave bond0 eth1 eth2  
down ifenslave -d bond0 eth1 eth2  
#up /sbin/ifenslave bond0 eth1  
#up /sbin/ifenslave bond0 eth2

auto bond1  
iface bond1 inet static  
address 192.168.2.254  
netmask 255.255.255.0  
hwaddress ether B1:80:C8:F8:23:24  
network 192.168.2.0  
up ifenslave bond1 eth3 eth4  
down ifenslave -d bond1 eth3 eth4  
#up /sbin/ifenslave bond1 eth3  
#up /sbin/ifenslave bond1 eth4

/etc/modutils/actions:

probeall bond0 eth1 eth2 bonding  
probeall bond1 eth3 eth4 bonding

/etc/modutils/aliases:

alias bond0 bonding  
alias bond1 bonding

options bond0 miimon=100 max\_bonds=2  
options bond1 -o bonding1 miimon=100

Beim Ausführen folgender Befehlsreihenfolge:

1. update-modules
2. modprobe bonding
3. ifconfig bond0 up
4. ifconfig bond1 up

Hier bekomme ich dann folgende Fehlermeldung:  
bond1: ERROR while getting interface flags: No such device

Wo liegt mein Fehler?  
Helft mir Obiwan Kenobis,  
Ihr seid meine Letzte Hoffnung!

Dank & Gruß,  
DodgerSPX
