Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 1997 21:29:54 +1100
From:      Alastair Rankine <alastair@cia.com.au>
To:        questions@freebsd.org
Subject:   User PPP Routing yet again.
Message-ID:  <v03020900af25f61f5314@[203.28.48.239]>

next in thread | raw e-mail | index | archive | help
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 ]





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v03020900af25f61f5314>