Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 1999 12:00:09 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Patrick Gardella <patrick@cre8tivegroup.com>, freebsd-questions@freebsd.org
Subject:   Re: Two routes to world?
Message-ID:  <19990312120009.U490@lemis.com>
In-Reply-To: <XFMail.990311164729.patrick@cre8tivegroup.com>; from Patrick Gardella on Thu, Mar 11, 1999 at 04:47:29PM -0500
References:  <XFMail.990311164729.patrick@cre8tivegroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 11 March 1999 at 16:47:29 -0500, Patrick Gardella wrote:
> I'm out of my experience range here.  One of our clients is switching from a
> dial-up account (ppp) to ADSL.  Currently all the mail comes in through the ppp
> link.  What we want to do is route traffic coming in from ppp to go back out
> ppp, and anything else to go via the ADSL.  Can this be done?

Yes.

> Diagram (with fake IPs)
>
> 10.0.0.2 (old)      10.0.0.1
> 192.0.0.3 (new)
> FreeBSD      --->   ISP #1  (All email coming from this route now)
> dynamic IP
>  |
>  | This is the new link we want to make
>  |
> ADSL router  --->   ISP #2
> 192.0.0.2           192.0.0.1
>
> The default gateway is pointing to the ppp link.  (default = 10.0.0.1)
>
> If I ping through the new IP 192.0.0.2, it tries to respond through
> the 10.0.0.1 route.

You can't influence the path the response takes.  That is determined
outside your installation.

> We don't want to lose any of the email coming through the ppp link
> while the DNS changes are propogating down.

What DNS changes are you making?

> Would this be as simple as:
>
> route add default 192.0.0.1 -net 192.0.0

It might be as simple as doing nothing.  

I'm having difficulty understanding what you're trying to do here.  Do
you intend to keep the PPP link?  It doesn't seem to make sense.  If
you're only concerned about the transition, you shouldn't have a
problem.  If both connections are to ISPs (in other words, to the
Internet), and *their* routing is correct, you can use either
interface as the default and the data will get there.  It'll get there
faster via the ADSL line, of course, even if you're picking up mail
from the old ISP.

Greg
--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


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?19990312120009.U490>