FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
src/vnet/arp

set arp proxy

Summary/usage

set arp proxy [del] table-ID <table-ID> start <start-address> end <end-addres>.

Declaration and implementation

Declaration: set_arp_proxy_command (src/vnet/arp/arp_proxy.c line 255)

Implementation: set_arp_proxy.

set interface proxy-arp

Summary/usage

set interface proxy-arp <intfc> [enable|disable].

Description

Enable proxy-arp on an interface. The vpp stack will answer ARP requests for the indicated address range. Multiple proxy-arp ranges may be provisioned.

Note
Proxy ARP as a technology is infamous for blackholing traffic. Also, the underlying implementation has not been performance-tuned. Avoid creating an unnecessarily large set of ranges.
Example usage
To enable proxy arp on a range of addresses, use:
vpp# set ip arp proxy 6.0.0.1 - 6.0.0.11
Append 'del' to delete a range of proxy ARP addresses:
vpp# set ip arp proxy 6.0.0.1 - 6.0.0.11 del
You must then specifically enable proxy arp on individual interfaces:
vpp# set interface proxy-arp GigabitEthernet0/8/0 enable
To disable proxy arp on an individual interface:
vpp# set interface proxy-arp GigabitEthernet0/8/0 disable

Declaration and implementation

Declaration: set_int_proxy_enable_command (src/vnet/arp/arp_proxy.c line 246)

Implementation: set_int_proxy_arp_command_fn.

show arp proxy

Summary/usage

show ip arp.

Description

Display all the IPv4 ARP proxy entries.

Example usage
Example of how to display the IPv4 ARP table:
vpp# show ip arp
   Time      FIB        IP4       Flags      Ethernet              Interface
   346.3028   0       6.1.1.3            de:ad:be:ef:ba:be   GigabitEthernet2/0/0
  3077.4271   0       6.1.1.4       S    de:ad:be:ef:ff:ff   GigabitEthernet2/0/0
  2998.6409   1       6.2.2.3            de:ad:be:ef:00:01   GigabitEthernet2/0/0
Proxy arps enabled for:
Fib_index 0   6.0.0.1 - 6.0.0.11

Declaration and implementation

Declaration: show_ip4_arp_command (src/vnet/arp/arp_proxy.c line 439)

Implementation: show_ip4_arp.