ImageVerifierCode 换一换
格式:PPT , 页数:28 ,大小:563KB ,
资源ID:4854690      下载积分:10 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.docduoduo.com/d-4854690.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录   微博登录 

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(项目6、静态路由.ppt)为本站会员(hwpkd79526)主动上传,道客多多仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知道客多多(发送邮件至docduoduo@163.com或直接QQ联系客服),我们立即给予删除!

项目6、静态路由.ppt

1、静态路由,主讲:张朋 平湖职业中专,路由信息,172.16.1.0,10.1.1.0,E0,S0,路由信息源,可到达路径,最佳路径,路由表,router#show ip route Codes: C - connected,S static, R RIP, O- OSPF IA - OSPF inter area,E1-OSPF external type 1 E2 - OSPF external type 2,* - candidate default Gateway of last resort is 10.5.5.5 to network 0.0.0.0172.16.0.0/24 is

2、subnetted, 1 subnetsC 172.16.11.0 is directly connected, serial1/2 直连路由 O 172.22.0.0/16 110/20 via 10.3.3.3, 01:03:01, Serial1/2 OSPF S* 0.0.0.0/0 1/0 via 10.5.5.5 默认路由,路由的信息,O 172.16.8.0 110/20 via 172.16.7.9, 00:00:23, Serial0,O - 路由信息的来源 (OSPF) 172.16.8.0 - 目标网络(或子网) 110 - 管理距离 (路由的可信度) /20 - 量度值

3、 (路由的可到达性) via 172.16.7.9 - 下一跳地址 (下个路由器) 00:00:23 - 路由的存活的时间 (时分秒) Serial0 - 出站接口,管理距离可以用来选择采用哪个IP路由协议 管理距离值越低,学到的路由越可信 静态配置路由优先于动态协议学到的路由 采用复杂量度的路由协议优先于简单量度的路由协议。,管理距离(可信度),Connected interface 0 Static route out an interface 0 Static route to a next hop 1 OSPF 110 RIP v1, v2 120,路由源,缺省管理距离,各种路由协议管

4、理距离值,路由决策,根据路由的管理距离。管理距离越小,路由越优先;管理距离一样,就比较路由的量度值(metric)。越小越优先;路由量度值一样的路由,可以选中多个路径。,路由算法,路径长度 可靠性 延迟 带宽 负载 通信代价,路由协议,路由协议(Routing Protocol):用于路由器动态寻找网络最佳路径,保证所有路由器拥有相同的路由表,一般路由协议决定数据包在网络上的行走路径。这类协议的例子有OSPF,RIP等路由协议。通过提供共享路由选择信息的机制来支持被动路由协议。路由选择协议消息在路由器之间传送。路由选择协议允许路由器与其他路由器通信来修改和维护路由选择表。,路由协议,直连路由

5、静态路由 动态路由,直连路由,目标网段 出口 C 192.168.1.0 Fastethernet 0 C 192.168.2.0 Fastethernet 1 C 192.168.3.0 Fastethernet 2,192.168.1.1,192.168.2.1,192.168.3.1,F0,F2,F1,静态路由,静态路由是指由网络管理员手工配置的路由信息。 静态路由除了具有简单、高效、可靠的优点外,它的另一个好处是网络安全保密性高。,静态路由,172.16.2.2,S0,172.16.2.1,B,A,B,S0,192.168.10.1,202.99.8.1,F0,F0,192.168.1

6、0.5,202.99.8.3,RA C 192.168.10.0 F0 C 172.16.2.0 S0,RB C 202.99.8.0 F0 C 172.16.2.0 S0,RA 去往202.99.8.0,?,S 202.99.8.0 S0,RB 去往192.168.10.0,?,S 192.168.10.0 S0,静态路由,静态路由配置命令 配置静态路由用命令ip route router(config)#ip route 网络编号 子网掩码 转发路由器的IP地址/本地接口 例:ip route 192.168.10.0 255.255.255.0 serial 0 静态路由描述转发路径的方

7、式有两种 指向本地接口(即从本地某接口发出) 指向下一跳路由器直连接口的IP地址(即将数据包交给X.X.X.X),静态路由,静态路由的一般配置步骤 1.为路由器每个接口配置IP地址 2.确定本路由器有哪些直连网段的路由信息 3.确定网络中有哪些属于本路由器的非直连网段 4.添加本路由器的非直连网段相关的路由信息,静态路由配置实例,172.16.2.1,S0,172.16.1.0,172.16.2.2,网络,B,10.0.0.0,B,A,缺省路由,缺省路由一般使用在stub网络中(称末端或存根网络),stub网络是只有1条出口路径的网络。使用默认路由来发送那些目标网络没有包含在路由表中的数据包。

8、 缺省路由可以看作是静态路由的一种特殊情况。 配置缺省路由用如下命令: router(config)#ip route 0.0.0.0 0.0.0.0 转发路由器的IP地址/本地接口,缺省路由,172.16.2.1,SO,172.16.1.0,172.16.2.2,网络,B,0.0.0.0,routerB(config)#ip route 0.0.0.0 0.0.0.0 172.16.2.2,Internet 上 大约99.99%的路由器上都存在一条缺省路由!,A,B,项目实施,项目拓扑,1、在路由器Ra上配置接口的IP地址和串口上的时钟频率。 Ra(config)# interface fa

