Arp configuration example, Network requirements, Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual
Page 8
7
NOTE:
Clearing ARP entries from the ARP table may cause communication failures.
ARP Configuration Example
Network requirements
As shown in
, hosts are connected to the device, which is connected to the router through
interface GigabitEthernet 0/1 belonging to VLAN 10. The IP address of the router is 192.168.1.1/24. The
MAC address of the router is 00e0-fc01-0000.
To enhance communication security for the router and the device, static ARP entries are configured on the
device.
Figure 3 Network diagram for configuring static ARP entries
Configuration procedure
Configure the device
# Create VLAN 10.
[Device] vlan 10
[Device-vlan10] quit
# Add interface GigabitEthernet 0/1 to VLAN 10.
[Device] interface gigabitethernet 0/1
[Device-GigabitEthernet0/1] port access vlan 10
[Device-GigabitEthernet0/1] quit
# Create interface VLAN-interace 10 and configure its IP address.
[Device] interface vlan-interface 10
[Device-vlan-interface10] ip address 192.168.1.2 8
[Device-vlan-interface10] quit
# Configure a static ARP entry with IP address 192.168.1.1 and MAC address 00e0-fc01-0000. The
outgoing interface corresponding to the static ARP entry is GigabitEthernet 0/1 belonging to VLAN 10.
[Device] arp static 192.168.1.1 00e0-fc01-0000 10 gigabitethernet 0/1