Hide Forgot
Description of problem: I want to delete ARP entries manually. And I can not delete it successfully. (1)Is my step of deletion correct? (2)How long is ARP cache timeout and delete it automaticlly? Version-Release number of selected component (if applicable): #arp -V net-tools 1.60 arp 1.88 (2001-04-04) +I18N AF: (inet) +UNIX +INET +INET6 +IPX +AX25 +NETROM +X25 +ATALK +ECONET +ROSE HW: (ether) +ETHER +ARC +SLIP +PPP +TUNNEL +TR +AX25 +NETROM +X25 +FR +ROSE +ASH +SIT +FDDI +HIPPI +HDLC/LAPB How reproducible: Always Steps to Reproduce: 1.From Server#1 ping Server#2 #ping <server_hostname> 2.check arp table at Server#2 #arp -v Address HWtype HWaddress Flags Mask Iface aaa.aaa.aaa.a ether xx:xx:xx:xx:xx:xx C bond2 bbb.bbb.b.b ether xx:xx:xx:xx:xx:xx C bond2 Entries: 2 Skipped: 0 Found: 2 3.delete entry form Server#2 #arp -d aaa.aaa.aaa.a (it is Server#1's IP address) Actual results: SIOCDARP(priv): Network is unreachable Expected results: Delete it successfully Additional info:
The arp binary is a parto of net-tools.
(In reply to comment #0) > (1)Is my step of deletion correct? Yes, I think so. It works for me without any problems. You could also use 'ip neigh' instead of arp command. example: 'ip neigh show' (instead of 'arp -v') 'ip neigh del aaa.aaa.aaa.a dev bond2' instead of 'arp -d aaa.aaa.aaa.a' > (2)How long is ARP cache timeout and delete it automaticlly? See [1] > Actual results: > SIOCDARP(priv): Network is unreachable I tried to search web and found [1] which should answer this. [1] http://geekstutorials.com/2008/12/how-to-delete-an-entry-from-arp-cache-manually-in-linux/
Closing per previous comment.
Thank you for your help.I will try it in my server