R3303-HP 6600/HSR6600 Routers Security Configuration Guide

527
Configuring ARP gateway protection
NOTE:
This feature is supported only when SAP modules operate in bridge mode.
Configure this feature on interfaces not connected with the gateway to prevent 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
correctly.
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 and ARP snooping, ARP gateway protection
applies first.
To configure ARP gateway protection:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter Layer 2 Ethernet interface
view.
interface interface-type
interface-number
N/A
3. Enable ARP gateway protection
for a specific gateway.
arp filter source ip-address Disabled by default.
ARP gateway protection configuration example
Network requirements
As shown in Figure 254, Host B launches gateway spoofing attacks to Router B. As a result, traffic that
Router B intends to send to Router A is sent to Host B.
Configure Router B to block such attacks.