Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how i clear arp table

Status
Not open for further replies.

054950383

Technical User
Sep 20, 2001
11
IL
i want to clear all arp entry in solaris
 
you can delete each arp entry manually with arp -d, a
simple way to clear a machine's entire ARP cache without rebooting, or deleting entries manually or waiting for timeouts is:

# ifconfig <hme0> <IP>
substitute your device and IP address, you can also change arp cache timeouts, eg: flushing the arp entries from the routing table after 1 minute:

#ndd -set /dev/ip ip_ire_flush_interval 60000

or discard ARP entries from ARP cache after 1 minute:

#ndd -set /dev/arp arp_cleanup_interval 60000

Hope it helps,

Carlos Almeida,

 
the only command I can think of is arp delete: -

arp -d IP-Address

I've never used it seriously though and not sure if when executed if it's effect is permanent. See man pages on arp. That's all I can think of at present.
(What are your reasons for doing this, do you have hundreds of connections?)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top