Subject: Re: GATEWAY option does not work?
To: Olli <>
From: Curt Sampson <>
List: netbsd-users
Date: 02/11/1999 00:07:47
On Wed, 10 Feb 1999, Olli wrote:

> I tryed to compile the kernel with if-forwarding (the computer should
> be a router). In the kernel config-file I placed following:
> options    GATEWAY
> options    IPFORWARDING
> options    IPFORWSCRT=1

It's used (in netinet/ip_input.c) like this:

    int     ipforwarding = IPFORWARDING;

So you need IPFORWARDING=1. Or just leave it out, and the GATEWAY
option will cause it to be set to 1 automatically.

Curt Sampson  <>   604 801 5335   De gustibus, aut bene aut nihil.
The most widely ported operating system in the world: