[wplug] Clearing arp cache

Poyner, Brandon bpoyner at ccac.edu
Mon Jul 19 07:27:54 EDT 2004


When you try the 'ip neigh flush all' what does 'arp -a' and 'cat /proc/net/arp' respond with?  It's possible the cache is flushed but you're seeing residual entries that show the IP address but do not have the mac address.

	-----Original Message----- 
	From: Greg Simkins [mailto:gregsim at telerama.com] 
	Sent: Mon 7/19/2004 6:30 AM 
	To: 'General user list' 
	Cc: 
	Subject: RE: [wplug] Clearing arp cache 
	
	

	I want to thank all those that offered helpful suggestions and comments
	regarding the arp cache issue.  The discussion has been very interesting.
	But, I have not been able to clear the cache. 
	
	I tried the ip neigh flush all. 
	
	I got the command line back suggesting that the command executed OK, but
	when I then entered arp -a, the arp cache remained unchanged. 
	
	Is there something else I need to do to ensure that the ip command is
	working properly? 
	
	Is there some way to use a wild card to name all hosts so that
	
	arp -d <wildcard>
	
	would work? 
	
	arp -d <specific host name>
	
	works OK to clear the named host from the cache. 
	
	Greg Simkins
	Pittsburgh, PA
	Phone:  412-341-7926
	FAX:  412-341-0790
	Mobile:  412-478-2892
	
	
	-----Original Message-----
	From: wplug-bounces+gregsim=telerama.com at wplug.org
	[mailto:wplug-bounces+gregsim=telerama.com at wplug.org] On Behalf Of Brian
	Sammon
	Sent: Wednesday, July 14, 2004 2:37 PM
	To: General user list
	Subject: Re: [wplug] Clearing arp cache
	
	> It's completely possible, looking at the arp.c sources from FreeBSD and
	> net-tools (Linux), to make arp -d -a work in Linux.  However I suspect
	> the real reason it hasn't been implemented in net-tools' arp is because
	> there is another command to flush the arp cache:
	>
	>       ip neigh flush all
	
	What package is the "ip" command in?  I don't seem to have it on my
	computer.
	
	
	_______________________________________________
	wplug mailing list
	wplug at wplug.org
	http://www.wplug.org/mailman/listinfo/wplug
	
	
	_______________________________________________
	wplug mailing list
	wplug at wplug.org
	http://www.wplug.org/mailman/listinfo/wplug
	

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 5318 bytes
Desc: not available
Url : http://penguin.wplug.org/pipermail/wplug/attachments/20040719/a358fc3f/attachment-0001.bin


More information about the wplug mailing list