409
Configuring Dynamic ARP Inspection
How to Configure Dynamic ARP Inspection
DAI is not effective for hosts connected to switches that do not support DAI or that do not have this feature enabled.
Because man-in-the-middle attacks are limited to a single Layer 2 broadcast domain, separate the domain with DAI
checks from the one with no checking. This action secures the ARP caches of hosts in the domain enabled for DAI.
DAI depends on the entries in the DHCP snooping binding database to verify IP-to-MAC address bindings in
incoming ARP requests and ARP responses. Make sure to enable DHCP snooping to permit ARP packets that have
dynamically assigned IP addresses. For configuration information, see
Configuring Dynamic ARP Inspection,
When DHCP snooping is disabled or in non-DHCP environments, use ARP ACLs to permit or to deny packets.
DAI is supported on access ports, trunk ports, EtherChannel ports, and private VLAN ports.
Note:
Do not enable DAI on RSPAN VLANs. If DAI is enabled on RSPAN VLANs, DAI packets might not reach the
RSPAN destination port.
A physical port can join an EtherChannel port channel only when the trust state of the physical port and the channel
port match. Otherwise, the physical port remains suspended in the port channel. A port channel inherits its trust state
from the first physical port that joins the channel. Consequently, the trust state of the first physical port need not
match the trust state of the channel.
Conversely, when you change the trust state on the port channel, the switch configures a new trust state on all the
physical ports that comprise the channel.
The operating rate for the port channel is cumulative across all the physical ports within the channel. For example,
if you configure the port channel with an ARP rate-limit of 400 pps, all the interfaces combined on the channel
receive an aggregate 400 pps. The rate of incoming ARP packets on EtherChannel ports is equal to the sum of the
incoming rate of packets from all the channel members. Configure the rate limit for EtherChannel ports only after
examining the rate of incoming ARP packets on the channel-port members.
The rate of incoming packets on a physical port is checked against the port-channel configuration rather than the
physical-ports configuration. The rate-limit configuration on a port channel is independent of the configuration on
its physical ports.
If the EtherChannel receives more ARP packets than the configured rate, the channel (including all physical ports) is
placed in the error-disabled state.
Make sure to limit the rate of ARP packets on incoming trunk ports. Configure trunk ports with higher rates to reflect
their aggregation and to handle packets across multiple DAI-enabled VLANs. You also can use the
ip arp inspection
limit
none
interface configuration command to make the rate unlimited. A high rate-limit on one VLAN can cause a
denial-of-service attack to other VLANs when the software places the port in the error-disabled state.
When you enable DAI on the switch, policers that were configured to police ARP traffic are no longer effective. The
result is that all ARP traffic is sent to the CPU.
How to Configure Dynamic ARP Inspection
Configuring Dynamic ARP Inspection in DHCP Environments
This procedure shows how to configure DAI when two switches support this feature. Host 1 is connected to Switch A,
and Host 2 is connected to Switch B as shown in
. Both switches are running DAI on VLAN 1 where
the hosts are located. A DHCP server is connected to Switch A. Both hosts acquire their IP addresses from the same
DHCP server. Therefore, Switch A has the bindings for Host 1 and Host 2, and Switch B has the binding for Host 2.
Before You Begin
You must perform this procedure on both switches. This procedure is required.
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...