*BSD News Article 70354


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!act.news.telstra.net!vic.news.telstra.net!news.mira.net.au!inquo!bofh.dot!nntp.uio.no!Norway.EU.net!EU.net!usenet2.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!jraynard.demon.co.uk!not-for-mail
From: james@jraynard.demon.co.uk (James Raynard)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Q: "OPTION GATEWAY" vs. "sysctl  net.inet.ip.forewarding"
Date: 6 Jun 1996 23:22:37 -0000
Organization: A FreeBSD Box
Lines: 16
Message-ID: <4p7p7t$9a@jraynard.demon.co.uk>
References: <4p61ad$6li@gwdu19.gwdg.de>
X-NNTP-Posting-Host: jraynard.demon.co.uk

In article <4p61ad$6li@gwdu19.gwdg.de>,
Stefan Witzel <switzel@uni-goettingen.de> wrote:
>Is there a difference between OPTION GATEWAY in the config file and the 
>parameter net.inet.ip.forwarding of sysctl ? 

The difference is that the GATEWAY option is no longer supported in
the development code; where it is supported (in 2.1.0-release) it
requires a kernel re-compile and reboot every time you want to change
it.

Hence you should always use the sysctl command.

-- 
James Raynard, Edinburgh, Scotland | http://freefall.freebsd.org/~jraynard/
james@jraynard.demon.co.uk         | jraynard@freebsd.org