From owner-freebsd-questions Tue Jan 28 16:35:52 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D335437B401 for ; Tue, 28 Jan 2003 16:35:50 -0800 (PST) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3F5643E4A for ; Tue, 28 Jan 2003 16:35:49 -0800 (PST) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com[24.147.188.198]) by sccrmhc01.attbi.com (sccrmhc01) with ESMTP id <20030129003544001008bdece>; Wed, 29 Jan 2003 00:35:44 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [24.147.188.198] (may be forged)) by be-well.ilk.org (8.12.6/8.12.6) with ESMTP id h0T0Zgtm086103 for ; Tue, 28 Jan 2003 19:35:43 -0500 (EST) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.6/8.12.6/Submit) id h0T0Zfgr086100; Tue, 28 Jan 2003 19:35:41 -0500 (EST) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f To: freebsd-questions@freebsd.org Subject: Re: How to set-up two 'defaultrouter' IPs? References: <000d01c2c634$48196ca0$aeb423cf@3bagsmedia> From: Lowell Gilbert Date: 28 Jan 2003 19:35:41 -0500 In-Reply-To: <000d01c2c634$48196ca0$aeb423cf@3bagsmedia> Message-ID: <44znpkokrm.fsf@be-well.ilk.org> Lines: 25 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Phillip Smith (mailing list)" writes: > To create a somewhat redundant network connection, my friend has > connected to business level ADSL connections at his home (32 IPs each). > So, he has two routers, on two different networks (ATT/UUNET) and what > he's doing is multi-homing his NIC cards and via some interesting DNS > set-up, theoretically, there is some network redundancy or failover or > something. > > Anyway, here's the question... how would I set-up two 'defaultrouter' > IPs in my rc.conf? Is that were I would do such a thing? I'd like to > have the same scenario that he's building with a multi-homed NIC and two > IPs per VirtualHost directive. I guess there are actually many steps to > accomplish this (as I now start to think about it) but I'm wondering how > to set-up the networking piece first. > > Many thanks in advance, Two truly default routes is not really sensical. You generally play games based on source address, TCP port, or something like that, and make sure that they NAT separately. [It has to involve NAT, because for networks that small, you can't get routes distributed widely enough to do true multihoming.] So the answer depends on exactly what hack you want to do. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message