Subject: Re: Routing across interfaces
To: Shane Mason <Shane_Mason@securecomputing.com>
From: Frank van der Linden <frank@wins.uva.nl>
List: netbsd-help
Date: 04/08/1998 15:01:28
On Wed, Apr 08, 1998 at 08:47:18AM -0400, Shane Mason wrote:
[...]
> option GATEWAY
> option IPSENDREDIRECTS=0
>
[...]
> The box will now route from subnet to subnet on a single interface, but not
> from interface to interface. Am I missing something? Is there a user
> space application that must be run? I will be using static routes, so
> routed shouldn't be needed. Are there more things I need to add to the
> kernel config?
You also need to either
1) include the IPFORWARDING option in the kernel config file, or
2) do "sysctl -w net.inet.ip.forwarding=1" somewhere at startup
time (in /etc/rc.local, for example).
- Frank