arp command examples

arp command examples

arp – manipulate the system ARP cache

ARP stands for Address Resolution Protocol. ARP requests are cached for faster resolutions in your system.

/usr/sbin/arp -i eth0 -Ds 10.0.0.2 eth1 pub

This will answer ARP requests for 10.0.0.2 on eth0 with the MAC address for eth1.

/usr/sbin/arp -i eth1 -d 10.0.0.1

Delete the ARP table entry for 10.0.0.1 on interface eth1. This will match published proxy ARP entries and permanent entries.

 

Leave a Reply

Your email address will not be published. Required fields are marked *