IP Addresses and Services Configuration Guide for Cisco 8000 Series Routers, IOS XR Releases

PDF

IP Addresses and Services Configuration Guide for Cisco 8000 Series Routers, IOS XR Releases

Proxy ARP and local proxy ARP

Want to summarize with AI?

Log in

Explains when the router answers ARP requests on behalf of another device and how to enable proxy ARP or local proxy ARP for different network relationships.


Proxy ARP functions are address-resolution functions that

  • let the router answer eligible ARP requests with its own local data-link address

  • help hosts reach destinations without requiring the hosts to understand routing, and

  • support either destinations on other physical networks or destinations on the same Layer 3 network, depending on the configured function.

Proxy ARP behavior

When proxy ARP is disabled, the router responds only when the target is the receiving interface address or has a statically configured ARP alias.

When proxy ARP is enabled, the router also responds when the target is on another physical network, the router has a route to the target, and every route to the target uses an interface other than the receiving interface.

Local proxy ARP behavior

Local proxy ARP applies when the target, source, and receiving interface addresses are on the same Layer 3 network and the next hop to the target uses the receiving interface.

Local proxy ARP commonly resolves addresses for devices on the same Layer 3 network that are separated at Layer 2, such as devices in private VLANs. It supports the interface types supported by ARP, including unnumbered interfaces.


Enable proxy ARP

Enable proxy ARP when hosts without routing knowledge must reach devices through the router.

Proxy ARP is disabled by default. The example enables it on interface HundredGigE0/0/0/0.

Before you begin

Identify the interface on which the router must answer eligible proxy ARP requests.

Follow these steps to enable proxy ARP.

Procedure

  1. Enter interface configuration mode.

    Example:

    Router# configure
    Router(config)# interface HundredGigE 0/0/0/0
  2. Enable proxy ARP and commit the configuration.

    Example:

    Router(config-if)# proxy-arp
    Router(config-if)# commit
  3. Display the running interface configuration.

    Example:

    Router# show running-config interface HundredGigE 0/0/0/0
    interface HundredGigE0/0/0/0
     mtu 4000
     ipv4 address 192.0.2.1 255.255.255.0
     proxy-arp
    !
  4. Verify the operational proxy ARP state.

    Example:

    Router# show arp idb HundredGigE 0/0/0/0 location 0/0/CPU0
    interface HundredGigE0/0/0/0 (0x08000038):
    IPv4 address 192.0.2.1, Vrf ID 0x60000000
    VRF Name default
    Dynamic learning: Enable
    Dynamic entry timeout: 14400 secs
    Purge delay: off
    Proxy arp is configured, is enabled
    Local Proxy arp not configured

Enable local proxy ARP

Enable local proxy ARP when devices share a Layer 3 network but cannot resolve each other directly at Layer 2.

A typical use case involves private VLANs that separate devices at Layer 2. The example enables local proxy ARP on interface HundredGigE0/0/0/0.

Before you begin

Confirm that the source, target, and receiving interface addresses are on the same Layer 3 network and that the next hop to the target uses the receiving interface.

Follow these steps to enable local proxy ARP.

Procedure

  1. Enter interface configuration mode.

    Example:

    Router# configure
    Router(config)# interface HundredGigE 0/0/0/0
  2. Enable local proxy ARP and commit the configuration.

    Example:

    Router(config-if)# local-proxy-arp
    Router(config-if)# commit
  3. Display the running interface configuration.

    Example:

    Router# show running-config interface HundredGigE 0/0/0/0
    interface HundredGigE0/0/0/0
     ipv4 address 192.0.2.1 255.255.255.0
     local-proxy-arp
    !
  4. Verify the operational local proxy ARP state.

    Example:

    Router# show arp idb HundredGigE0/0/0/0 location 0/0/CPU0
    HundredGigE0/0/0/0 (0x08000038):
    IPv4 address 192.0.2.1, Vrf ID 0x60000000
    VRF Name default
    Dynamic learning: Enable
    Dynamic entry timeout: 14400 secs
    Purge delay: off
    Proxy arp not configured, not enabled
    Local Proxy arp is configured