From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 4 17:46:58 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98A1A16A4CE for ; Mon, 4 Oct 2004 17:46:58 +0000 (GMT) Received: from smtpq1.home.nl (smtpq1.home.nl [213.51.128.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35CDD43D3F for ; Mon, 4 Oct 2004 17:46:58 +0000 (GMT) (envelope-from dodell@sitetronics.com) Received: from [213.51.128.133] (port=50387 helo=smtp2.home.nl) by smtpq1.home.nl with esmtp (Exim 4.30) id 1CEWvI-0004oL-On; Mon, 04 Oct 2004 19:46:56 +0200 Received: from cc740438-a.deven1.ov.home.nl ([82.75.136.183]:4567) by smtp2.home.nl with esmtp (Exim 4.30) id 1CEWvH-0003T0-P6; Mon, 04 Oct 2004 19:46:55 +0200 Message-ID: <41618C8F.6090703@sitetronics.com> Date: Mon, 04 Oct 2004 19:46:55 +0200 From: "Devon H. O'Dell" User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Claudiu Dragalina-Paraipan References: <41618AC7.1040808@rdslink.ro> In-Reply-To: <41618AC7.1040808@rdslink.ro> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean cc: freebsd-hackers@freebsd.org Subject: Re: 2 inet connections X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2004 17:46:58 -0000 Claudiu Dragalina-Paraipan wrote: > Hi, > > I have this situation: 2 inet connection at 2 different ISP, one with > 2Mbps and one with 128kbps; and a big NATed network behind it, and a > small group of real addresses. > I want to do this: use the first connection as "primary" connection, and > if this fails, go to the second connection, as a backup. > The problem is that none of the ISP will help me in any way, so I have > to find a solution by my own. > > I am trying to avoid the making of a software that watches the > connections and "declare" a line dead when no TCP connection can be > made, thus switching to the secondary/backup line. > I realize that there is no way of using the group of real addresses on > the backup line, since they are not routed, but this is not of such > importance. I need only to provide Internet connection for the NATed > network. > > So... can someone provide me with some good practical advice for this > situation ? > > NOTE: > I want to use FreeBSD for this, so FreeBSD specific advices are welcome. > In fact I don't even think of other solution. > > I realize that this is not a very common situation, and I hope I have > explained it sufficiently clear. > > Thank you very much. > > Best regards, You might want to look at various patches for FreeBSD multipath routing that are available via the mailing lists. They're pretty easy to find with a search for FreeBSD Multimath routing via google. --Devon