9、stethernet 0/1 Ra(config-if)# ipaddress 172.16.1.1 255.255.255.0 Ra(config-if)# no shutdown Ra(config)# interface fastethernet 1/1 Ra(config-if)# ipaddress 172.16.2.1 255.255.255.0 Ra(config)# no shutdown 2、验证测试:验证路由器接口的配置。 Ra#show ip interface brief Interface IP-Addressress(Pri) OK? Status serial 1

10、/2 noaddress YES DOWN serial 1/0 noaddress YES DOWN FastEthernet 0/1 172.16.1.1/24 YES UP FastEthernet 1/1 172.16.2.1/24 YES UP Null 0 noaddress YES UP,Ra#show interface FastEthernet 1/1 FastEthernet 1/1 is UP , line protocol is UP !查看端口状态 Hardware is PQ2 SCC HDLC CONTROLLER serial Interfaceaddress

11、is: 172.16.2.1/24 !端口 ip地址MTU 1500 bytes, BW 2000 KbitEncapsulation protocol is HDLC, loopback not setKeepalive interval is 10 sec , setCarrier delay is 2 secRXload is 1 ,Txload is 1Queueing strategy: WFQ5 minutes input rate 17 bits/sec, 0 packets/sec5 minutes output rate 17 bits/sec, 0 packets/sec8

12、5 packets input, 1870 bytes, 0 no bufferReceived 85 broadcasts, 0 runts, 0 giants0 input errors, 0 CRC, 0 frame, 0 overrun, 0 abort84 packets output, 1848 bytes, 0 underruns0 output errors, 0 collisions, 3 interface resets1 carrier transitionsV35 DCE cable !该端口为DCE端口 DCD=up DSR=up DTR=up RTS=up CTS=

13、up,3、在路由器Ra上配置静态路由。 Ra(config)#ip route 172.16.3.0 255.255.255.0 172.16.2.2 或: Ra(config)#ip route 172.16.3.0 255.255.255.0 FastEthernet 1/1 4、验证测试:验证Ra上的静态路由配置。 Ra#show ip route Codes: C - connected, S - static, R - RIPO - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA ext

14、ernal type 2E1 - OSPF external type 1, E2 - OSPF external type 2* - candidate default Gateway of last resort is no set C 172.16.1.0/24 is directly connected, FastEthernet 1/0 C 172.16.1.1/32 is local host. C 172.16.2.0/24 is directly connected, FastEthernet 1/1 C 172.16.2.1/32 is local host. S 172.1

15、6.3.0/24 1/0 via 172.16.2.2,5、在路由器Rb上配置接口的IP地址和串口上的时钟频率。 Rb(config)# interface fastethernet 1/0 Rb(config-if)# ipaddress 172.16.3.1 255.255.255.0 Rb(config-if)# no shutdown ! Rb(config)# interface FastEthernet 1/1 Rb(config-if)# ipaddress 172.16.2.2 255.255.255.0 Rb(config-if)# no shutdown 6、验证测试:验证

16、路由器接口的配置。 Rb#show ip interface brief Interface IP-Addressress(Pri) OK? Status serial 1/2 noaddress YES DOWN serial 1/0 noaddress YES DOWN FastEthernet 0/1 172.16.2.2/24 YES UP FastEthernet 1/1 172.16.3.1/24 YES UP Null 0 noaddress YES UP Rb# show interface FastEthernet 1/1 FastEthernet 1/1 is UP , l

17、ine protocol is UP Hardware is PQ2 SCC HDLC CONTROLLER serial Interfaceaddress is: 172.16.2.2/24,6、在路由器Rb上配置静态路由。 Rb(config)#ip route 172.16.1.0 255.255.255.0 172.16.2.1 或: Rb(config)#ip route 172.16.1.0 255.255.255.0 FastEthernet 1/1 7、验证测试:验证Rb上的静态路由配置。 Rb#show ip route Codes: C - connected, S - s

18、tatic, R - RIPO - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2* - candidate default Gateway of last resort is no set S 172.16.1.0/24 1/0 via 172.16.2.1 !配置的静态路由 C 172.16.3.0/24 is directly connected, Fast

19、Ethernet 1/1 C 172.16.3.1/32 is local host. C 172.16.2.0/24 is directly connected, FastEthernet 1/0 C 172.16.2.2/32 is local host.,8、测试网络的互连互通性。 C:ping 172.16.3.22 !从PC1 ping PC2 Pinging 172.16.3.22 with 32 bytes of data: Reply from 172.16.3.22: bytes=32 timeping 172.16.1.11 !从PC2 ping PC1 Pinging 172.16.1.11 with 32 bytes of data: Reply from 172.16.1.11: bytes=32 time10ms TTL=126 Reply from 172.16.1.11: bytes=32 time10ms TTL=126 Reply from 172.16.1.11: bytes=32 time10ms TTL=126 Reply from 172.16.1.11: bytes=32 time10ms TTL=126,注意事项,如果两台路由器通过串口直接互连,则必须在其中一端设置时钟频率(DCE)。,平湖职业中专欢迎您,

本站链接:文库   一言   我酷   合作


客服QQ:2549714901微博号:道客多多官方知乎号:道客多多

经营许可证编号: 粤ICP备2021046453号世界地图

道客多多©版权所有2020-2025营业执照举报