*BSD News Article 51989


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!news.ci.com.au!conger.softplus.com.au!ferryw
From: Ferry Winarta <ferryw@softplus.com.au>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: IPFORWARDING on FreeBSD2.0, Help Please
Date: Mon, 25 Sep 1995 10:16:01 +1000
Organization: Corinthian Internet Services P/L, Sydney, Australia.
Lines: 69
Message-ID: <Pine.SCO.3.91.950925100403.20864A-100000@conger.softplus.com.au>
References: <43ip24$as@mippet.ci.com.au> <43klt2$306@uriah.heep.sax.de> <Pine.SCO.3.91.950921124240.15219B-100000@conger.softplus.com.au> <43v9a3$ccj@uriah.heep.sax.de>
NNTP-Posting-Host: spgate.softplus.com.au
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
In-Reply-To: <43v9a3$ccj@uriah.heep.sax.de> 

On 22 Sep 1995, J Wunsch wrote:

   <delete>
> 
> >this is my gateway diagram:
> >
> >
> >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)
> >
> >
> >Internal Subnet :
> >netmask 255.255.255.224
> >subnet 3 (X.Y.Z.65 - X.Y.Z.94)
> >route default 202.0.99.65
> >
> >Gateway :
> >netmask 255.255.255.224 for both network cards
> >route network A.* X.Y.Z.42
> >
> >telnet from gateway to A.B.C.4, ok.
> >telnet from Z.Y.Z.85 to A.B.C.4, failed, timeout.
> 
> What does the routing table on INTERNAL say for A.B.C.4?

netstat -nr on X.Y.Z.85 :

Destination	Gateway		Flags		Interface
127.0.0.1	127.0.0.1	UH		lo0
Default		X.Y.Z.65	UG		e3E0
X.Y.Z.64	X.Y.Z.85	U		e3E0

What I think is, 

when I telnet from X.Y.Z.85 to A.B.C.4, it will be routed by default to 
X.Y.Z.65.

And when it reached X.Y.Z.65, it will be routed to A.* through X.Y.Z.42

Is this a correct assumption ?

> 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.

Please tell me, if I missed something.

> -- 
> 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. ;-)
> 
> 

thanks a lot

regards
ferry

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
 _/	                                                         _/
  _/	In nature there are neither rewards nor punishments,      _/
  _/		      there are consequences.		          _/
 _/	                                                         _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/