*BSD News Article 75026


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!swrinde!news-res.gsl.net!news.gsl.net!news.mathworks.com!nntp.primenet.com!uucp.primenet.com!news.typo.org!web
From: BOFH <web@typo.org>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Routing problem with BSD
Date: 30 Jul 1996 08:09:55 GMT
Organization: typo.org
Lines: 25
Message-ID: <4tkg0j$2mb@typo.org>
References: <4tkbds$62k@quasar.dimensional.com>
NNTP-Posting-Host: localhost.primenet.com

Monachus Silentium <monachus@dimensional.com> wrote:
: Have a P150 running FreeBSD 2.1.  connected to it is a subnet of machines
: running Win95 or Linux.

: BSD box on ethernet:  	206.27.146.33
: BSD box on ppp0:	206.27.158.30

: other machines have their default gateway set to the eth IP, and when pppd
: has me conneceted to the net, there is no traffic past ppp0 IP from one of
: the client machines.  the BSD box does all the routing fine for itself,
: but not for the clients.

: i've tried changing the gateway to ppp0 IP, but it still fails, and i lose
: connectivity between machines if i'm not connected with pppd.  i've tried
: adding a route between the two, but it still fails.

: thoughts??

Bets are your system doesn't know its supposed to be routing at all.

Try this:

  sysctl -m net.inet.ip.forwarding=1

-Wayne