cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
36646
Views
15
Helpful
5
Replies

LACP Load Balancing Method

hschlecht
Level 1
Level 1

We have two stack of 3750-X switchs interconnected through LACP, and a CheckPoint Firewall connected to one of the stack. The Firewall use a LACP bond to connect to the 3750-X Stack. On the Cisco switches we don't use any Layer3 functionality.

Since the switch are used in Layer2 mode, can we define the a load balancing method that use IP informations ?

For example Can we change the load balancing method from src-mac to src-dst-ip ?

BRgds

5 Replies 5

chandra_rc16
Level 4
Level 4

As far as i know. Yes we can configure loadbalancing based on source & destination IP. The switch can understand it in though in layer2 mode.

Regards,
Chandu

Regards, Chandu

  Hi,

yes you can choose the method of Load balancing in LACP:

port-channel load-balance {dst-ip | dst-mac | src-dst-ip | src-dst-mac | src-ip | src-mac}

Configure an EtherChannel load-balancing method.

The default is src-mac.

Select one of these load-distribution methods:

dst-ip—Load distribution is based on the destination-host IP address.

dst-mac—Load distribution is based on the destination-host MAC address of the incoming packet.

src-dst-ip—Load distribution is based on the source-and-destination host-IP address.

src-dst-mac—Load distribution is based on the source-and-destination host-MAC address.

src-ip—Load distribution is based on the source-host IP address.

src-mac—Load distribution is based on the source-MAC address of the incoming packet.

Hello, It's completed in these mechanisms (Q1 2023):

  • gtpu: IP and GTP-TEID
  • inner-header: Inner header
  • ip: IP
  • ip-gre: IP, GRE key
  • ip-l4port: IP and L4 port
  • ip-l4port-vlan IP: L4 port and VLAN
  • ip-vlan:  IP and VLAN
  • ipv6-flow-label: IPv6 Flow Label
  • l4port: L4 port
  • mac: MAC
  • mac-ip-l4port-vlan: MAC, IP, L4 port and VLAN

BTW, LB defaults and choices can vary per platform.

Joseph W. Doherty
Hall of Fame
Hall of Fame

Yup, as also noted by other posters.

3750 series can work with L3 info even in L2 mode.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card