From owner-freebsd-isp Fri Feb 7 15:26:49 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA05478 for isp-outgoing; Fri, 7 Feb 1997 15:26:49 -0800 (PST) Received: from panda.hilink.com.au (panda.hilink.com.au [203.2.144.5]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA05418; Fri, 7 Feb 1997 15:26:37 -0800 (PST) Received: (from danny@localhost) by panda.hilink.com.au (8.7.6/8.7.3) id KAA13064; Sat, 8 Feb 1997 10:27:36 +1100 (EST) Date: Sat, 8 Feb 1997 10:27:35 +1100 (EST) From: "Daniel O'Callaghan" To: Robert Chalmers cc: bsd , FreeBSD ISP Subject: Re: ipforwarding no longer in GENERIC or LINT? In-Reply-To: <199702072243.IAA02694@nanguo.chalmers.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 8 Feb 1997, Robert Chalmers wrote: > I don't see ipforwarding (gateway) in either LINT or GENERIC on > the > 2.2-961014-SNAP FreeBSD 2.2-961014-SNAP #0: > kernel anymore ? > > Do I presume that having gateway=YES in sysconfig is all thats needed now? The kernel option IPFORWARDING/GATEWAY is no longer available or required. IP forwarding is controlled by the sysctl variable net.inet.ip.forwarding. Setting "gateway=YES" in /etc/sysconfig makes /etc/netstart execute the command 'sysctl -w net.inet.ip.forwarding=1', which enables IP forwarding. You can disable it at runtime, if you desire, with the command # sysctl -w net.inet.ip.forwarding=0 Now to go back and answer your previous e-mail, which I read but did not have time to reply to... :-) Danny