All, Here is a script I wrote. No Support offered, but it works great. just cut-n-paste into vi vi nicBonding.sh #!/bin/bash ##################################################################### ################### DFEZZ1 Admin Scripts ############################ ################### Must know your IP - Subnet and Network ########## ##################################################################### chdir="/etc/sysconfig/network-scripts" tmpdir="/tmp/" touch $chdir/ifcfg-bond0 echo -n "Enter 1st ethernet NIC \"ethX\" " read ethX echo -n "Enter 2nd ethernet NIC \"ethY\" " read ethY echo -n "Enter Prod IP address \"prodIP\" " read prodIP echo -n "Enter Prod Network IP example 192.168.1.0 \"prodNET\" " read prodNET echo -n "Enter Prod Gateway IP \"prodGW\" " read prodGW cp $chdir/ifcfg-$ethX $tmpdir/ifcfg-$ethX_orig cp $chdir/ifcfg-$ethY $tmpdir/ifcfg-$ethY_orig cat > $chdir/ifcfg-bond0 << EOF DEVICE=bond0 IPADDR=$prodIP NETMASK=255.255.255.0 NETWORK=$prodNET NETWORKING_IPV6=no GATEWAY=$prodGW USERCTL=no BOOTPROTO=none ONBOOT=yes EOF cat > $chdir/ifcfg-$ethX << EOF DEVICE=$ethX ONBOOT=yes USERCTL=no MASTER=bond0 SLAVE=yes BOOTPROTO=none TYPE=Ethernet EOF cat > $chdir/ifcfg-$ethY << EOF DEVICE=$ethY USERCTL=no ONBOOT=yes MASTER=bond0 SLAVE=yes BOOTPROTO=none TYPE=Ethernet EOF cat >> /etc/modprobe.conf << EOF alias bond0 bonding options bond0 mode=balance-alb miimon=1000 EOF cat > /etc/sysconfig/network-scripts/route-bond0 << EOF GATEWAY0=$prodGW NETMASK0=255.255.255.0 ADDRESS0=$prodNET EOF echo -n "Run ... service network restart ... and the bonding will take effect" #################################################################### --- On Tue, 2/24/09, ESGLinux <esggrupos@xxxxxxxxx> wrote: > From: ESGLinux <esggrupos@xxxxxxxxx> > Subject: any tool to help configure bonding? > To: "General Red Hat Linux discussion list" <redhat-list@xxxxxxxxxx> > Date: Tuesday, February 24, 2009, 11:28 AM > Hi all, > > Im trying to configure 2 ethernet cards to use bonding to > increase the > throughput. > > I´m using /usr/share/doc/iputils-20020927/README.bonding > to learn how to do > it, but I have a question > > With system-config-network is it posible to do it? or I > have to manually > edit the files in /etc/sysconfig/ > > Thanks > > ESG > -- > redhat-list mailing list > unsubscribe > mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list