From owner-freebsd-questions Tue Feb 11 02:25:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA13528 for questions-outgoing; Tue, 11 Feb 1997 02:25:49 -0800 (PST) Received: from cia.com.au (spook.cia.com.au [203.17.36.1]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA13521 for ; Tue, 11 Feb 1997 02:25:42 -0800 (PST) Received: from [203.28.48.239] (cuba.cia.com.au [203.28.48.239]) by cia.com.au (8.7.5/8.7.3) with ESMTP id VAA10046 for ; Tue, 11 Feb 1997 21:25:37 +1100 (EST) X-Sender: alastair@mail.cia.com.au Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 11 Feb 1997 21:29:54 +1100 To: questions@freebsd.org From: Alastair Rankine Subject: User PPP Routing yet again. Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi folks, I'm trying to set up my FBSD box as a gateway from my local ethernet with two hosts (the other is a Mac) to the Internet. I have checked the handbook, the FAQ, the mailing list archives, and finally the tutorials on www.freebsd.org (the latter not being very well advertised I might add...). Anyway, according to Steve Sims' rather comprehensive Pedantic PPP Primer, "If the PPP program is started normally then the program will not forward packets between LAN interface(s) and the dial-out connection. In effect, only the FreeBSD system is connected to the ISP; other workstations cannot "share" the same connection." Ah-HA! This explains the problems I have been experiencing. I have set up user PPP and get to the point where my FreeBSD box dials, connects, and it can see the rest of the net. At the same time, the Mac is seeing the FreeBSD box and nothing else. "OK then, I'll just find the secret command line option to turn on routing to the rest of the world" thinks I, after reading the P-PPP-P. And this is where I turn to you for help. The P-PPP-P refers to an -alias option, which neither my software nor my manpages seems to have heard of. I am running 2.1.5-RELEASE. [As an aside, I don't really want IP aliasing as my ISP has kindly assigned two static IP addresses to me, but I think I'm barking up the right tree now...] So my questions are: a) Am I barking up the right tree? b) Do I need to get a later release of ppp and/or FreeBSD? c) Should I switch to kernel mode ppp, and if so, does it do dial-on-demand? d) Anyone care to guess how many aborted calls to my ISP I have been through to get this far? :) Yours awaiting enlightenment, -- [ Alastair Rankine ] [ pgp D6E9 DC10 7B7A 9269 0F14 882D E9D9 D4D5 ] [ home mailto:alastair@cia.com.au http://www.cia.com.au/alastair ] [ work mailto:alastair@progmatics.com.au http://www.progmatics.com.au ]