From owner-freebsd-questions Thu Jan 21 22:47:04 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA29391 for freebsd-questions-outgoing; Thu, 21 Jan 1999 22:47:04 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from nanguo.chalmers.com.au (gateway.chalmers.com.au [203.1.96.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA29382 for ; Thu, 21 Jan 1999 22:46:58 -0800 (PST) (envelope-from robert@chalmers.com.au) Received: from chalmers.com.au (carbon.chalmers.com.au [203.1.96.26]) by nanguo.chalmers.com.au (8.9.1/8.9.1) with ESMTP id QAA00666; Fri, 22 Jan 1999 16:45:01 +1000 (EST) Message-ID: <36A82271.9EE4071E@chalmers.com.au> Date: Fri, 22 Jan 1999 17:02:10 +1000 From: Robert Chalmers Reply-To: robert@chalmers.com.au Organization: chalmers.com.au X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: zh-CN,en MIME-Version: 1.0 To: W Gerald Hicks , freebsd-questions@FreeBSD.ORG Subject: Re: A tricky PPP + Routing question References: <199901220647.BAA02695@bellsouth.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I should probaly explain myself better :-) It's been a long day. 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. I should pack it in for the day. Go have a glass of wine. Thanks Robert W Gerald Hicks wrote: > Not sure I understand, but if you specify your IP address > like this: > > 10.0.0.1/0 > > Then the trailing '/0' tells ppp to require that none of > the specified bits are necessary and adopt the number > assigned by your ISP. This notation can be used for any > specified IP addresses and netmasks. > > We use the example ppp config scripts pretty much unmodified > here and the routing just happens, but it's a solitary machine > without another interface. You probably want to use the -alias > feature provided by userland ppp, unless the machines using > this route all have valid IP address assigned to your domain. > > Which version of FreeBSD are you running? > > Good Luck, > > Jerry Hicks > wghicks@bellsouth.net -- http://www.chalmers.com.au. Publications From China in 24 different languages. English, French, German, Russian, Arabic, Spanish, Chinese, Burmese, Bengali, Hindi, Indonesian, Italian, Japanese, Korean, Portuguese, Persian, Swahili, Sinhalese, Thai, Tamil, Urdu, Vietnamese. China Books for CIBTC, Beijing. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message