From owner-freebsd-net  Wed Mar 14  3: 9: 5 2001
Delivered-To: freebsd-net@freebsd.org
Received: from filk.iinet.net.au (syncopation-dns.iinet.net.au [203.59.24.29])
	by hub.freebsd.org (Postfix) with SMTP id E234637B718
	for <net@freebsd.org>; Wed, 14 Mar 2001 03:09:00 -0800 (PST)
	(envelope-from julian@elischer.org)
Received: (qmail 30797 invoked by uid 666); 14 Mar 2001 11:10:08 -0000
Received: from i003-078.nv.iinet.net.au (HELO elischer.org) (203.59.3.78)
  by mail.m.iinet.net.au with SMTP; 14 Mar 2001 11:10:08 -0000
Message-ID: <3AAF5124.5F201288@elischer.org>
Date: Wed, 14 Mar 2001 03:08:20 -0800
From: Julian Elischer <julian@elischer.org>
X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386)
X-Accept-Language: en, hu
MIME-Version: 1.0
To: Satyajeet Seth <sseth@sasken.com>
Cc: net@freebsd.org, gbnaidu@sasken.com
Subject: Re: Ping Problem
References: <Pine.GSO.4.30.0103132112480.24779-100000@suns3.sasi.com>
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-net@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

Satyajeet Seth wrote:
> 

> > An upgrade within the '4' family should be pretty painless.
> 
> I tried using a FreeBSD4.1.1 system, but the problem is still there.
> I suppose for now, my hack on FreeBSD4.1 will serve the purpose. Am I
> correct?
> 
well 4.1.1 has the autosrc command which does what you are doing with your hack.

>
> I tried putting 'options BRIDGE' in my configuration file. But now ARP
> resolution of pseudo ethernet interface returned MAC address of fxp0. So I
> reverted back.

wierd this suggests a packet somewhere is getting misdirected somewhere

> 
> > >
> > > 2. #ping 10.0.36.134
> > > This does not work.
> >
> > probably the arp packets are never getting back to the right interface
> >
> > You need to do more packet tracing.
> > does the packet hit the wire?
> Yes
> > does the target respond?
> Yes
> > is there a arp packet before it?
> Yes
> > does the dest respond tothe arp?
> Yes
> > does the response appear in the arp table?
> Yes
> > does the destination in turn send an arp request before responding to
> the  ping?
> No.
> 
> > does the arp response
> (broadcast) get assigned to an interface?
> > does it get answered?
> > from which interface?
> > does  the response hit the wire?
> The answer to above three queries is no, because destination does not in
> turn send an arp request before responding to the ping.

I guess it learns from the arp enquiry.

> 
> The ICMP request packets are reaching pseudo ethernet interface. But
> it is not responding back. This happens even if an ARP entry for the
> destination is there. Could you suggest what could be the problem?
> 
> >
>
> > why does the PC send to the default router? netmask problems I think
> > mask == ffffffff is probably a problem.
> 
> Setting the same mask as fxp0 helps.

does this mean that your problem is solved or just helped a bit?
 
> 
> Thanks
> Satya

-- 
      __--_|\  Julian Elischer
     /       \ julian@elischer.org
    (   OZ    ) World tour 2000-2001
---> X_.---._/  
            v

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message