• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 305
  • Last Modified:

CISCO Load Balancing CEF

Hi,

I have a quick question on CEF.  Once I configure CEF on the 2 interfaces that will be going to out to the web, do I configure 2 last resort routes.  For Example:

0.0.0.0 0.0.0.0 192.168.1.1 1
0.0.0.0 0.0.0.0 192.168.1.2 1

Thank you for your help in advance
0
thomasm1948
Asked:
thomasm1948
  • 2
  • 2
1 Solution
 
Otto_NCommented:
Short answer: Yes. If you have two gateways to the Internet, you should configure two static routes.

Technically, CEF and last-resort routes doesn't really have anything to do with each other - You would have configured both static routes in any case, whether you used  CEF or not.
0
 
thomasm1948Author Commented:
what would the benefit be, if I do not configure CEF.  Is there a better way to load balance between to ISPs?
0
 
Otto_NCommented:
CEF switching is just a way to speed up the rate at which packets are switched - It use up a bit more memory resources (to build the forwarding tables required), but if your device have sufficient memory, CEF is recommended - It is by default enabled on the newer Cisco kit.

I must confess, I had to read up on the load balancing of CEF. Without CEF, traffic is usually forwarded round-robin (one packet to ISP-1, the next packet to ISP-2).  CEF, by default, load-balance per destination.  This result in a more  intelligent forwarding - packets from the same source to the same destination will be switched to the same ISP, where packets from the same source to a different destination might be switched to the other ISP.

While this can give you uneven utilization between the two uplinks (depending on your traffic profile), it will reduce the probability that packets are delivered out-of-order.
0
 
thomasm1948Author Commented:
thank you for all of your help
0

Featured Post

The IT Degree for Career Advancement

Earn your B.S. in Network Operations and Security and become a network and IT security expert. This WGU degree program curriculum was designed with tech-savvy, self-motivated students in mind – allowing you to use your technical expertise, to address real-world business problems.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now