Operating System - Linux
1833159 Members
3295 Online
110051 Solutions
New Discussion

Re: Red Hat 5 Bonding Nics

 
SOLVED
Go to solution
Darren Etheridge_2
Super Advisor

Red Hat 5 Bonding Nics

I have 2 Nics I have bonded on my RedHat server. The teaming(bonding) works great but I don't have a trunk(LACP) setup in the Procurve 5408xl switch. When I try to setup a trunk, the link of the RedHat bonds fail. Am I missing something? Don't I need to Trunk the ports the NICS are on in the switch for this to work correctly?

Any input would be greatly appreciated!@

D
5 REPLIES 5
Tim Nelson
Honored Contributor
Solution

Re: Red Hat 5 Bonding Nics

There are 6 modes to the config. the default is not a trunk / aggregate...

I believe mode 6 is the one you are looking for, double check the doc though....

Benoy Daniel
Trusted Contributor

Re: Red Hat 5 Bonding Nics

LACP protocol should match at server and switch side.
Steven E. Protter
Exalted Contributor

Re: Red Hat 5 Bonding Nics

Shalom,

Please post /etc/modprobe.conf

You may need to choose a different bonding mode to get around this issue.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Darren Etheridge_2
Super Advisor

Re: Red Hat 5 Bonding Nics

I used Mode 4, 802.3ad and it seems that the switch auto set the Dyn Trunk automatically. I am looking for more bandwidth and redundancy. Would this mode be ok to use?
Darren Etheridge_2
Super Advisor

Re: Red Hat 5 Bonding Nics

Here is my modprobe.conf and

alias bond0 bonding
options bond0 mode=4 miimon=100
alias scsi_hostadapter aic79xx
alias scsi_hostadapter1 cciss
alias scsi_hostadapter2 ata_piix


ifcfg-bond0:
DEVICE=bond0
IPADDR=192.168.1.15
NETWORK=192.168.1.0
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
USERCTL=no
BOOTPROTO=none
ONBOOT=yes
IPV6INT=no


ifcfg-eth0:
DEVICE=eth0
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none


ifcfg-eth1:
DEVICE=eth1
USERCTL=no
ONBOOT=yes
MASTER=bond0
SLAVE=yes
BOOTPROTO=none



Thank you for your time and opinions :)

D