From owner-freebsd-questions Wed Jan 29 10:26:32 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 7CEF137B401 for ; Wed, 29 Jan 2003 10:26:31 -0800 (PST) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2AE543F3F for ; Wed, 29 Jan 2003 10:26:30 -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 rwcrmhc52.attbi.com (rwcrmhc52) with ESMTP id <2003012918262505200drl80e>; Wed, 29 Jan 2003 18:26:25 +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 h0TIQOtm088172 for ; Wed, 29 Jan 2003 13:26:24 -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 h0TIQNan088169; Wed, 29 Jan 2003 13:26:23 -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: <004b01c2c7a2$122fff40$aeb423cf@3bagsmedia> From: Lowell Gilbert Date: 29 Jan 2003 13:26:23 -0500 In-Reply-To: <004b01c2c7a2$122fff40$aeb423cf@3bagsmedia> Message-ID: <44hebrstgw.fsf@be-well.ilk.org> Lines: 22 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: > What I'd like to do is this... right now my NIC answers 212.12.12.212 > (for instance) externally and that's the address I use for Apache's > NameVirtualHost directives. I would also like my NIC to answer on > 252.12.12.212 (second network connection) and serve the same VirtualHost > directives... > > So, what happens is, in NS1.NAMESERVER.NET (which is on the 212 network) > the A record for my box is 212.12.12.212 and, if that network should > fail, the requests will be answered by NS2.NAMESERVER.NET (which is on > the 252 network) and it has an A record for my box of 252.12.12.212. So, > in effect, the name server's availability actually directs the traffic > to the available network connection. > > Does that make sense? Sure. What you want isn't two default routers, because at any given time there's only one way you want to route this traffic. What you really want is to change default router when the outside world sees one as down. A little tricky, because the system itself might not see main network as problematic, even though the rest of the Internet does. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message