*BSD News Article 51636


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!tank.news.pipex.net!pipex!howland.reston.ans.net!Germany.EU.net!zib-berlin.de!irz401!uriah.heep!not-for-mail
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: IPFORWARDING on FreeBSD2.0, Help Please
Date: 25 Sep 1995 09:07:38 +0100
Organization: Private FreeBSD site, Dresden.
Lines: 28
Message-ID: <445o0a$6st@uriah.heep.sax.de>
References: <43ip24$as@mippet.ci.com.au> <Pine.SCO.3.91.950921124240.15219B-100000@conger.softplus.com.au> <43v9a3$ccj@uriah.heep.sax.de> <Pine.SCO.3.91.950925100403.20864A-100000@conger.softplus.com.au>
NNTP-Posting-Host: uriah.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Ferry Winarta  <ferryw@softplus.com.au> wrote:

>> >X.Y.Z.85 |--| X.Y.Z.65  X.Y.Z.33 |--| X.Y.Z.42  A.B.C.D |--| A.B.C.*
>> >(INTERNAL)        (GATEWAY)                (ROUTER)            (External)

>> What does the routing table on INTERNAL say for A.B.C.4?
>
>netstat -nr on X.Y.Z.85 :

Please, try "netstat -ran" (immediately after an attempt to telnet
A.B.C.4).  Do the same for GATEWAY then.  The routes to A.B.C.4 should
appear as clone routes in the table.

>> Does ROUTER forward the entire X.Y.Z network (netmask 255.255.255.0)
>> to X.Y.Z.33?
>
>It is external router (CISCO), which I think should have no effect,
>because I can telnet from gateway (X.Y.Z.33) to A.B.C.4 and vice versa.

But there's still the question which netmask the router is using.  I
admit that it's not very likely the reason though.

Can you ping the router from INTERNAL?
-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)