From owner-freebsd-questions Sun Sep 10 11:53:09 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA16058 for questions-outgoing; Sun, 10 Sep 1995 11:53:09 -0700 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA16052 for ; Sun, 10 Sep 1995 11:53:08 -0700 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id LAA14984; Sun, 10 Sep 1995 11:44:31 -0700 From: Terry Lambert Message-Id: <199509101844.LAA14984@phaeton.artisoft.com> Subject: Re: Network problems, please assist To: jc@irbs.com (John Capo) Date: Sun, 10 Sep 1995 11:44:31 -0700 (MST) Cc: shorty@iii.net, terry@lambert.org, freebsd-questions@freebsd.org In-Reply-To: <199509101505.LAA25202@irbs.irbs.com> from "John Capo" at Sep 10, 95 11:05:05 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 923 Sender: questions-owner@freebsd.org Precedence: bulk > > How do I said the option GATEWAY in the kernel? Please be specific, I > > haven't altered the kernel before. > > Thanks, > > -Justin Seger- > > > > Add this line to your kernel config file and build and install the > new kernel: > > options GATEWAY > > You can turn on forwarding in a running kernel with: > > sysctl -w net.inet.ip.forwarding=1 Note that the first is almost a requirement in any case, because you won't have enough buffers without it. This should probably be fixed so that the buffers are soft reconfigurable or configured for gateway by default. Using the sysctl line by itself will turn on gatewaying. If the buffer problem is fixed, then this ought to be rolled into /etc/sysconfig (GATEWAY set 'YES' or 'NO') /etc/netstart (use of the variable) Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.