*BSD News Article 25949


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!darkstar.UCSC.EDU!camfac1-mac02.ucsc.edu!user
From: tdoan@cats.ucsc.edu (Anthony Doan)
Newsgroups: comp.os.386bsd.questions
Subject: Re: NetBSD - routing and slip
Followup-To: comp.os.386bsd.questions
Date: Wed, 12 Jan 1994 14:12:23 -0800
Organization: UCSC Campus Facilities
Lines: 18
Message-ID: <tdoan-120194141224@camfac1-mac02.ucsc.edu>
References: <CJExBA.G1v@mv.mv.com> <2gsi4f$g6h@hrd769.brooks.af.mil> <2gv4lc$l0i@darkstar.UCSC.EDU>
NNTP-Posting-Host: camfac1-mac02.ucsc.edu

In article <2gv4lc$l0i@darkstar.UCSC.EDU>, banshee@cats.ucsc.edu (Wailer at
the Gates of Dawn) wrote:

> 
> >}2) How do I get it to route from the local network (ethernet) which
> >}it can talk to fine, to the outside world via slip (which it already
> >}does fine). All the local machines know that they should route through
> >}it, I just can't figure out how to tell it to pass things on.

> route add default default_address

The above command will only do any good if you compiled the kernel
with the "GATEWAY" option turned on.

Edit your kernel config kill add the line "option GATEWAY"
and recompile.
you will of course need to execute "route add default default_address"
after making your slip connection.