From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 23 09:09:01 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 393D0106566B for ; Wed, 23 Apr 2008 09:09:01 +0000 (UTC) (envelope-from miauris@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by mx1.freebsd.org (Postfix) with ESMTP id 0AA0A8FC0A for ; Wed, 23 Apr 2008 09:09:00 +0000 (UTC) (envelope-from miauris@gmail.com) Received: by wf-out-1314.google.com with SMTP id 25so1893365wfa.7 for ; Wed, 23 Apr 2008 02:09:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=7SqhEvMOnFn6l3RnZ7ZICgJSfIrrzAhYAk+BnxFkgkU=; b=IqGTkW2NXEPcEiyuLpNvKUV8SuDLAwB8K3fLgD9o5QX/ybwEE9N6Lyrx2YzbW0i6UO7+gBYXxNRXYfbA7+MqWymi0f/irbfpRjtLnqnqDjMY6XGMF+A7GG6MU9RXqVmgZQqnhWgbGCWXp//BxX408VXG3yg3pl3xad6jtlYiBJc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=l9T1lmEM2LkuncF+n/XV0aZGDUjHtZnKqyj4h980T738KkutECa3nckzkWiAMOMv5nXQHVeXe/JwEyplvC8pE9vnuGYzkyhsRrvC2fSqw+B5jol+p2OHe+FlkTS/o6edMfqarIfj6YFuOfMiR30IoTOoNiP5oAn/BO8DSaBzSzk= Received: by 10.142.216.9 with SMTP id o9mr52416wfg.93.1208941740404; Wed, 23 Apr 2008 02:09:00 -0700 (PDT) Received: by 10.142.131.21 with HTTP; Wed, 23 Apr 2008 02:09:00 -0700 (PDT) Message-ID: <1dd0a33d0804230209m2e1f81e0pe6cd5060134872a@mail.gmail.com> Date: Wed, 23 Apr 2008 12:09:00 +0300 From: "Mihai Serb" To: "Li, Qing" , freebsd-hackers@freebsd.org In-Reply-To: MIME-Version: 1.0 References: <1dd0a33d0804160337o3090ac08g4a2cbc3be0d58b19@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Multipath routing - failover version X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2008 09:09:01 -0000 On 4/16/08, Li, Qing wrote: > > > Hi, > > I recently incorporated multipath support into -CURRENT, > for the upcoming 8.0. This patch originated from the KAME > project and builds on the existing routing data structures > and infrastructure. As a result I did not have to > modify the userland programs, however, I think netstat > can use some tweaking in its output. > > The reason why I've made this patch is that I needed some sort of failover and not load balancing. Corect me if I'm wrong but it seams that you've added support for some sort of load balancing. Anyway, I will certainly take a closer look at your work and maybe try to adjust it to my needs. Hmm... in the current code if_unroute() would remove > the interface route when the interface is down. That is corect but it does not remove the ifp reference of a gateway route. Mihai Serb