ECMP enhancement

From: Li, Qing <qing.li_at_bluecoat.com>
Date: Wed, 10 Feb 2010 20:11:22 -0800
One of the advantages of enabling ECMP is to allow for connection load balancing.
Currently the address alias handling method is colliding with the ECMP code.
For example, when two interfaces are configured on the same prefix, only
one prefix route is installed. So connection load balancing is not possible.

The other advantage of ECMP is for failover. The issue with the current code, is 
that the interface link-state is not reflected in the route entry. For example, 
if there are two interfaces on the same prefix, the cable on one interface is 
unplugged, new and existing connections should switch over to the other interface. 
This is not done today and packets go into a black hole.

I discussed about these issues on the list about a month ago.

Also, there is a small bug in the kernel where deleting ECMP routes in the 
userland will always return an error even though the command is successfully
executed.

I have a patch that addresses the above issues. The patch is available at:

   http://people.freebsd.org/~qingli/ecmp-linkstate-patch.diff

This is not the final version. Your comments are welcome.

-- Qing
Received on Thu Feb 11 2010 - 03:11:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:00 UTC