From owner-freebsd-questions Thu Mar 11 17:30:41 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 4ED8014F40 for ; Thu, 11 Mar 1999 17:30:30 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id MAA19452; Fri, 12 Mar 1999 12:00:11 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id MAA52723; Fri, 12 Mar 1999 12:00:09 +1030 (CST) Message-ID: <19990312120009.U490@lemis.com> Date: Fri, 12 Mar 1999 12:00:09 +1030 From: Greg Lehey To: Patrick Gardella , freebsd-questions@freebsd.org Subject: Re: Two routes to world? References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Patrick Gardella on Thu, Mar 11, 1999 at 04:47:29PM -0500 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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