ccna实验手册1(编辑修改稿)内容摘要:

ig)interface s1 R2(configif)ip address R2(configif)no shutdown R2(configif)interface loopback 0 亚亚 威威 CCNA 实实 验验 手手 册册 11 R2(configif)ip address R2(configif)exit R2(config) 步骤 三、 指定静态路由 R1(config) R1(config)ip route serial 0 指定 静态路由 R2(config) R2(config)ip route 指定 静态路由 步骤 四、 作 ping 测试 R1ping Protocol [ip]: Target IP address: 目的地址 Extended mands [n]: y 是否用扩展命令 Source address or interface: 源地址 !!!!! 显示 已通 步骤 五、 显示静态路由条目 R1show ip route Codes: C connected, S static, I IGRP, R RIP, M mobile, B BGP D EIGRP, EX EIGRP external, O OSPF, IA OSPF inter area N1 OSPF NSSA external type 1, N2 OSPF NSSA external type 2 E1 OSPF external type 1, E2 OSPF external type 2, E EGP i ISIS, L1 ISIS level1, L2 ISIS level2, ia ISIS inter area * candidate default, U peruser static route, o ODR P periodic downloaded static route Gateway of last resort is not set , 1 subs S is directly connected, Serial0 静态路由条目 , 1 subs C is directly connected, Loopback0 , 1 subs C is directly connected, Serial0 步骤 六、 显示 当前配置 R1 的配置结果: R1show runningconfig ! hostname R1 亚亚 威威 CCNA 实实 验验 手手 册册 12 ! no ip domainlookup ! interface Loopback0 ip address ! interface Serial0 ip address clockrate 64000 ! ip route Serial0 ! line con 0 exectimeout 0 0 logging synchronous transport input none end R2 的配置结果: R2show runningconfig ! hostname R2 ! no ip domainlookup ! interface Loopback0 ip address ! interface Serial1 ip address ! ip route ! line con 0 exectimeout 0 0 logging synchronous ! end 亚亚 威威 CCNA 实实 验验 手手 册册 13 实验三、 RIP 路由协议 环境: 两台 2500 系列路由器 由串口相连。 要求: 如下图所示, 在 R1 和 R2 上运行 RIPv1,让两端能够学习到对端的路由以达到通信的目的。 步骤 一、 基本配置 Router Routerenable Routerconfig terminal Router(config)hostname R1 R1(config)no ip domainlookup 关闭域名查找 R1(config)line console 0 R1(configline) logging synchronous 命令输入达到同步 R1(configline)exectimeout 0 0 设置永不超时 R1(configline)exit 步骤 二、 接口 IP 配置 R1 的配置: R1(config)interface s0 R1(configif)ip address R1(configif)clock rate 64000 注意时钟速率端 R1(configif)no shutdown R1(configif)interface loopback 0 R1(configif)ip address R1(configif) R2 的配置: Router(config)hostname R2 亚亚 威威 CCNA 实实 验验 手手 册册 14 R2(config)interface s1 R2(configif)ip address R2(configif)no shutdown R2(configif)interface loopback 0 R2(configif)ip address R2(configif)exit R2(config) 步骤 三、 启用 RIP 路由选择协议 R1 的配置: R1(config)router rip 启用 RIP R1(configrouter)work 发布 直连网段 R1(configrouter)work R1(configrouter)exit R1(config) R2 的配置: R2(config)router rip 启用 RIP R2(configrouter)work 发布直连网段 R2(configrouter)work R2(configrouter)exit R2(config)end 步骤 四 、显示路由表,查看路由条目 R1show ip route Codes: C connected, S static, I IGRP, R RIP, M mobile, B BGP D EIGRP, EX EIGRP external, O OSPF, IA OSPF inter area N1 OSPF NSSA external type 1, N2 OSPF NSSA external type 2 E1 OSPF external type 1, E2 OSPF external type 2, E EGP i ISIS, L1 ISIS level1, L2 ISIS level2, ia ISIS inter area * candidate default, U peruser static route, o ODR P periodic downloaded static route Gateway of last resort is not set R [120/1] via , 00:00:03, Serial0 学习来的路由条目 , 1 subs C is directly connected, Loopback0 , 1 subs C is directly connected, Serial0 亚亚 威威 CCNA 实实 验验 手手 册册 15 步骤 五 、用扩展 ping 命令测试连通性 R2ping Protocol [ip]: Target IP address: Repeat count [5]: Datagram size [100]: Timeout in seconds [2]: Extended mands [n]: y Source address or interface: !!!!! 步骤 六 、显示你当前路由协议 R2show ip protocols 显示你当前路由协议配置情况和运行状态 Routing Protocol is rip Sending updates every 30 seconds, next due in 24 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all interfaces is Ining update filter list for all interfaces is Redistributing: rip Default version control: send version 1, receive any version Interface Send Recv Triggered RIP Keychain Loopback0 1 1 2 Serial1 1 1 2 Automatic work summarization is in effect Routing for Networks: Routing Information Sources: Gateway Distance Last Update 120 00:14:05 Distance: (default is 120) 步骤 七 、显示当前配置 r1 的当前配置: r1show runningconfig ! hostname R1 ! no ip domainlookup ! interface Loopback0 亚亚 威威 CCNA 实实 验验 手手 册册 16 ip address ! interface Serial0 ip address clockrate 64000 ! router rip work work ! line con 0 exectimeout 0 0 logging synchronous transport input none end r2 的当前配置: R2sh run ! hostname R2 ! no ip domainlookup ! interface Loopback0 ip address ! interface Serial1 ip address ! router rip work work ! line con 0 exectimeout 0 0 logging synchronous ! end 亚亚 威威 CCNA 实实 验验 手手 册册 17 实验 四 、 RIPv1 与 EIGRP 在不连续网络下的比较 环境:两台 2500 系列路由器,由串口相连。 要求:在 RIPv1 和 EIGRP 中将两个相同主类网络的不同子网由另一个主类网络 分割,如何能学到对端网 络。 RIP 配置: 步骤 一、 基本配置 Router Routerenable Routerconfig terminal Router(config)hostname R1 R1(config)no ip domainlookup R1(config)l。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。