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
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
本文出自 “王乾De技术Blog” 博客,请务必保留此出处http://redking.blog.51cto.com/27212/71815
版权与免责声明
1、本站所发布的文章仅供技术交流参考,本站不主张将其做为决策的依据,浏览者可自愿选择采信与否,本站不对因采信这些信息所产生的任何问题负责。
2、本站部分文章来源于网络,其版权为原权利人所有。由于来源之故,有的文章未能获得作者姓名,署“未知”或“佚名”。对于这些文章,有知悉作者姓名的请告知本站,以便及时署名。如果作者要求删除,我们将予以删除。除此之外本站不再承担其它责任。
3、本站部分文章来源于本站原创,本站拥有所有权利。
4、如对本站发布的信息有异议,请联系我们,经本站确认后,将在三个工作日内做出修改或删除处理。
请参阅权责声明!