From owner-freebsd-current Mon Jul 8 15:50:20 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA14732 for current-outgoing; Mon, 8 Jul 1996 15:50:20 -0700 (PDT) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA14725 for ; Mon, 8 Jul 1996 15:50:17 -0700 (PDT) Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <14637(5)>; Mon, 8 Jul 1996 15:49:37 PDT Received: from localhost ([127.0.0.1]) by crevenia.parc.xerox.com with SMTP id <177476>; Mon, 8 Jul 1996 15:49:29 -0700 X-Mailer: exmh version 1.6.7 5/3/96 To: Garrett Wollman cc: Nate Williams , FREEBSD-CURRENT-L Subject: Re: "ifconfig -arp" doesn't work? In-reply-to: Your message of "Mon, 08 Jul 1996 10:49:34 PDT." <9607081749.AA00653@halloran-eldar.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 8 Jul 1996 15:49:17 PDT From: Bill Fenner Message-Id: <96Jul8.154929pdt.177476@crevenia.parc.xerox.com> Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message <9607081749.AA00653@halloran-eldar.lcs.mit.edu>you write: >There are a number of different meanings >one could attribute to IFF_NOARP: > > 1) Ignore incoming ARP requests. > 2) Do not send ARP requests. > 3) Do not do any ARP processing at all. > >The fragment above only attempts to implement (1) It actually ignores both requests and replies, so the effect is more like (3) (although it does send ARP requests, it will ignore the replies so they're completely ineffective). To actually implement (1) you need to put the "if" after the "reply:" label (potentially combining it with the one that's already there). I would have added "and don't let incoming ARP's change my table" to (2). Bill