Configuring ARP gateway protection
NOTE:
This feature is not supported in the current release, and it is reserved for future use.
Configure this feature on interfaces not connected with a gateway to prevent gateway spoofing attacks.
When such an interface 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.
Configuration guidelines
Follow these guidelines when you configure ARP gateway protection:
You can enable ARP gateway protection for a maximum of eight gateways on an interface.
•
Do not configure both the arp filter source and arp filter binding commands on an interface.
•
If ARP gateway protection works with ARP detection, ARP snooping, and ARP fast-reply, ARP
•
gateway protection applies first.
Configuration procedure
To configure ARP gateway protection:
Step
1.
Enter system view.
2.
Enter Layer 2 Ethernet interface
view.
3.
Enable ARP gateway protection
for the specified 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
83, 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
288
Remarks
N/A
N/A
By default, ARP gateway
protection is disabled.