ECMP enhancement

Balaji G balajig81 at gmail.com
Thu Feb 11 08:50:18 UTC 2010


Hi Qing

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

>   http://people.freebsd.org/~qingli/ecmp-linkstate-patch.diff<http://people.freebsd.org/%7Eqingli/ecmp-linkstate-patch.diff>

Thanks for the reply. I had sent you an email to you on load balancing
couple of days back and thanks for the reply. I ll roll in the patch and
give it a shot.

Cheers,
  - Balaji



On Thu, Feb 11, 2010 at 9:41 AM, Li, Qing <qing.li at bluecoat.com> wrote:

>
> 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<http://people.freebsd.org/%7Eqingli/ecmp-linkstate-patch.diff>
>
> This is not the final version. Your comments are welcome.
>
> -- Qing
>
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>


More information about the freebsd-current mailing list