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 : [email protected] GnuPG FP : 8040 5A4D 8709 21B1 1A88 33CE 979C AF40 D045 5535 GnuPG ID : D0455535
