*BSD News Article 49035


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!gatech!howland.reston.ans.net!sol.ctr.columbia.edu!disney!wpaul
From: wpaul@ctr.columbia.edu (Bill Paul)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to set up routing tables?
Date: 19 Aug 1995 18:23:09 GMT
Organization: Columbia University Center for Telecommunications Research
Lines: 41
Message-ID: <415a6d$eui@sol.ctr.columbia.edu>
References: <ARNULF.95Aug17095614@arnulf.dialup.fu-berlin.de> <411n6s$e62@bonnie.tcd-dresden.de>
NNTP-Posting-Host: disney.ctr.columbia.edu
X-Newsreader: TIN [version 1.2 PL2]

Daring to challenge the will of the almighty Leviam00se, J Wunsch
(j@bonnie.heep.sax.de) had the courage to say:

: & H.-P. Guenther <arnulf@arnulf.dialup.fu-berlin.de> wrote:

: >I have a second computer now with FreeBSD installed (what else?).
: >And I have a serial line, later this will be replaced by ethernet.
: >So I configured GATEWAY into the kernel and set up my first system as
: >a slipserver.

: options GATEWAY is almost a no-op and will disappear in one of the
: next releases.

I hope not. There's no reason to remove the ability to set default
kernel flags like this at compile time. That aside:

:  Use

: 	sysconf -w net.inet.ip.forwarding=1

First of all, it's sysctl, not sysconf. Second, crusty traditionalists
like myself would probably prefer to do it like this:

# echo "set ipforwarding = 1" | gdb -k -w /vmunix /dev/mem

(Others should probably use /kernel instead of /vmunix.)

The debugger is your friend, boys & girls. Even with the GPL
attached to it, gdb is still one of the greatest things since
sliced bread.

-Bill

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~T~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Bill Paul            (212) 854-6020 | System Manager
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Møøse Illuminati: ignore it and be confused, or join it and be confusing!
~~~~~~ "Welcome to All Things BSDish! If it's not BSDish, it's crap!" ~~~~~~~