Re: [dhcwg] ARP reply vs. ARP request to announce address acquired from DHCP

Thamer Al-Harbash <tmh@whitefang.com> Tue, 14 January 2003 04:01 UTC

Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA04133; Mon, 13 Jan 2003 23:01:18 -0500 (EST)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h0E4EJJ15782; Mon, 13 Jan 2003 23:14:19 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176]) by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h0E41PJ14732 for <dhcwg@optimus.ietf.org>; Mon, 13 Jan 2003 23:01:25 -0500
Received: from helena.whitefang.com (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with SMTP id WAA03958 for <dhcwg@ietf.org>; Mon, 13 Jan 2003 22:46:57 -0500 (EST)
Received: (qmail 92576 invoked from network); 14 Jan 2003 03:50:34 -0000
Received: from helena.whitefang.com (216.254.175.50) by 0 with SMTP; 14 Jan 2003 03:50:34 -0000
Date: Mon, 13 Jan 2003 22:50:33 -0500
From: Thamer Al-Harbash <tmh@whitefang.com>
X-X-Sender: shadows@helena.whitefang.com
To: Ted Lemon <Ted.Lemon@nominum.com>
cc: Thamer Al-Harbash <tmh@whitefang.com>, dhcwg@ietf.org, Stuart Cheshire <cheshire@apple.com>, zeroconf@merit.edu, Thomas Narten <narten@us.ibm.com>, Erik Nordmark <Erik.Nordmark@sun.com>
Subject: Re: [dhcwg] ARP reply vs. ARP request to announce address acquired from DHCP
In-Reply-To: <2681ABD0-2770-11D7-A7EA-00039367340A@nominum.com>
Message-ID: <Pine.BSF.4.51.0301132241360.92289@helena.whitefang.com>
References: <2681ABD0-2770-11D7-A7EA-00039367340A@nominum.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
Sender: dhcwg-admin@ietf.org
Errors-To: dhcwg-admin@ietf.org
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Id: <dhcwg.ietf.org>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>

On Mon, 13 Jan 2003, Ted Lemon wrote:

> The thing that is missing on the Unix side is not the ability to *send*
> an ARP packet, but the ability to see the reply.   It didn't work when
> I looked at it ~five years ago, and I haven't bothered since.

I can't think of any packet capturing facility that would not let
you see ARP. dhcp-agent happily ARPs. In -current you can find
the code in dhcp-arp-discovery.c

> I'll bet that when dhcpcd configures the interface, it generates the
> ARP request anyway, even though dhcpcd is sending an ARP reply.

Linux 2.4 doesn't seem to be generating any ARP requests on
toggling and interface up, down, and changing addresses. I've
used a tool called arping myself to force other ARP caches to be
updated when changing interface addresses.

I can test against BSD and Solaris too but serial conning them is
too much of a pain right now :-) Were you using a windows box to
with your earlier test?

I understand preventing the OS from sending an ARP request
instead of a reply is impossible short of fiddling with a local
firewall facility which is not always available.

-- 
Thamer Al-Harbash            http://www.whitefang.com/
          team dresch made me do it
_______________________________________________
dhcwg mailing list
dhcwg@ietf.org
https://www1.ietf.org/mailman/listinfo/dhcwg