mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Watts <m.watts@eris.qinetiq.com>
To: linux-kernel@vger.kernel.org
Subject: ethernet channel bonding (bonding.o) on 2.6.x
Date: Mon, 1 Nov 2004 10:54:56 +0100	[thread overview]
Message-ID: <200411010955.00347.m.watts@eris.qinetiq.com> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I'm trying to migrate a couple of server from a 2.4 kernel to 2.6 (Mandrake 
9.1 -> 10.0)
All servers have 4 nics (a mix of e1000 and bcm5700) arranged in two logical 
interfaces.

Note: Mandrakes ifconfig/ifup scripts have the necessary logic to ifenslave 
ethX interfaces to a bondX interface automatically (through options in the 
ifcfg-ethX and ifcfg-bondX config files).

On 2.4 I used the following in /etc/modules.conf, which worked perfectly:

- --
alias bond0 bonding
alias bond1 bonding

options bond0 miimon=100 mode=1
options bond1 -o bonding1 miimon=100 mode=1
- --

When I come to use these settings with /etc/modprobe.conf, only bond0 comes 
up. The system complains that there 'doesnt seem to be a device for bond1' 
and doesn't bring it up.

Using 'generate-modprobe.conf' It thinks I should be using:

- --
alias bond0 bonding
alias bond1 bonding
options bond0 miimon=100 mode=1
options bond1 miimon=100
install bond1 /sbin/modprobe -o bonding1 --ignore-install bonding
- --

This doesn't work - I get the same error.

If I manually do:

	# modprobe bonding -o bonding1
	# ifconfig bond1 up

Then I can bring up bond1 by hand. 

I'm guessing the 'install' line is supposed to load a second instance of the 
bonding driver (which I didn't think I needed with 2.6's module loading 
needed - I can load e1000 twice without doing anything special) but it isn't.


Does anyone have a system with more than one bonded interface that actually 
works?

Cheers,

Mark.

- -- 
Mark Watts
Senior Systems Engineer
QinetiQ Trusted Information Management
Trusted Solutions and Services group
GPG Public Key ID: 455420ED

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBhgf0Bn4EFUVUIO0RAuAHAKCDS5DtJMzRJjJGnGXly6b0GjRL/wCg8h/A
PXmz2ltABkxPQWXfVY4XVBQ=
=Wsch
-----END PGP SIGNATURE-----

             reply	other threads:[~2004-11-01  9:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-01  9:54 Mark Watts [this message]
     [not found] ` <41866D36.70908@signal.QinetiQ.com>
2004-11-02  9:32   ` Mark Watts

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200411010955.00347.m.watts@eris.qinetiq.com \
    --to=m.watts@eris.qinetiq.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®