CCNA(Stand-ALONE)Lab 10-ARP

简介:
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
****************************************************




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

相关文章
|
4月前
|
存储 缓存 网络协议
CCNA 200-301系列:地址解析协议(ARP)
【4月更文挑战第21天】
48 0
|
4月前
|
缓存 网络协议 安全
【网络工程师】<软考中级>解析协议ARP&路由协议RIP/OSPF/BGP
【1月更文挑战第27天】【网络工程师】<软考中级>解析协议ARP&路由协议RIP/OSPF/BGP
|
4月前
|
缓存 网络协议 网络架构
【计算机网络】第三章 数据链路层(MAC地址 IP地址 ARP协议)
【计算机网络】第三章 数据链路层(MAC地址 IP地址 ARP协议)
66 1
|
23天前
|
网络协议
用户态协议栈04-定时arp-table的实现
用户态协议栈04-定时arp-table的实现
|
23天前
|
缓存 网络协议
用户态协议栈02-arp reply实现
用户态协议栈02-arp reply实现
|
7天前
|
网络协议 安全 网络安全
ARP协议详解及其工作原理
【8月更文挑战第31天】
24 0
|
18天前
|
存储 缓存 监控
|
24天前
|
存储 缓存 网络协议
MAC协议原理与ARP协议
总结一下,MAC协议是控制同一网络媒介上多个设备的数据访问的规范,而ARP是解决局域网络中的IP地址到MAC地址的转换问题,以确保IP包能在本地网络上传输到正确的设备。尽管这两种协议服务于网络通信中的不同层面,但它们都是网络正常操作的基本要素,保证了数据能从一个设备准确无误地传递到另一个设备。
14 0
|
2月前
|
存储 缓存 网络协议
ARP 地址解析协议
ARP 地址解析协议
31 0
|
2月前
|
人工智能 缓存 网络协议
网络层之三层交换、icmp协议、arp协议
网络层之三层交换、icmp协议、arp协议