Objective: configure Routers 1 and 2 with IP addresses, and ping between them to test connectivity. Then view the entries stored in the Address Resolution Protocol (ARP) table.
Lab Equipment: Router 1 and Router 2 from the eRouters menu
Background Reading: Lab Primer Lesson 6: ARP
1. Connect to Router 1, and type the command to view the ARP table.
Router>enable
Router#show arp
Lab Equipment: Router 1 and Router 2 from the eRouters menu
Background Reading: Lab Primer Lesson 6: ARP
1. Connect to Router 1, and type the command to view the ARP table.
Router>enable
Router#show arp
2. Assign an IP address of 10.1.1.1 255.255.255.0 to the Ethernet 0 interface of Router 1.
Router#conf terminal
Router(config)#interface Ethernet 0
Router(config-if)#ip address 10.1.1.1 255.255.255.0
Router(config-if)# no shutdown
Router(config-if)#exit
3. View the ARP table again.
Router(config)#exit
Router#show arp
4. Now, connect to Router 2, and configure its Ethernet 0 interface with an IP address of 10.1.1.2 /24.
Router#conf terminal
Router(config)#interface Ethernet 0
Router(config-if)#ip address 10.1.1.2 255.255.255.0
Router(config-if)# no shutdown
Router(config-if)#exit
5. A connection should now exist between the Router 1 and Router 2 Ethernet interfaces. To ensure that the connection is functional, ping the IP address of Router 1’s Ethernet 0 IP address from Router 2.
Router(config)#exit
Router#ping 10.1.1.1
6. View the ARP table on Router 2, and notice the entry.
Router#show arp
7. Now, clear the ARP table.
Router#clear arp
8. View the ARP table one last time, and notice what entries are there.
Router#show arp
****************************************************
本文转自redking51CTO博客,原文链接:http://blog.51cto.com/redking/71815
,如需转载请自行联系原作者