Subject: Re: can't ping other segments on same lan
To: Henry Nelson <henry@irm.nara.kindai.ac.jp>
From: Laine Stump <lainestump@rcn.com>
List: netbsd-help
Date: 01/11/2001 12:02:24
> On Wed, Jan 10, 2001 at 02:55:42PM +0900, Henry Nelson wrote:
> > What does one need to do to be able to reach (ping) machines on
> > segments other than the one you are on?  I recently discovered that
> > I can ping the outside world, but I can't ping hosts on other
> > segments.  Specifically, I can ping anything on the outside world,
> > and I can ping 164.71.124.xxx from my NetBSD machine 164.71.124.aaa,
> > but I can't ping 164.71.102.xxx or 164.71.104.xxx, which are just
> > upstairs from me.  

Manuel Bouyer <bouyer@antioche.lip6.fr> writes:
> More details on your network topology would help :)

In particular - I'm assuming your 164.71.x.x network subnetted into
multiple class C's, is that correct? (it's not 100% clear in your
message, as "segment" is often used to indicate a chunk of the
network that is electrically separated from some other chunk (ie, out
a different port of a switch), but isn't necessarily topologically
separated at the IP level). If so, have you set the netmask of your
ethernet interface to 255.255.255.0 (aka "0xffffff00")? If not, then
the problem is that your machine thinks that 164.71.102.xxx is on the
same subnet, and tries to ARP for it (but doesn't find it, because it
isn't on the same subnet).