From owner-freebsd-questions Fri Jan 22 22:33:59 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA22250 for freebsd-questions-outgoing; Fri, 22 Jan 1999 22:33:59 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA22232 for ; Fri, 22 Jan 1999 22:33:49 -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 RAA00569; Sat, 23 Jan 1999 17:03:35 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.2/8.9.0) id RAA37130; Sat, 23 Jan 1999 17:03:33 +1030 (CST) Date: Sat, 23 Jan 1999 17:03:33 +1030 From: Greg Lehey To: Andrew MacIntyre Cc: Robert Chalmers , W Gerald Hicks , freebsd-questions@FreeBSD.ORG Subject: Re: A tricky PPP + Routing question Message-ID: <19990123170333.B36690@freebie.lemis.com> References: <36A82271.9EE4071E@chalmers.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: ; from Andrew MacIntyre on Sat, Jan 23, 1999 at 09:45:38AM +1100 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 Saturday, 23 January 1999 at 9:45:38 +1100, Andrew MacIntyre wrote: > On Fri, 22 Jan 1999, Robert Chalmers wrote: > >> I have a C class network. 203.1.96.0 to 255. All valid. >> >> Their addresses are: >> Their end. 139.130.78.1 >> My end: 139.130.78.12 >> >> My Server Ethernet IP = 203.1.96.5 >> >> The carrier wants me to set up my PPP link so that it has one of their >> addresses at their end, one of their addresses at my end, and I look after >> routing from my network to their network. So in effect on my FreeBSD box, the >> ppp link files contain both their addresses. >> If my machine is configured as a gateway, which it is, does that mean if I set >> up a route to their number which is at my end... from my Ethernet interface, >> then all will be well. But how do I do that, or is it automagic. > > All you really need to do is set the default route to the IP address at > your ISP's end of the PPP link. I know that pppd supports a > "defaultroute" option that configures this automatically, but have no > idea what the userland ppp might offer in the same vein. Well, the real answer is that somebody should explain to your carrier that this is a lot of nonsense. There are a number of Telstra customers who are pissed off with this requirement, myself included. Sure, you can set the routing as Andrew suggests, and it'll work, but what's the name of your machine? nanguo.chalmers.com.au? Or robert9.lnk.telstra.net? You can certainly get them to change the name of the link (if they get silly, point to 139.130.136.133), but you end up with all sorts of problems: some (broken, but paranoid) ftp servers will refuse you access (try ftp.guug.de, for example), your mail will go out with suggestions in the headers ``may be forged'', you may end up with hanging NFS mounts, and other things that I haven't thought of. The correct answer is that your end of the PPP link should have an address in your IP domain. Greg -- 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