且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

CCNA(Stand-ALONE)Lab 10-ARP

更新时间:2022-09-15 20:20:34

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
CCNA(Stand-ALONE)Lab 10-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
CCNA(Stand-ALONE)Lab 10-ARP

3. View the ARP table again.
Router(config)#exit
Router#show arp
CCNA(Stand-ALONE)Lab 10-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
CCNA(Stand-ALONE)Lab 10-ARP

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
CCNA(Stand-ALONE)Lab 10-ARP

6. View the ARP table on Router 2, and notice the entry.
Router#show arp
CCNA(Stand-ALONE)Lab 10-ARP

7. Now, clear the ARP table.
Router#clear arp
CCNA(Stand-ALONE)Lab 10-ARP

8. View the ARP table one last time, and notice what entries are there.
Router#show arp
CCNA(Stand-ALONE)Lab 10-ARP
****************************************************
Above:CCNA(Stand-ALONE)Lab 9-Introduction to IP
Next:CCNA(Stand-ALONE)Lab 11-Creating a Host Table




本文转自redking51CTO博客,原文链接:http://blog.51cto.com/redking/71815,如需转载请自行联系原作者