网站大量收购独家精品文档,联系QQ:2885784924

Cisco路由器静态路由和默认路由的配置.doc

  1. 1、本文档共10页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
实验四 Cisco路由器静态路由和默认路由的配置(验证性)(2学时) 实验目的 1.进一步熟悉Cisco路由器的配置环境 2.掌握Cisco路由器静态路由的配置方法 3.掌握Cisco路由器默认路由的配置方法 二、实验内容 (一)静态路由的配置 建立如上所示的拓扑结构,现在需要完成的就是让HostA能和HostB互相ping通。 具体配置如下: router1的配置: Press Enter to Start Router Routeren Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname router1 router1(config)#interface e0 router1(config-if)#ip address 192.168.1.2 255.255.255.0 router1(config-if)#no shut %LINK-3-UPDOWN: Interface Ethernet0, changed state to up router1(config-if)#interface s0 router1(config-if)#ip address 192.168.2.1 255.255.255.0 router1(config-if)#clock rate 6400 //clock rate是dce设备给dte设备提供时钟频率的,需要在dce里面设置,而另外的一个路由器里面则不用设置 router1(config-if)#no shut %LINK-3-UPDOWN: Interface Serial0, changed state to up router1(config-if)#end %LINK-3-UPDOWN: Interface Serial0, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down router1#config t Enter configuration commands, one per line. End with CNTL/Z. router1(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.1 //设定静态路由 router1(config)#ip route 192.168.2.0 255.255.255.0 192.168.2.1 router1(config)#end router1#copy running startup Destination filename [startup-config]? Building configuration... [OK] %LINK-3-UPDOWN: Interface Serial0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up router2的配置: Press Enter to Start Routeren Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#interface e0 Router(config-if)#end Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname router2 router2(config)#interface s0 router2(config-if)#ip address 192.168.2.2 255.255.255.0 router2(config-if)#no shut %LINK-3-UPDOWN: Interface Serial0, changed state to up router2(config-if)#interface s0 router2(config-if)#interface e0 router2(config-if)#ip address 192.168.3.1 255.255.255.0 router2(config-if

文档评论(0)

xina171127 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档