[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

Powerconnect 6224 link aggregation and Centos not working

Posted on 2009-04-30
3
Medium Priority
?
1,484 Views
Last Modified: 2013-11-08
I´m trying to make a Link Aggregation with Powerconnect 6224 and Centos 5.3 64 Bits, however it doesnt work.

My configuration:

/etc/modprobe.conf
alias bond0 bonding
options miimon=100 mode=4 lacp_rate=1

Channel   Ports                         Hash Algorithm Type
-------   ----------------------------- -------------------
ch1       Inactive: 1/g10, 1/g11        3

Ch   Type                            Link
                                     State
---  ------------------------------  -----
ch1  Link Aggregate                  Down  

Flow Control:Enabled


interface port-channel 1
description 'bonding  backup'
exit

interface ethernet 1/g10
no negotiation
channel-group 1 mode auto
description ' BACKUP BONDING'
exit
!
interface ethernet 1/g11
no negotiation
channel-group 1 mode auto
description ' BACKUP BONDING'

# Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper)
DEVICE=eth0
HWADDR=00:30:48:65:1A:9A
ONBOOT=yes
BOOTPROTO=none

MASTER=bond0
SLAVE=yes
USERCTL=no
TYPE=Ethernet

# Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper)
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=none
HWADDR=00:30:48:65:1A:9B
MASTER=bond0
SLAVE=yes
USERCTL=no
TYPE=Ethernet

DEVICE=bond0
ONBOOT=yes
USERCTL=no
BOOTPROTO=static
BROADCAST=192.168.1.255
#HWADDR=00:30:48:65:1A:9B
IPADDR=192.168.1.7
#IPV6_AUTOCONF=yes
NETMASK=255.255.255.0
NETWORK=192.168.1.0
TYPE=Ethernet

My switch firmware is 2.2.0.3 (January 2009 Release). Is it capable of handle 802.3ad?
Thanks in advance

Regards
0
Comment
Question by:admin112
  • 2
3 Comments
 
LVL 2

Assisted Solution

by:Jitpar
Jitpar earned 2000 total points
ID: 24283238
interface ethernet 1/g10
no negotiation
channel-group 1 mode auto
description ' BACKUP BONDING'
exit

This is wrongly configured. You have configured No negotiation in the interface, so both the interfaces will not form a trunk.
remove the "no negotiation"and use active on one interface and passive on other interface to form a trunk. Auto and auto will never form a trunk because auto never takes an initiative to form a trunk.
0
 

Author Comment

by:admin112
ID: 24283743
Now it is auto negotiation in both interfaces.

Configuration only allow the following:

switch(config-if-1/g11)#channel-group 1 mode ?

auto                     Force the port to port-channel with lacp.
on                       Force the port to port-channel without lacp.

Anyway, Centos do not permit change bonding mode, always do round robin:

   1.
      [root@backup ~]# cat /etc/modprobe.conf
   2.
      alias eth0 e1000
   3.
      alias eth1 e1000
   4.
      alias scsi_hostadapter aacraid
   5.
      alias scsi_hostadapter1 ata_piix
   6.
      alias scsi_hostadapter2 usb-storage
   7.
      alias bond0 bonding
   8.
      options miimon=100 mode=4
   9.
       
  10.
      Ethernet Channel Bonding Driver: v3.2.4 (January 28, 2008)
  11.
       
  12.
      Bonding Mode: load balancing (round-robin)
  13.
      MII Status: up
  14.
      MII Polling Interval (ms): 0
  15.
      Up Delay (ms): 0
  16.
      Down Delay (ms): 0
  17.
       
  18.
      Slave Interface: eth0
  19.
      MII Status: up
  20.
      Link Failure Count: 0
  21.
      Permanent HW addr: 00:30:48:65:1a:9a
  22.
       
  23.
      Slave Interface: eth1
  24.
      MII Status: up
  25.
      Link Failure Count: 0
  26.
      Permanent HW addr: 00:30:48:65:1a:9b
0
 

Accepted Solution

by:
admin112 earned 0 total points
ID: 24284425
It works now. The problem was the following:

/etc/modprobe.conf

options bonding mode=4

I had:

alias bond0 bonding
options miimon=100 mode=4 lacp_rate=1

Obviously, it is really wrong. You cannot set options of bonding if you do not refer to the module...
After change it, system must be rebooted.



0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

591 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question