From owner-freebsd-questions Thu May 10 5:29: 1 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gekko.i-clue.de (server.ms-agentur.de [62.153.134.194]) by hub.freebsd.org (Postfix) with ESMTP id EC64037B422 for ; Thu, 10 May 2001 05:28:57 -0700 (PDT) (envelope-from so@server.i-clue.de) Received: from i-clue.de (automatix.i-clue.de [192.168.0.112]) by gekko.i-clue.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id OAA19673; Thu, 10 May 2001 14:36:01 +0200 Message-ID: <3AFA89F7.7020903@i-clue.de> Date: Thu, 10 May 2001 14:30:47 +0200 From: Christoph Sold Reply-To: so@server.i-clue.de Organization: i-clue GmbH, Waiblingen, Germany User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9) Gecko/20010505 X-Accept-Language: de, en MIME-Version: 1.0 To: Keith Spencer Cc: questions@freebsd.org Subject: Re: hard/easy/impossible? routing problem References: <20010510114034.89680.qmail@web12005.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Keith Spencer wrote: > Hi all, > I have 2 gateway fbsd boxes and then the rest of the > lan machines. G1 is an ISND gateway G2 is an ADSL > gateway for fast up/download but alas a volatile > connection due to my ISPs rules. It drops out every 24 > hrs or so and pesistent pppoe dials it back inagain > but gets a new dhcp ip. > I would like a web server to accept requests via the > isdn because it is permanant. It is low bandwidth :^( > I would therefore like the web server to gateway the > requests out to remote clients via the adsl gateway. > The webserver is multi-homed with the default gateway > set to adsl.... so of course it has natural to/fro via > the adsl G2 gateway. > So is there anywhere to go here? or will this simply > work "naturally"? > NOTE the isdn is the lan router configured for the c > class space of which the web server is part. webserver <-1.2.3.4 ---+--- 1.2.3.1-> ISDN-Gateway -> ISDN IP | +--- 1.2.3.2-> DSL-Gateway --> DSL IP Right? If so, set the default route of the webserver to the internal IP of your DSL router, the default gateway of the DSL router to the DSL IP, and add a route on the DSL Gateway back to the internal net. This way, all outgoing webserver traffic is routed via DSL. HTH -Christoph Sold To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message