*BSD News Article 9014


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!uunet!newsgate.watson.ibm.com!yktnews!admin!sernews!bullwinkle.raleigh.ibm.com!murray
From: murray@bullwinkle.raleigh.ibm.com (Charlie Murray)
Subject: Re: [386bsd] router configuration ?
Sender: news@sernews.raleigh.ibm.com
Message-ID: <1992Dec10.173400.29309@sernews.raleigh.ibm.com>
Date: Thu, 10 Dec 1992 17:34:00 GMT
References:  <ZZO910W@desert.in-berlin.de>
Nntp-Posting-Host: bullwinkle.raleigh.ibm.com
Organization: IBM, Research Triangle Park, North Carolina
Lines: 47

In article <ZZO910W@desert.in-berlin.de> Steffen Hellwig writes:

> please imagine the following situation:
> I have three unix machines, say A, B, C (last both run 386bsd).
> A and B are connected via slip, B and C via Ethernet (ne2000).

> Networking (ping, telnet, ftp etc.) works from A<->B and from B<->C
> (both ways).
> But i can't ping C from A or A from C.
> Of corse i set the routes on A and C like
> A: route add C B
> C: route add A B

Did you add host routes or network routes?  A network route add would be
like the following on A:

	route add network_address_for_ethernet address_for_B_slip

versus a host route like the following:

	route add address_for_C_ethernet address_for_B_slip

> netstat -r on B (the router) says:
> A<->sl0
> B<->ne0

I assume this is a typo and you meant A<->sl0 and C<->ne0.  Can you ping
the far interfaces of B from A and C (i.e. can you ping ne0 on B from A,
and sl0 on B from C) to see if B is actually routing?

> It seems that packages arrive on sl0 and ne0 (netstat -i), 
> but they are not forwardet to the target machine. 

You might try using "netstat -I sl0 1" and "netstat -I ne0 1" to see
where the packets are going.  Also, using "ping -f" will get you a
higher packet count that is easier to see on the netstat.

I know none of this describes what the problem might be, but hopefully
you can use these suggestions to gain more information.

--------------------------------------------------------------------
  Charlie Murray           CompuServe:  73707,1752
  Consulting at IBM        Internet:    73707.1752@compuserve.com

  NOTE:  If sending email use the addresses given in this .sig,
         not the one in the header of this message.
--------------------------------------------------------------------