[1072] in netbsd-help mailing list archive

home help back first fref pref prev next nref lref last post

Re: PPP/SLIP server

daemon@ATHENA.MIT.EDU (John Hawkinson)
Sat Nov 2 11:34:53 1996

Date: Sat, 2 Nov 1996 11:34:42 -0500
To: Steve Franks <sdfranks@MIT.EDU>
Cc: netbsd-help@MIT.EDU
In-Reply-To: "[1071] in netbsd-help mailing list archive"
From: John Hawkinson <jhawk@MIT.EDU>

> I am setting up my NetBSD-Athena machine to be a SLIP/PPP server.
> I noticed that the ATHENAOTHER kernel doesn't have packet forwarding
> compiled in, which I need to set up the server.  Would it be possible
> to have a kernel compiled for me with this compiled in?  Or instructions
> on how to do it myself if you don't have time (I think the kernel sources
> are all on AFS, right?)

I assume you refer to the GATEWAY option? It is not strictly necessary -- it
has 2 functions:

1)	Set the default value of net.inet.ip.forwarding to 1
2)	Increase some kernel resource limits

Depending on your application, (2) may or may not be important.
But you should be able to add:

	sysctl -w net.inet.ip.forwarding=1

to your /etc/rc.local file to turn on IP forwarding every time you
reboot...

--jhawk

home help back first fref pref prev next nref lref last post