From owner-freebsd-net@FreeBSD.ORG Thu Feb 11 08:50:17 2010 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5FAD1065672; Thu, 11 Feb 2010 08:50:17 +0000 (UTC) (envelope-from balajig81@gmail.com) Received: from mail-pz0-f179.google.com (mail-pz0-f179.google.com [209.85.222.179]) by mx1.freebsd.org (Postfix) with ESMTP id B29D28FC1D; Thu, 11 Feb 2010 08:50:17 +0000 (UTC) Received: by pzk9 with SMTP id 9so1247690pzk.28 for ; Thu, 11 Feb 2010 00:50:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=zvA4+DF4Ym16uv3jDvpGaLNBfxh7XTU2f7oOFPzQf50=; b=puT87PafZZMTl6jZ8+KeFcJ2Z43ACqjpFx756v1lNG+fQlOjPwq26S7RYGvtxHU7FO x4AB04qbuCns2HZQVJlM4K+KAqAh8dIppB94o6YKV4luslUR96GMDZd3s40gLkqZrGoQ sBmHyDiJNoYiAtk+N56vzSvTuldH/Dp8F8JPw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=pa1qc5NA5vCc+2DXyEz9yQNzT39y/Adht4FkV5/K92ZHuJ+a9dvQPkMeyLM8QawZmg Sz/z7Rp/YGYI2rO10OiXR6QTz/66Swl/2wuW+TlfzeuTXDwpB+SIV5ycN/b3lh6QCBIb znLWQoC1dpnlvrN0NqObkkLjnImoPhpvHF99I= MIME-Version: 1.0 Received: by 10.142.2.23 with SMTP id 23mr939024wfb.327.1265876509181; Thu, 11 Feb 2010 00:21:49 -0800 (PST) In-Reply-To: References: Date: Thu, 11 Feb 2010 13:51:49 +0530 Message-ID: <6dd1343e1002110021t544c09c9uec170c3671e364bb@mail.gmail.com> From: Balaji G To: "Li, Qing" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: qingli@freebsd.org, current@freebsd.org, net@freebsd.org Subject: Re: ECMP enhancement X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2010 08:50:18 -0000 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 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 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 > > This is not the final version. Your comments are welcome. > > -- Qing > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >