OcNOS-SP : Layer 3 Guide : Neighbor Discovery Configuration Guide : Neighbor Discovery Configuration : Configuring ARP for IPv4
Configuring ARP for IPv4
The procedures in this section use the topology in Figure 3-163
Figure 3-163: ARP for IPv4
RTR1
 
#configure terminal
Enter the configure mode.
(config)#interface xe1
Enter interface mode.
(config-if)#ip address 2.2.2.2/24
Configure IP address on the interface.
(config-if)#commit
Commit the candidate configuration to the running configuration
(config-if)#exit
Exit interface mode.
(config)#arp 2.2.2.3 0000.0000.0003
Configure ARP entry for neighbor.
(config-if)#commit
Commit the candidate configuration to the running configuration
(config)#exit
Exit configure mode.
RTR2
 
#configure terminal
Enter the configure mode.
(config)#interface xe1
Enter interface mode.
(config-if)#ip address 2.2.2.3/24
Configure IP address on the interface.
(config-if)#commit
Commit the candidate configuration to the running configuration
(config-if)#exit
Exit interface mode.
(config)#arp 2.2.2.2 0000.0000.0004
Configure ARP entry for neighbor.
(config-if)#commit
Commit the candidate configuration to the running configuration
(config)#exit
Exit configure mode.
Validation
#show arp
Address HWaddress Interface Type
2.2.2.3 00:00:00:00:00:03 eth1 Static
10.12.65.1 00:07:7d:67:6f:bf eth0 Dynamic
Last modified date: 10/16/2023