Arp

A TCP/IP protocol command that displays and modifies the IP-to-MAC address translation tables used by the ARP (Address Resolution Protocol).

Syntax

 arp -a [inet_addr] [-N [if_addr]] arp -d inet_addr [if_addr] arp -g [-N [if_addr]] arp -s inet_addr ether_addr [if_addr] 

Parameters

 

Parameter

Purpose


a

Lists ARP entries.

g

Lists ARP entries in the same manner as a.

[inet_addr]

Identifies an IP address.

N

Lists ARP entries for the network interface specified by if_addr.

[if_addr]

Identifies the IP address of the network interface whose address translation table should be modified. Otherwise, the first applicable interface will be used.

d

Removes the entry specified by inet_addr.

s

Adds a permanent entry in the ARP cache that associates the inet_addr IP address with the ether_addr MAC address.

ether_addr

Specifies a MAC address.



Microsoft Windows XP Professional Administrator's Guide
Microsoft Windows XP Professional Administrators Guide
ISBN: 1931841969
EAN: 2147483647
Year: 2005
Pages: 358

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net