Product Documentation

Static ARP

You can add static ARP entries to and remove static ARP entries from the ARP table. After adding an entry, you should verify the configuration. If the IP address, port, or MAC address changes after you create a static ARP entry, you must remove or manually adjust the static entry. Therefore, creating static ARP entries is not recommended unless necessary.

To add a static ARP entry by using the CLI:

At the command prompt, type:

  • add arp -IPAddress <ip_addr> -mac<mac_addr> -ifnum <interface_name>

  • show arp <IPAddress>

Example:


> add arp -ip 10.102.29.6 -mac 00:24:e8:73:ca:ec -ifnum 1/1
 Done

To remove a static ARP entry by using the CLI:

At the command prompt, type the rm arp command and the IP address.

To add a static ARP entry by using the GUI:

Navigate to System > Network > ARP Table, and add a static ARP entry.

Specify a VLAN in a Static ARP Entry

In a static ARP entry, you can specify the VLAN through which the destination device is accessible. This feature is useful when the interface specified in the static ARP entry is part of multiple tagged VLANs and the destination is accessible through one of the VLANs. The Citrix ADC appliance includes the specified VLAN ID in the outgoing packets matching the static ARP entry. If you don’t specify a VLAN ID in an ARP entry, and the specified interface is part of multiple tagged VLANs, the appliance assigns the interface’s native VLAN to the ARP entry.

For example, say Citrix ADC interface 1/2 is part of native VLAN 2 and of tagged VLANs 3 and 4, and you add a static ARP entry for network device A, which is part of VLAN 3 and is accessible through interface 1/2. You must specify VLAN 3 in the ARP entry for network device A. The Citrix ADC appliance then includes tagged VLAN 3 in all the packets destined to network device A, and sends them from interface 1/2.

If you don’t specify a VLAN ID, the Citrix ADC appliance assigns native VLAN 2 for the ARP entry. Packets destined to device A are dropped in the network path, because they do not specify tagged VLAN 3, which is the VLAN for device A.

To specify a VLAN in a static ARP entry by using the CLI:

At the command prompt, type:

  • add arp -IPAddress <ip_addr> -mac<mac_addr> -ifnum <interface_name> [-vlan <positive_integer>]

  • show arp <IPAddress>

Example:

> add arp -ip 198.51.100.91 -mac 36:db:4b:f6:12:15 -ifnum 1/2 -vlan 3
Done

Static ARP