I want to use bonding in SLES 9. The SLES documentation has no information on bonding, so I've been using /usr/src/linux/Documentation/networking/bonding.txt.
A posting in the novell.support.suse.linux.enterprise-server mailing list advised creating a /etc/sysconfig/network/ifcfg-bond0 with the following values:
I'm particularly interested in the last four lines. These aren't documented in bonding.txt, but they do seem to work. I really like the idea of specifying optional parameters in the ifcfg-bond0 file, rather than (as bonding.txt specifies) in /etc/modprobe.conf, where they are much less visible IMHO.
What is the 'correct' way to specify these parameters?
Thanks!
tl
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The bonding.txt documents only the kernel driver itself (bonding). The network initialization stuff is specific to the various distros, so it should be documented somewhere with the distro, but it's not. This is true for other distros as well, e.g., Red Hat.
There's some generic info on editing modprobe.conf and the like in bonding.txt, but that's not specific to any distro.
It happens that I've been working on documentation for a couple of distros (for other reasons), which includes info on how to set up bonding on SLES 8, SLES 9 and RHEL. Each of these has different requirements; none are consistent.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ah, thanks for that clarification, Jay; that helps! Wonder why the specific distribution documentation for bonding (which is great stuff, by the way!) hasn't seen the light of day . . . .
What source(s) are you using for your 'documentation for a couple of distros'? Also, would you be willing to make that document available?
Thanks!
tl
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dears,
i'm looking forward for detailed docs, tooooooo. i found someone mentioned that there IS sth. in patch package, but also found there ISNOT anything in this project's doc category. i think it's unreasonable. sign...anyhow,i may submit some when i find useful ones.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I want to use bonding in SLES 9. The SLES documentation has no information on bonding, so I've been using /usr/src/linux/Documentation/networking/bonding.txt.
A posting in the novell.support.suse.linux.enterprise-server mailing list advised creating a /etc/sysconfig/network/ifcfg-bond0 with the following values:
BOOTPROTO='static'
BROADCAST='172.16.0.255'
IPADDR='172.16.0.1'
MTU=''
NETMASK='255.255.255.0'
NETWORK='172.16.0.0'
REMOTE_IPADDR=''
STARTMODE='onboot'
BONDING_MASTER='yes'
BONDING_MODULE_OPTS='miimon=100'
BONDING_SLAVE0='eth1'
BONDING_SLAVE1='eth2'
I'm particularly interested in the last four lines. These aren't documented in bonding.txt, but they do seem to work. I really like the idea of specifying optional parameters in the ifcfg-bond0 file, rather than (as bonding.txt specifies) in /etc/modprobe.conf, where they are much less visible IMHO.
What is the 'correct' way to specify these parameters?
Thanks!
tl
Hi,
The parameters specified by tou is correct. If you want to have some more options you need to specify them in one single line.
i.e
BONDING_MODULE_OPTS='miimon=100 mode=1'
Let me know if you need any other information.
BTW do you see Illegal operation message while bringing up the bond? If yes, do you know what is the cause?
thanks,
Anil
Thanks, Anil. But if the parameters are correct, where are they documented? They aren't in bonding.txt.
Thanks
tl
The bonding.txt documents only the kernel driver itself (bonding). The network initialization stuff is specific to the various distros, so it should be documented somewhere with the distro, but it's not. This is true for other distros as well, e.g., Red Hat.
There's some generic info on editing modprobe.conf and the like in bonding.txt, but that's not specific to any distro.
It happens that I've been working on documentation for a couple of distros (for other reasons), which includes info on how to set up bonding on SLES 8, SLES 9 and RHEL. Each of these has different requirements; none are consistent.
Ah, thanks for that clarification, Jay; that helps! Wonder why the specific distribution documentation for bonding (which is great stuff, by the way!) hasn't seen the light of day . . . .
What source(s) are you using for your 'documentation for a couple of distros'? Also, would you be willing to make that document available?
Thanks!
tl
Dears,
i'm looking forward for detailed docs, tooooooo. i found someone mentioned that there IS sth. in patch package, but also found there ISNOT anything in this project's doc category. i think it's unreasonable. sign...anyhow,i may submit some when i find useful ones.