From owner-freebsd-net@FreeBSD.ORG Mon Jul 2 17:19:27 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E7D1416A516 for ; Mon, 2 Jul 2007 17:19:26 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.186]) by mx1.freebsd.org (Postfix) with ESMTP id 3D12213C4C2 for ; Mon, 2 Jul 2007 17:19:26 +0000 (UTC) (envelope-from dudu.meyer@gmail.com) Received: by mu-out-0910.google.com with SMTP id w9so1850690mue for ; Mon, 02 Jul 2007 10:19:24 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MoyV7BnVQ35AGvtl6U5MQtE76JVJnCVOQ+KrDyBLA9ObaKDsmirBdcNwqiSUwoS13AzKX9pq7rYpBbTTqIc5Wk8Cb2tkyTGQTyNyJJK/1sUqz4hT5i+UAj30gBjry0N9kcAdstSHkOJM4HlsaPpsWuoXKM39RM0tZ7rddd24Tig= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=crBc2azvsOQFCATgr9Zfz9Gdqyi/JWGujNn3lyttngXsMTejU6tEK+EceXGwPh1bTdtzH0nz77UY5AnQUNjSNdRW4u6/ArfliATKhsW4HaoTlRAQiy2en0YF9i9inRpHTr1H1UI5DPnYACgpvZbkvu2rxYqaZeVumjLzYBAOdh8= Received: by 10.82.174.20 with SMTP id w20mr13347870bue.1183396764641; Mon, 02 Jul 2007 10:19:24 -0700 (PDT) Received: by 10.82.174.13 with HTTP; Mon, 2 Jul 2007 10:19:24 -0700 (PDT) Message-ID: Date: Mon, 2 Jul 2007 14:19:24 -0300 From: "Eduardo Meyer" To: freebsd-net@freebsd.org In-Reply-To: <20070702164726.GA31982@verio.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070702164726.GA31982@verio.net> Subject: Re: fxp(4) not responding to arp requests (aliases) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2007 17:19:27 -0000 On 7/2/07, David DeSimone wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Eduardo Meyer wrote: > > > > When a host who is talking to be deletes its arp entry which has my IP > > address, communication goes down, and fxp2 never replies to arp > > requests. Completly ignores arp, in fact. > > Your premise is that the fxp does not respond to arp request, but your > example does not show an arp request is being received. Because in fact, while a down/up cycle didnt happen, no arp traffic happened on fxp2. > > > On host2: > > > > # arp -d 200.X.Y.5 > > I presume that host2 has IP 200.X.Y.6 and host1 has IP 200.X.Y.5, since > you didn't say. Correct. > > > On host1: > > > > # tcpdump -n -v -i fxp2 arp > > tcpdump: listening on fxp2, link-type EN10MB (Ethernet), capture size 96 bytes > > > > And nothing happens. > > Is host2 trying to send us traffic? You did not say. host2 is pinging host1 in another terminal, so host1 should reply the icmp echo packets, but is not trying to send it, because it didnt get the icmp echo request > > Presumably if host2 is trying to send traffic to host1, you should see this: > > 12:41:43.932590 arp who-has 200.X.Y.5 tell 200.X.Y.6 > 12:41:44.932590 arp who-has 200.X.Y.5 tell 200.X.Y.6 > 12:41:45.932590 arp who-has 200.X.Y.5 tell 200.X.Y.6 > > In other words you should see a repeated arp request with no reply. Are > you suggesting that the interface is simply not receiving broadcasts? On host1 I see 14:08:21.073605 arp who-has 200.X.Y.6 tell 200.X.Y.5 14:08:21.076006 arp reply 200.X.Y.6 is-at 00:11:d8:52:04:fb So, asking for arp of host2's IP address. On host 2 I see some tcpdump traffic like this: 14:09:04.090973 arp who-has 200.X.Y.5 tell 200.X.Y.6 Which never has arp replies. > > > On host1 I cycle fxp2 up/down: > > > > # ifconfig fxp2 down && ifconfig fxp2 up > > > > And on host1 immediately I see: > > > > 12:41:08.860484 arp who-has 200.X.Y.6 tell 200.X.Y.5 > > 12:41:08.862898 arp reply 200.X.Y.6 is-at 00:11:d8:52:04:fb > > This doesn't look like host1 is suddenly receiving and replying to an > arp request. Instead, it is suddenly sending out an arp request for > another host. Why would it do that? I thought host1 was trying to > receive some traffic, not send. Host1 is trying to send traffic (ping request) all the time. But still has the entry on its local arp table. I dont know why it request this information again after the up/down cicle. Since it is dynamic, I believe this is what it is supposed to do. > > > And on host2 immediately I see > > > > 12:41:42.932590 arp who-has 200.X.Y.5 tell 200.X.Y.7 > > 12:41:57.515735 arp reply 200.X.Y.5 is-at 00:50:8b:be:64:a4 > > This is not even the same arp request/reply, so I am not sure what you > are pointing out here. Was host2 supposed to be asking for host1's ARP > all this time but it never got around to asking until just now? That > seems to imply a problem with host2, instead of host1. Also where did > this 200.X.Y.7 IP come from? I thought there were only two hosts here. Should read 200.X.Y.6 where you see 200.X.Y.7. Mispelled. > > Maybe you could present a more complete description of which host is > attempting to send where, and what both hosts see, at the exact same > time. The output from "tcpdump -n -v -i arp" is mentioned in this email, at the same time, from both host1 and host2. host1 has ping permanently running against host2. -- =========== Eduardo Meyer pessoal: dudu.meyer@gmail.com profissional: ddm.farmaciap@saude.gov.br