From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-hardened@lists.gentoo.org
Subject: Re: [gentoo-hardened] bonding module auto-loading
Date: Sat, 21 May 2011 17:27:27 -0400 [thread overview]
Message-ID: <4DD82E3F.7@gentoo.org> (raw)
In-Reply-To: <4DD7B1BE.8020101@wildgooses.com>
On 05/21/2011 08:36 AM, Ed W wrote:
> Hi
>
>> Compiling it as a module is the way the devs recommend doing it.
>
> Which devs?
>
> Bond should support full configuration through sysfs for some years now?
> There is no reason that I'm aware of to need it to be a module?
>
>> I've
>> been compiling it into my kernels, but then I'm stuck with what I get,
>> as you were.
>
> It *should* be configurable completely via sysfs (and I think this is
> now the preferred method?). There are some caveats on the order you do
> things though, eg you need the interface down to change most of the
> settings?
>
>> I want the round-robin, what's bothering me is the miimon
>> which I can't change from 0 which means no mii mon which is not good.
>
> # cat /sys/class/net/bond0/bonding/miimon
> 100
> # cat /sys/class/net/bond0/bonding/mode
> 802.3ad 4
>
> # cat /sys/class/net/bond1/bonding/mode
> balance-rr 0
> # cat /sys/class/net/bond1/bonding/miimon
> 100
>
> Not sure what values are sensible though?
>
> Good luck
>
> Ed W
>
In answer to the first question, I was getting my info from memory. I
remember mpagano quoting it in response to a problem someone else had
with compiling it in. I remember him saying that using the module was
the only way of setting the parameters. I might ask him about it later.
As for /sys, thanks for the info! It worked. Perhaps my info comes
from the pre /sys days?
100 is reasonable.
--
Anthony G. Basile, Ph.D.
Gentoo Linux Developer [Hardened]
E-Mail : blueness@gentoo.org
GnuPG FP : 8040 5A4D 8709 21B1 1A88 33CE 979C AF40 D045 5535
GnuPG ID : D0455535
next prev parent reply other threads:[~2011-05-21 21:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-20 11:11 [gentoo-hardened] bonding module auto-loading "Tóth Attila"
2011-05-20 11:55 ` Anthony G. Basile
2011-05-21 12:36 ` Ed W
2011-05-21 13:15 ` "Tóth Attila"
2011-05-21 21:27 ` Anthony G. Basile [this message]
2011-05-21 12:29 ` Ed W
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=4DD82E3F.7@gentoo.org \
--to=blueness@gentoo.org \
--cc=gentoo-hardened@lists.gentoo.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