Subject: Re: arp
To: Jason R Thorpe <thorpej@zembu.com>
From: Chuck Cranor <chuck@research.att.com>
List: tech-net
Date: 03/14/2001 21:18:53
On Wed, Mar 14, 2001 at 06:05:01PM -0800, Jason R Thorpe wrote:
> On Wed, Mar 14, 2001 at 09:01:27PM -0500, Chuck Cranor wrote:
>  > what is the proper way to remove all arp entries for a specific
>  > interface?   i was hoping that they would go away as an effect of
>  > "ifconfig ex0 0.0.0.0 down" but that is not the case.
 
> ifconfig ex0 delete
> Does that work for you?

no.   host 135.207.6.57 is my gateway.

chuck


root_xxxcdc[20]# arp -a -n
? (135.207.6.57) at 00:40:f9:10:fb:73
? (135.207.22.238) at (incomplete)
? (135.207.26.104) at 00:00:86:48:1b:bd permanent
root_xxxcdc[21]# ./netoff
ifconfig ex0 0.0.0.0 down
route delete default
delete net default
root_xxxcdc[22]# arp -a -n
? (135.207.6.57) at 00:40:f9:10:fb:73
? (135.207.22.238) at (incomplete)
? (135.207.26.104) at 00:00:86:48:1b:bd permanent
root_xxxcdc[23]# ifconfig ex0 delete
root_xxxcdc[24]# arp -a -n
? (135.207.6.57) at 00:40:f9:10:fb:73
? (135.207.22.238) at (incomplete)
? (135.207.26.104) at 00:00:86:48:1b:bd permanent
root_xxxcdc[25]#