cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
793
Views
0
Helpful
1
Replies

OSPF/CEF vs Layer2/Layer3 Ether-Channel Loadbalancing

joemarr_brodart
Level 1
Level 1

Greetings,

I'm in need of multiple gigs of bandwidth between two 6500s.

As far as I see it I have 3 options:

  1. Take 3 1Gb circuits, configure them as individual layer 3 interfaces and use OSPF/CEF to loadbalance traffic.
  2. Take 3 1Gb circuits, configure them as a single layer 3 interfaces using Layer 2 interface and a single SVI.
  3. Take 3 1Gb circuits, configure them as a single layer 3 interfaces using Layer 3 interface.

I've been testing option 3 using and have found that when I hit 2Gb I begin to see discards on the ether-channel interface.

My thought would be that option 1 would have less overhead, but Im not sure.

1 Reply 1

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Joemarr,

the question is not the overhead but the way load balancing is performed.

all methods either based on a L2 or L3 bundle or using CEF and parallel L3 links use flow based load balancing.

L2 bundle or L3 bundle with IPv4 traffic:   exor of less significant bits of IP SA and IP DA in modern IOS switches.

in older switches can be the exor of MAC SA and MAC DA.

CEF load balancing : IP SA exor IP DA exor hash seed. The hash seed changes at device reload.

if your traffic is not enough variable or if there are few very high traffic volume flows like database synchronization you can end up with one member link in the bundle that is full and other member links that are far less used.

With L3 CEF you might be enable to enable per packet load balancing but this requires some thoughts because it is a possible source of out of order packets that can affect performances of TCP/IP stacks of hosts in the two sites.

Hope to help

Giuseppe

Review Cisco Networking for a $25 gift card