Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2001 14:30:47 +0200
From:      Christoph Sold <so@server.i-clue.de>
To:        Keith Spencer <bsd2000au@yahoo.com.au>
Cc:        questions@freebsd.org
Subject:   Re: hard/easy/impossible? routing problem
Message-ID:  <3AFA89F7.7020903@i-clue.de>
References:  <20010510114034.89680.qmail@web12005.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AFA89F7.7020903>