463
[DeviceB] interface ten-gigabitethernet 1/0/1
[DeviceB-Ten-GigabitEthernet1/0/1] ip address dhcp-alloc
[DeviceB-Ten-GigabitEthernet1/0/1] quit
Verifying the configuration
# Display authorized ARP entry information on Device A.
[DeviceA] display arp all
Type: S-Static D-Dynamic O-Openflow R-Rule M-Multiport I-Invalid
IP Address MAC Address VID Interface/Link ID Aging Type
10.1.1.2 0012-3f86-e94c N/A XGE1/0/1 16 D
The output shows that IP address 10.1.1.2 has been assigned to Device B.
Device B must use the IP address and MAC address in the authorized ARP entry to communicate
with Device A. Otherwise, the communication fails. Thus user validity is ensured.
Configuration example (on a DHCP relay agent)
Network requirements
As shown in
, configure authorized ARP on Ten-GigabitEthernet 1/0/2 of Device B (a
DHCP relay agent) to ensure user validity.
Figure 131 Network diagram
Configuration procedure
1.
Configure Device A:
# Specify the IP address for Ten-GigabitEthernet 1/0/1.
<DeviceA> system-view
[DeviceA] interface ten-gigabitethernet 1/0/1
[DeviceA-Ten-GigabitEthernet1/0/1] ip address 10.1.1.1 24
[DeviceA-Ten-GigabitEthernet1/0/1] quit
# Configure DHCP.
[DeviceA] dhcp enable
[DeviceA] dhcp server ip-pool 1
[DeviceA-dhcp-pool-1] network 10.10.1.0 mask 255.255.255.0
[DeviceA-dhcp-pool-1] gateway-list 10.10.1.1
[DeviceA-dhcp-pool-1] quit
[DeviceA] ip route-static 10.10.1.0 24 10.1.1.2
2.
Configure Device B:
# Enable DHCP.
Summary of Contents for FlexFabric 5940 SERIES
Page 251: ...238 ...