From owner-freebsd-net@FreeBSD.ORG Tue Aug 4 17:11:55 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 963961065670; Tue, 4 Aug 2009 17:11:55 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by mx1.freebsd.org (Postfix) with ESMTP id 399DD8FC12; Tue, 4 Aug 2009 17:11:54 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by an-out-0708.google.com with SMTP id d14so1967055and.13 for ; Tue, 04 Aug 2009 10:11:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=8G5hxY0Xa0KddLAXy7N3lExnwJXdSgVp1xukBqMinCA=; b=qP4IbvNl4Sv6uOxz1bojEhyuBWKf/RnyyuvbiwAl0Dgl34g2h7k+zwqtBIIrGfRAdD CBeK4RcliGkeQwF+h3LeNezDbFsh/q3PRfo0n8fnXjQgBrPZOxWWajV53LQkxrklNKP3 s+0ehb0Peeqf3qlvTVxqGO3KDDbv97IUqmXZM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=VtoGG1YHy0dWxvDv57fuZSITzXn1u1o3h0cKgrOzuxooLKu/J0jFmfAlGyM2o0iUon +oHzI4/hivw0hXsrxijf7NTkWWUz6/Gh6qGKNvBUHSnXyhKpPQnhNfWcn4vP+0UdyiOj YYoOOma4M8gVDKmied76W9bpQK7KmYakimex0= MIME-Version: 1.0 Received: by 10.101.71.18 with SMTP id y18mr9008763ank.43.1249405914478; Tue, 04 Aug 2009 10:11:54 -0700 (PDT) In-Reply-To: <4A773D09.3030404@delphij.net> References: <4A773D09.3030404@delphij.net> Date: Tue, 4 Aug 2009 10:11:54 -0700 Message-ID: <2a41acea0908041011kaba6ab0ra6fec3b309fc42ef@mail.gmail.com> From: Jack Vogel To: d@delphij.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Jack F Vogel , freebsd-net@freebsd.org Subject: Re: em(4): sending ARP regardless of NOARP flag 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: Tue, 04 Aug 2009 17:11:55 -0000 I don't see how arping or not can be a driver problem, the driver just sends packets queued by the stack, there exists NO mechanism to communicate that kind of thing down into the driver, -arp is something that must be negotiated in the stack somewhere, as for it working with broadcom... Jack On Mon, Aug 3, 2009 at 12:39 PM, Xin LI wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, Jack, > > I have observed that, even if -arp is specified when adding an IP > address to the em(4) interface, an ARP request is still being sent. > Here is a tcpdump from my network environment: > > 11:15:01.370256 00:13:72:66:b5:d7 > ff:ff:ff:ff:ff:ff, ethertype ARP > (0x0806), length 60: Request who-has *.*.152.120 tell *.*.152.120, length > 46 > 11:15:01.370270 00:15:17:92:39:0e > 00:13:72:66:b5:d7, ethertype ARP > (0x0806), length 42: Reply *.*.152.120 is-at 00:00:5e:00:01:07, length 28 > > (The first ARP request was sent from a Dell branded Intel 82541EI based > NIC, the latter is from a cheaper server that is part of CARP > configuration which is unrelated to the problem in response to the ARP > request) > > I was originally under the impression that there is some bug in our ARP > code but with a bce(4) card, the problem does not exist. After a glance > at e1000 driver code, it looks like that the e1000 NIC has a feature of > hardware interception of ARP, can this be somehow connected? The > hardware in question is 82541EI based: > > em1@pci0:7:8:0: class=0x020000 card=0x016d1028 chip=0x10768086 rev=0x05 > hdr=0x00 > vendor = 'Intel Corporation' > device = '82541EI Gigabit Ethernet Controller' > class = network > subclass = ethernet > > Thanks in advance! > > Cheers, > - -- > Xin LI http://www.delphij.net/ > FreeBSD - The Power to Serve! > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.12 (FreeBSD) > > iEYEARECAAYFAkp3PQkACgkQi+vbBBjt66A2CQCgt+8prSPRDKdOb61gdfj1zpcF > q28An1/UXuo0bcEi4nwlUpYuqD8hR5Lo > =56SA > -----END PGP SIGNATURE----- >