Display/Add/Delete/modifyARP entries in Solaris 10 ARP Table
arp - address resolution
display and control
SYNOPSIS
arp hostname
arp -a [-n]
arp -d hostname
arp -f filename
arp -s hostname ether_address [temp] [pub]
[trail]
[permanent]
Show ARP Table:
# arp -a
Net to Media Table: IPv4
Device IP Address Mask Flags
Phys Addr
------
-------------------- --------------- -------- ---------------
igb0 224.0.1.1 255.255.255.255 01:00:7e:00:01:01
igb0 172.16.0.254 255.255.255.255 00:00:3e:00:01:64
igb0 172.16.0.8 255.255.255.255 00:60:89:14:a2:28
igb0 172.16.0.2 255.255.255.255 00:21:98:d2:88:8c
igb0 172.16.0.251 255.255.255.255 o 00:1s:2f:3f:52:58
igb0 172.16.0.12 255.255.255.255 o a4:96:4c:b8:69:61
igb0 172.16.0.11 255.255.255.255 o 00:23:32:ec:ca:63
Delete an ARP entry:
# arp –d 172.16.0.2
Add Static entry to
routing table:
# arp -s 172.16.0.2 00:18:4d:f8:a4:6e