Re: any tool to help configure bonding?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yep, sorry for that.  It's the ifcfg-eth0 I wrote out, with the script.  Long story short you need to add you mac address back into the eth# (eth0-eth1) files.  So either user ifconfig to get the mac and add it or I wrote the old eth-files out as "orig" I think.

But adding the mac should fix that.


--- On Wed, 2/25/09, ESGLinux <esggrupos@xxxxxxxxx> wrote:

> From: ESGLinux <esggrupos@xxxxxxxxx>
> Subject: Re: any tool to help configure bonding?
> To: "General Red Hat Linux discussion list" <redhat-list@xxxxxxxxxx>
> Date: Wednesday, February 25, 2009, 12:42 PM
> Hello,
> 
> I have tested your script and it worked like a charm,
> 
> but when I try to restart the network I get the next
> messages:
> 
> Ethernet Channel Bonding Driver: v3.2.4 (January 28, 2008)
> bonding: In ALB mode you might experience client
> disconnections upon
> reconnectio
> n of a link if the bonding module updelay parameter (0
> msec) is incompatible
> with the forwarding delay time of the switch
> bonding: MII link monitoring set to 1000 ms
> ADDRCONF(NETDEV_UP): bond0: link is not ready
> bonding: bond0: Adding slave eth0.
> eth0: link up
> bonding: bond0: Error: dev_set_mac_address of dev eth0
> failed! ALB mode
> requires
> that the base driver support setting the hw address also
> when the network
> devic
> e's interface is open
> bonding: bond0: Adding slave eth1.
> eth1: link up
> bonding: bond0: Error: dev_set_mac_address of dev eth1
> failed! ALB mode
> requires that the base driver support setting the hw
> address also when the
> network device's interface is open
> 
> 
> If I run ifconfig I get the bond0 dev runing, but the
> network doesnt work at
> all,
> 
> I think I´m doing something wrong but don´t not what
> 
> any idea?
> 
> thanks
> 
> ESG
> 
> 
> 2009/2/25 Thomas Fess <dfezz1@xxxxxxxxx>
> 
> >
> > 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
> >
> --
> 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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux