Compartir a través de


Add a static ARP cache entry

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To add a static ARP cache entry

  1. Open Command Prompt.

  2. At the command prompt, type:

    arp -sip_addressmac_address

    where:

    ip_address

    Specifies the IP address of a local (on the same subnet) TCP/IP node.

    mac_address

    Specifies the media access control address for a network adapter installed and used on the local TCP/IP node.

    For example, to add a static ARP entry for a local TCP/IP node with an IP address of 10.0.0.200 that resolves to a media access control address of 00-10-54-CA-E1-40, type the following at a command prompt:

    arp -s 10.0.0.200 00-10-54-CA-E1-40

Notes

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • Static ARP entries can help speed access for hosts that are frequently used.

  • Static ARP entries are valid only until your computer is restarted. To make static ARP cache entries persistent, you can add arp commands to a batch file that is run at system startup.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Troubleshooting TCP/IP
Address Resolution Protocol (ARP)
View the Address Resolution Protocol (ARP) cache
Arp
Command-line utilities