From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 16 11:04:25 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 25F7B106566B for ; Wed, 16 Apr 2008 11:04:25 +0000 (UTC) (envelope-from miauris@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.172]) by mx1.freebsd.org (Postfix) with ESMTP id F19148FC19 for ; Wed, 16 Apr 2008 11:04:24 +0000 (UTC) (envelope-from miauris@gmail.com) Received: by wf-out-1314.google.com with SMTP id 25so2415487wfa.7 for ; Wed, 16 Apr 2008 04:04:24 -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:mime-version:content-type; bh=58WnAALxY9rBuIDgPwvHd/erLHBcAieCMBS8OJd2lNo=; b=jHMhb2AszZi+nWxBsZ7RY3PNSOklQtgzO2B4VsSSpCetDrfZWJaGUf3uXn7zpgL/xSkIcdAlidQi6z7UGhcJPKH6g2plFQXUeahc5KWcEAMnC6lXRNx17Nk+uf5dfQniUrU+nEqMa/ZgMAs0UqyPiW5R9sPEiFIan8ORJGIyDOY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=rDMiara0tqxCHwQzwJpEJ/JNycbjHv0DeGw05/Yv2o7SyMYUMUDt2XgUMUR0vJeWu3GTbhJArTZLLzu1hiQYC/MszrSdJhYxjo/ZmAz37IkEq0iFGSVNnr6fa0Mc1Aj2ciiCwGl3wyVRqKTgNohpAMxb9WgnIsTK6047KSSalnU= Received: by 10.142.53.6 with SMTP id b6mr1737281wfa.289.1208342247175; Wed, 16 Apr 2008 03:37:27 -0700 (PDT) Received: by 10.142.131.21 with HTTP; Wed, 16 Apr 2008 03:37:26 -0700 (PDT) Message-ID: <1dd0a33d0804160337o3090ac08g4a2cbc3be0d58b19@mail.gmail.com> Date: Wed, 16 Apr 2008 13:37:26 +0300 From: "M.S. Motanu" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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, 16 Apr 2008 11:04:25 -0000 I've ported the multipath routing patch by Ed Tanzer > for FreeBSD 4.8-STABLE to FreeBSD 6.1-RELEASE. The patch modifies the kernel and the userland programs netstat and route so that for the same destination it is possible to specify two or more different gateways (paths). Switching between different paths is done by the kernel based on the link state of the interface associated with the gateway. This way when can achieve a level of redundancy at the link level (this is not a routing protocol!). The original patch did not have failover in mind, it addressed the problem of load balancing. But the same results can be achieved with this patch with minor changes to the code. The patch files and installation instructions can be downloaded from:http://miauris.freehostia.com/mpath/mpath.tar.gz Comments are welcomed!