Subject: Re: Please Help with IPNAT and NetBSD/Alpha
To: Sean J. Schluntz <port-alpha@netbsd.org>
From: Tom Harvey <tah@san.rr.com>
List: port-alpha
Date: 03/08/1999 23:09:50
At 09:07 AM 3/8/99 -0800, Sean J. Schluntz wrote:
>I'm currently running: NetBSD 1.3H (GENERIC) #16: Tue Oct 20 16:49:51 PDT
>1998
>
>I've followed the directions on the NetBSD FAQ IP-NAT How-To
>(http://radon.moof.ai.mit.edu/~armenb/ipnat.html), except for the part
>about creating the netstart.local as I noticed that the support for IPNAT
>has been added to the standard startup scripts (and netstart.local runs
>_before_ the critical file systems are mounted so ipnat can't be found
>anyway.)
>
>Right now the system can see my internal network. And it can see the
>outside world, but it does not pass the bits along. ...
>...
the kernel needs ip.forwarding on, which is not the default:
% sysctl -a | grep forward
net.inet.ip.forwarding = 1
build a kernel with "options GATEWAY" (as seen commented out in
/sys/arch/alpha/conf/ALPHA) or turn it on in /etc/netstart.local with:
sysctl -w net.inet.ip.forwarding=1
good luck. NetBSD/alpha 1.3H should make a fine cable modem NAT'ing router.