From owner-freebsd-net@FreeBSD.ORG Tue Jan 13 20:38:39 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 222F916A4CE; Tue, 13 Jan 2004 20:38:39 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D47743D39; Tue, 13 Jan 2004 20:38:37 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.10/8.12.10) with ESMTP id i0E4avUd039527; Tue, 13 Jan 2004 23:36:57 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i0E4auof039523; Tue, 13 Jan 2004 23:36:57 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Tue, 13 Jan 2004 23:36:56 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Nielsen In-Reply-To: <20040112011942.C78B6840128@mail.npubs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-net@freebsd.org cc: freebsd-hackers@freebsd.org Subject: Re: Gratituous ARP and the em driver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2004 04:38:39 -0000 On -1 xxx -1, Nielsen wrote: > When I change IP addresses on my 'em' gigabit NIC, ARP isn't sent > properly. This appears to be the problem in the following bug report, > however i'm using the 'fixed' version of the em driver (in FreeBSD 4.9). > > http://www.freebsd.org/cgi/query-pr.cgi?pr=54488 > > Does anyone have any tips on how to get around this? > > I'm building new systems with gigabit ethernet support and this problem > keeps cropping up. I have a failover system, and when moving an IP alias > between machines, the em NIC driver doesn't properly send out gratituous > ARP, resulting in the IP being inaccessible. > > - The problem does not occur when plugged into a 100BaseTX switch - > FreeBSD 4.9p1 / em version 1.7.16 - Tried various gigabit switches. - > One other odd thing is that when configuring the NIC (ifconfig) the > machine locks up for several seconds. If you run tcpdump on the machine to sniff the interface in question looking for arp packets, does tcpdump see the gratuitous arp? I'm guessing that it does, and the lack of sending the arp is a result of delays in negotiating on the wire. Does this problem turn up only the first time you raise the interface, or every time you change the IP address on the interface? Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research