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 <[EMAIL PROTECTED]> 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 > > > > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
