HP MSR2000/3000/4000 Router Series Security Configuration Guide
286
Figure 82 Network diagram
Configuration procedure
1. Add all interfaces on Switch B to VLAN 10, and specify the IP address of VLAN-interface 10 on
Switch A. (Details not shown.)
2. Configure the DHCP server on Switch A, and configure DHCP address pool 0.
<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 Switch B:
# Enable DHCP snooping.
<SwitchB> system-view
[SwitchB] dhcp snooping enable
[SwitchB] interface ethernet 1/3
[SwitchB-Ethernet1/3] dhcp snooping trust
[SwitchB-Ethernet1/3] quit
# Enable ARP detection for VLAN 10.
[SwitchB] vlan 10
[SwitchB-vlan10] arp detection enable
# Configure the upstream interface as a trusted interface (an interface is an untrusted interface by
default).
[SwitchB-vlan10] interface ethernet 1/3
[SwitchB-Ethernet1/3] arp detection trust
[SwitchB-Ethernet1/3] quit
# Configure a static IP source guard binding entry on interface Ethernet 1/2 for user validity
check.
[SwitchB] interface ethernet 1/2
[SwitchB-Ethernet1/2] ip source binding ip-address 10.1.1.6 mac-address
0001-0203-0607 vlan 10
Switch A
Switch B
Host A Host B
Eth1/3
Vlan-int10
10.1.1.1/24
Gateway
DHCP server
Eth1/1
Eth1/3
Eth1/2
DHCP client
VLAN 10
DHCP snooping
10.1.1.6
0001-0203-0607










