*BSD News Article 46480


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!news.kei.com!bloom-beacon.mit.edu!usc!howland.reston.ans.net!Germany.EU.net!nntp.gmd.de!nntp.darmstadt.gmd.de!news.th-darmstadt.de!fauern!news.tu-chemnitz.de!irz401!uriah.heep!bonnie.heep!not-for-mail
From: j@bonnie.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: PPP packet fowarding
Date: 6 Jul 1995 15:43:46 +0200
Organization: Private U**x site, Dresden.
Lines: 24
Message-ID: <3tgpai$lkg@bonnie.tcd-dresden.de>
References: <3tft2j$l9p@wrgsun4.corp.wrgrace.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de
NNTP-Posting-Host: 192.109.108.139
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Tim Holzer <tim.holzer@corp.wrgrace.com> wrote:
>I'm using the 2.0.5 release kernel on a machine as a dial-up into the network 
>at work.  The problem is that the machine can talk to the ethernet, if I dial 
>up and connect a pppd link from home I can talk to the machine but it wont 
>route any packets from one interface to the other!!
>
>What do I have to setup so that one port will foward packets to the other.  I 
>have already compiled a kernel with the GATEWAY option specified.

GATEWAY is almost a no-op already and should no longer be used.
Use

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

instead (not sure about the keyword, check against `sysctl -a').

Perhaps you didn't tell the machines around how to route the packets?
You won't see a ping answer unless the remote peer is going to route
the answer packets back to you.
-- 
cheers, J"org                      private:   joerg_wunsch@uriah.heep.sax.de
                                   http://www.sax.de/~joerg/

Never trust an operating system you don't have sources for. ;-)