R3303-HP 6600/HSR6600 Routers Security Configuration Guide

517
Authorized ARP configuration example (on a DHCP relay
agent)
Network requirements
Configure Router A as a DHCP server with an IP address pool of 10.10.1.0/24.
Configure Router B as a DHCP relay agent. Enable authorized ARP on GigabitEthernet 3/0/2 of Router
B to ensure user validity.
Configure Router C as a DHCP client to obtain an IP address.
Figure 250 Network diagram
Configuration procedure
1. Configure Router A:
# Configure the IP address of GigabitEthernet 3/0/1.
<RouterA> system-view
[RouterA] interface gigabitethernet 3/0/1
[RouterA-GigabitEthernet3/0/1] ip address 10.1.1.1 24
[RouterA-GigabitEthernet3/0/1] quit
# Configure DHCP.
[RouterA] dhcp enable
[RouterA] dhcp server ip-pool 1
[RouterA-dhcp-pool-1] network 10.10.1.0 mask 255.255.255.0
[RouterA-dhcp-pool-1] gateway-list 10.10.1.1
[RouterA-dhcp-pool-1] quit
[RouterA] ip route-static 10.10.1.0 24 10.1.1.2
2. Configure Router B:
# Enable DHCP.
<RouterB> system-view
[RouterB] dhcp enable
# Configure the IP addresses of GigabitEthernet 3/0/1 and GigabitEthernet 3/0/2.
[RouterB] interface gigabitethernet 3/0/1
[RouterB-GigabitEthernet3/0/1] ip address 10.1.1.2 24
[RouterB-GigabitEthernet3/0/1] quit
[RouterB] interface gigabitethernet 3/0/2