Here's a copy from one of my configurations:
BOOTPROTO='static' BROADCAST='172.17.6.255' IPADDR='172.17.6.192' MTU='1500' NETMASK='255.255.255.0' NETWORK='172.17.6.0' REMOTE_IPADDR='' STARTMODE='onboot' BONDING_MASTER='yes' BONDING_MODULE_OPTS='mode=balance-rr miimon=100' BONDING_SLAVE0='bus-pci-0000:1a:00.0' BONDING_SLAVE1='bus-pci-0000:1a:00.1' BONDING_SLAVE2='bus-pci-0000:15:00.0' BONDING_SLAVE3='bus-pci-0000:15:00.1'
In general, just setup however many interfaces you want to bond to dhcp first. This will generate an /etc/sysconfig/network/ifcfg-eth-XXXXXXX..... Change bootproto to none, and startmode to off in them. Now grab your bus-pci info from them and list them as your bonding_slaves...this should be enough to get you going!
also, /usr/src/KERNEL/Documentation/networking/bonding.txt should be the most recent info for all the bonding options out there. Default method is to have a round-robin mode, but a lot only use the active-passive method. i like more throughput, while maintaining redundancy! in our 10g cluster, i have to use the active-passive method for our RAC interconnect though. At the time of build, Oracle stated that was the only bonded method that they would support. BUMMER!!! =p
Good luck, and ask away if you have any additional questions!!
Mike
On 10/10/07, JJB <onephatcat@earthlink.net> wrote:
Ok, trying to figure out how to bond the network cards on SUSE into one.
Man page for ifcfg-bonding says:
"To setup a bonding interface you need a configuration file ifcfg-bond<X> with the usual network settings. But you must add additional variables"
Ok, I need a configuration file. Where does it go? I'm reading the
Linux Ethernet Bonding Driver HOWTO
but it fails to tell you where to put the config file (how about specifying a path at least the first time a file is mentioned, or even every time, just to make life simple?)
It also suggests that to determine if ones server has the capability to do this one use the
grep ifenslave /bin/ifup
command
- which returns command not found
but in fact there appears to be an ifenslave program in /sbin, and there is a file called ifup in there as well.
oh well, I'm still coming to grips with learning grep.
Thanks.
- Joel
Thanks Michael. Does the ifcfg-bond<X> go in the same folder as
Michael Kershaw wrote: the ifcfg-eth-XXXXXXX file? What does the X stand for, and what is the filename syntax for he ifcfg-bond file? Thanks much, - Joel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org