428
ARP detection with 802.1X support configuration example
Network requirements
As shown in
, configure Router A as a DHCP server and Router B to support 802.1X. Enable
ARP detection for VLAN 10 to allow only packets from valid clients to pass. Configure Host A and Host
B as local 802.1X access users.
Figure 148
Network diagram for ARP detection configuration
Configuration procedure
1.
Add all the ports on Router B into VLAN 10, and configure the IP address of VLAN-interface 10 on
Router A. (Omitted)
2.
Configure Router A as a DHCP server.
# Configure DHCP address pool 0.
<RouterA> system-view
[RouterA] dhcp enable
[RouterA] dhcp server ip-pool 0
[RouterA-dhcp-pool-0] network 10.1.1.0 mask 255.255.255.0
3.
Configure Host A and Host B as 802.1X clients (the configuration procedure is omitted), and
configure them to upload IP addresses for ARP detection.
4.
Configure Router B.
# Enable the 802.1X function.
<RouterB> system-view
[RouterB] dot1x
[RouterB] interface gigabitethernet1/0/1
[RouterB-GigabitEthernet1/0/1] dot1x
[RouterB-GigabitEthernet1/0/1] quit
[RouterB] interface gigabitethernet1/0/2
[RouterB-GigabitEthernet1/0/2] dot1x
[RouterB-GigabitEthernet1/0/2] quit