Configuring ARP gateway protection
The ARP gateway protection feature, if configured on ports not connected with the gateway, can block
gateway spoofing attacks.
When such a port receives an ARP packet, it checks whether the sender IP address in the packet is
consistent with that of any protected gateway. If yes, it discards the packet. If not, it handles the packet
normally.
Configuration guidelines
Follow these guidelines when you configure ARP gateway protection:
•
You can enable ARP gateway protection for up to eight gateways on a port.
Commands arp filter source and arp filter binding cannot be both configured on a port.
•
If ARP gateway protection works with ARP detection, MFF, and ARP snooping, ARP gateway
•
protection applies first.
Configuration procedure
To configure ARP gateway protection:
Step
1.
Enter system view.
2.
Enter Layer 2 Ethernet interface
view/Layer 2 aggregate interface view.
3.
Enable ARP gateway protection for a
specific gateway.
Configuration example
Network requirements
As shown in
Switch B intends to send to Switch A is sent to Host B.
Configure Switch B to block such attacks.
Figure
121, Host B launches gateway spoofing attacks to Switch B. As a result, traffic that
Command
system-view
interface interface-type
interface-number
arp filter source ip-address
389
Remarks
N/A
N/A
Disabled by default