|ARP(8)||Maintenance Commands and Procedures||ARP(8)|
arp - address resolution display and control
arp -a [-n]
arp -d hostname
arp -f filename
arp -s hostname ether_address [temp] [pub] [trail]
The arp program displays and modifies the Internet-to-MAC address translation tables used by the address resolution protocol (see arp(4P)).
With no flags, the program displays the current ARP entry for hostname. The host may be specified by name or by number, using Internet dot notation.
Options that modify the ARP translation tables (-d, -f, and -s) can be used only when the invoked command is granted the PRIV_SYS_NET_CONFIG privilege. See privileges(7).
You can use the -n option with the -a option to disable the automatic numeric IP address-to-name translation. Use arp -an or arp -na to display numeric IP addresses. The arp -a option is equivalent to:
# netstat -p -f inet
...and -an and -na are equivalent to:
# netstat -pn -f inet
Note that ARP entries for IPMP (IP Network Multipathing) data and test addresses are managed by the kernel and thus cannot be deleted.
hostname MACaddress [temp] [pub] [trail] [permanent]
See the -s option for argument definitions.
Solaris does not implement trailer encapsulation, and the word trail is accepted on entries for compatibility only.
arp -s can be used for a limited form of proxy ARP when a host on one of the directly attached networks is not physically present on a subnet. Another machine can then be configured to respond to ARP requests using arp -s. This is useful in certain SLIP configurations.
Non-temporary proxy ARP entries for an IPMP (IP Network Multipathing) group are automatically managed by the kernel. Specifically, if the hardware address in an entry matches the hardware address of an IP interface in an IPMP group, and the IP address is not local to the system, this will be regarded as an IPMP proxy ARP entry. This entry will have its hardware address automatically adjusted in order to keep the IP address reachable so long as the IPMP group has not entirely failed.
ARP entries must be consistent across an IPMP group. Therefore, ARP entries cannot be associated with individual underlying IP interfaces in an IPMP group, and must instead be associated with the corresponding IPMP IP interface.
Note that ARP entries for IPMP data and test addresses are managed by the kernel and thus cannot be changed.
|September 2, 2015||OmniOS|