[wplug] Clearing arp cache
Greg Simkins
gregsim at telerama.com
Mon Jul 19 11:34:43 EDT 2004
Thanks, Brandon. The cat /proc/net/arp was helpful. It gave me a better
view of arp cache than did the arp -a command. The latter gave me an
unknown MAC address whereas the former gave me a valid MAC. But, neither
showed any difference after the ip neigh flush all command. I captured the
screen, but I can't send it to you because I am still trying to figure out
Samba.
Greg Simkins
Pittsburgh, PA
Phone: 412-341-7926
FAX: 412-341-0790
Mobile: 412-478-2892
-----Original Message-----
From: Poyner, Brandon [mailto:wplug-bounces+gregsim=telerama.com at wplug.org]
On Behalf Of Poyner, Brandon
Sent: Monday, July 19, 2004 7:28 AM
To: General user list
Subject: RE: [wplug] Clearing arp cache
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: winmail.dat
Type: application/ms-tnef
Size: 6848 bytes
Desc: not available
Url : http://penguin.wplug.org/pipermail/wplug/attachments/20040719/c276580a/winmail-0001.bin
More information about the wplug
mailing list