Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a computer with two network cards. From what I understand, I can use bonding to achieve greater throughput, so I followed this tutorial: https://help.ubuntu.com/community/UbuntuBonding

Till now, I've only managed to make the bonding work with mode 802.3ad. Any other mode just doesn't work.

The bonding interface appears on ifconfig, and I can ping it, but I have no access (pings, ssh) to rest of the internal network nor to the outside.

Also, in the mode that works -- 802.3ad -- it seems that only one card is working. Both cards are up, but when I use iftop to see what's going on, only eht0 is receiving things.

I also tried to disable NetworkManager, because I thought it might be interfering with the bonding, so I edited the file /etc/NetworkManager/NetworkManager.conf and changed: managed=false to managed=true.

My current configuration is

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet manual
    bond-master bond0

auto eth1
iface eth1 inet manual 
    bond-master bond0

auto bond0
iface bond0 inet static
    address 192.168.23.21
    netmask 255.255.255.0
    network 192.168.23.0
    broadcast 192.168.23.255
    gateway 192.168.23.254
    dns-nameservers 192.168.23.19
    dns-search localnet
    # bond0 uses standard IEEE 802.3ad LACP bonding protocol 
    bond-mode 802.3ad
    #bond-mode balance-alb
    mtu 9000
    bond-miimon 100
    bond-downdelay 200
    bond-updelay 200
    bond-lacp-rate 1
    bond-slaves none

On /etc/modules I have:

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

lp
rtc
bonding

# Generated by sensors-detect on Sat Jan 14 13:01:42 2012
# Chip drivers
coretemp

My questions are:

  1. Am I configuring the bonding correctly?
  2. Why does it seem that eth1 is not being used, when I look at iftop?
share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.