default mask length is 8, these two IP addresses are on the same natural network. In this way,
VLAN-interface 10 can learn the MAC address corresponding to the source IP address 10.11.11.1.
Follow these steps to enable the support for ARP requests from a natural network:
To do...
Enter system view
Enable the support for ARP
requests from a natural network
ARP Configuration Example
Network requirements
As shown in
Figure
GigabitEthernet2/0/1 belonging to VLAN 10. The IP address of Router is 192.168.1.1/24. The MAC
address of Router is 00e0-fc01-0000.
To enhance communication security for Router and Switch, static ARP entries are configured on
Switch.
Figure 1-3 Network diagram for configuring static ARP entries
Configuration procedure
Configure Switch
# Create VLAN 10.
<Switch> system-view
[Switch] vlan 10
[Switch-vlan10] quit
# Add interface GigabitEthernet 2/0/1 to VLAN 10.
[Switch] interface GigabitEthernet 2/0/1
[Switch-GigabitEthernet2/0/1] port access vlan 10
[Switch-GigabitEthernet2/0/1] quit
# Create interface VLAN-interace 10 and configure its IP address.
[Switch] interface vlan-interface 10
Use the command...
system-view
naturemask-arp enable
1-3, hosts are connected to Switch, which is connected to Router through interface
—
Required
Disabled by default.
1-6
Remarks