Arp Restricted Forwarding Configuration Example - HP MSR Series Configuration Manual

Hpe flexnetwork msr router series
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

<SwitchA> system-view
[SwitchA] dhcp enable
[SwitchA] dhcp server ip-pool 0
[SwitchA-dhcp-pool-0] network 10.1.1.0 mask 255.255.255.0
3.
Configure Host A (DHCP client) and Host B. (Details not shown.)
4.
Configure Router B:
# Enable DHCP snooping.
<RouterB> system-view
[RouterB] dhcp snooping enable
[RouterB] interface gigabitethernet 2/0/3
[RouterB-GigabitEthernet2/0/3] dhcp snooping trust
[RouterB-GigabitEthernet2/0/3] quit
# Enable recording of client information in DHCP snooping entries on GigabitEthernet 2/0/1.
[RouterB] interface gigabitethernet 2/0/1
[RouterB-GigabitEthernet2/0/1] dhcp snooping binding record
[RouterB-GigabitEthernet2/0/1] quit
# Enable ARP detection for VLAN 10.
[RouterB] vlan 10
[RouterB-vlan10] arp detection enable
# Configure the upstream interface as a trusted interface. By default, an interface is an
untrusted interface.
[RouterB-vlan10] interface gigabitethernet 2/0/3
[RouterB-GigabitEthernet2/0/3] arp detection trust
[RouterB-GigabitEthernet2/0/3] quit
# Configure a static IP source guard binding entry on interface GigabitEthernet 2/0/2 for user
validity check.
[RouterB] interface gigabitethernet 2/0/2
[RouterB-GigabitEthernet2/0/2] ip source binding ip-address 10.1.1.6 mac-address
0001-0203-0607 vlan 10
[RouterB-GigabitEthernet2/0/2] quit
# Enable ARP packet validity check by checking the MAC addresses and IP addresses of ARP
packets.
[RouterB] arp detection validate dst-mac ip src-mac
After the configurations are completed, Router B first checks the validity of ARP packets
received on GigabitEthernet 2/0/1 and GigabitEthernet 2/0/2. If the ARP packets are confirmed
valid, the router performs user validity check by using the static IP source guard binding entries
and finally DHCP snooping entries.

ARP restricted forwarding configuration example

Network requirements
As shown in
configured. Port isolation configured on Router B can take effect for broadcast ARP requests.
Figure
167, configure ARP restricted forwarding on Router B where ARP detection is
536

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents