Subject: Re: Bad things with NetBSD and IP
To: Gerald C. Simmons <simmons@darykon.cet.com>
From: gabriel rosenkoetter <gr@eclipsed.net>
List: current-users
Date: 04/13/2001 04:13:37
On Thu, Apr 12, 2001 at 05:59:25PM -0700, Gerald C. Simmons wrote:
> How do you flush the ARP tables???

Presuming a Bourne-derived shell:

# for i in `arp -a | awk '{ print $1 }'`; do arp -d ${i} ; done

(Yes, arp really ought to have a flush. No, it doesn't seem to. Note
the hash above. Yes, you must be root to use arp -d.)

       ~ g r @ eclipsed.net