Comware

 View Only
  • 1.  Load balancing using Aggregated Links (LACP)

    Posted Oct 20, 2009 08:52 PM
    Hi guys/gals

    Is it possible to load balance traffic using LACP trunk links.

    For example I am running two 2910al's and I would like to create a 4Gbps trunk link in between them.

    Is it possible to load balance traffic on that trunk port?

    Thanks for the replies


  • 2.  RE: Load balancing using Aggregated Links (LACP)

    Posted Oct 21, 2009 03:14 AM
    Hi,


    LACP is a trunking prot. it automaticlly load balance traffic between trunked ports but not equally, it uses something called conversation which depends on the source address and destination address of the packet, each unique SA/DA will be forwarded to one of the ports and all the traffic from the same SA/DA will take the same bath, and so on for other SA/DA combination.

    for the configuration use this
    #trunk <PORTS> <TRK1> lacp


    <PORTS> = the ports that will be used in this trunk group

    <TRK1> = fixed name for the trunk group, can be trk1, trk2,...etc

    note that, the links must be with the same speed and duplex and connected to the same switches directly

    If you need any other information please let me know.

    Regards,
    Islam Hassan</TRK1></PORTS></TRK1></PORTS>


  • 3.  RE: Load balancing using Aggregated Links (LACP)

    Posted Oct 21, 2009 07:32 PM
    Well, not *necessarily* equally - it depends on the definition of a "flow" - one example would be SA/DA pairs - how many flows there are, and whether or not the traffic of a single "flow" will be spread across more than one link in the aggregate/trunk/bond. I've not looked at the LACP spec (nor the ProCurve specs) to see if it can be set to define a flow as anything besides an SA/DA pair.

    Not that it helps here specifically, but some end-systems trunking implementations can be configured to define a flow as anything from SA/DA pair through src/dst IP to full TCP (or UDP) four-tuple of local/remote IP + local/remote port.


  • 4.  RE: Load balancing using Aggregated Links (LACP)

    Posted Oct 21, 2009 08:11 PM
    Thanks for the replies my main concern is all my users are connected to my second switch.

    All the users have gigabit speeds and I have a four gig trunk that connects to the first switch.

    The first switch contains all my servers and resoureces I don't want my users to experience any slowdowns accessing any resources. So I assume this 4 GB link will improve network performance.

    All my users are on different VLAN(s) as well. Is this 4GB trunk port good enough should I look into something else? and I configured the trunk to use LACP.

    Thanks again for all the help


  • 5.  RE: Load balancing using Aggregated Links (LACP)

    Posted Oct 21, 2009 08:22 PM
    How many users (aka client MAC addresses) do you have?

    How many servers (aka server MAC addresses) do you have?

    If there are "enough" of each then the law of large numbers suggests things should be happiness and joy.

    Unless I have high avialability concerns, I *personally* prefer to to up one level in link speed rather than aggregate (at least when possible), but then I get all my networking equipment internally.


  • 6.  RE: Load balancing using Aggregated Links (LACP)

    Posted Oct 21, 2009 08:45 PM
    Hi Rick,

    I have roughly 60 users and 10 main servers. I want the best performance out of my switches as possible what would you recommend?

    All ports are running gigabit speeds


  • 7.  RE: Load balancing using Aggregated Links (LACP)

    Posted Oct 21, 2009 08:53 PM
    I think you should be ok with a four-port trunk between the switches.


  • 8.  RE: Load balancing using Aggregated Links (LACP)

    Posted Oct 23, 2009 09:05 AM
    as a follow-on to this thread, there is no config "tuning" to force flows/load sharing/etc on trunk links...

    SA/DA pairs is all we get...

    and i would agree that based on your system, a 4G trunk should improve traffic flow as well as provide for "backup" in the event you had a link (or 2) failure...

    and as always, more is better ;-)


    hth...jeff


  • 9.  RE: Load balancing using Aggregated Links (LACP)

    Posted Oct 23, 2009 09:26 AM
    Thanks for the responses would a trunk be enough or should i do the sa/da pair which you guys are mentioning for better traffic flow?


  • 10.  RE: Load balancing using Aggregated Links (LACP)

    Posted Oct 23, 2009 09:55 AM
    SA/DA pairs cannot be manually configured, the switch automatically makes pairs based on Source Address/Destination Address of the frame.