From owner-freebsd-current Mon Jul 8 10:06:23 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA18475 for current-outgoing; Mon, 8 Jul 1996 10:06:23 -0700 (PDT) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA18456 for ; Mon, 8 Jul 1996 10:06:18 -0700 (PDT) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id LAA13585; Mon, 8 Jul 1996 11:06:10 -0600 (MDT) Date: Mon, 8 Jul 1996 11:06:10 -0600 (MDT) Message-Id: <199607081706.LAA13585@rocky.mt.sri.com> From: Nate Williams To: Garrett Wollman Cc: FREEBSD-CURRENT-L Subject: Re: "ifconfig -arp" doesn't work? In-Reply-To: <9607081633.AA02857@halloran-eldar.lcs.mit.edu> References: <199607080551.IAA05292@office.elvisti.kiev.ua> <9607081633.AA02857@halloran-eldar.lcs.mit.edu> Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Andrew is referring to the "-arp" switch to ifconfig. I had asked > > if it was possible for an Ethernet interface not to broadcast its MAC > > address in response to an ARP query. Unfortunately, it doesn't seem > > to work. :( > > Well, you can add the following to the beginning of > if_ether.c:in_arpinput(): > > if (ac->ac_if.if_flags & IFF_NOARP) { > m_freem(m); > return; > } Should this code be committed to -current? Nate