为了正常的体验网站,请在浏览器设置里面开启Javascript功能!

神舟数码4.4、路由协议-RIP.

2022-12-24 25页 ppt 296KB 4阅读

用户头像 个人认证

is_680896

暂无简介

举报
神舟数码4.4、路由协议-RIP.RIP动态路由选择协议距离矢量路由协议RIP协议传递路径信息以跳步数衡量路径优劣容易形成路由环路不支持自治系统链路状态路由协议OSPF协议传递链路状态信息以花销大小衡量路径优劣不会形成路由环路支持自治系统混合型路由协议DEIGRP协议传递路径信息和邻居信息等以复合型的度量值衡量路径优劣不会形成路由环路支持自治系统RIP协议概述每台路由器会定期向直连路由器发送全部的路由表每台路由器接收到此路由表之后填充自己的路由表,之后定期发送给周边其他路由器路由器之间根据得到的路由表信息更新自己的路由表1\=2\=3\=4路由表路由表路由表路...
神舟数码4.4、路由协议-RIP.
RIP动态路由选择距离矢量路由协议RIP协议传递路径信息以跳步数衡量路径优劣容易形成路由环路不支持自治系统链路状态路由协议OSPF协议传递链路状态信息以花销大小衡量路径优劣不会形成路由环路支持自治系统混合型路由协议DEIGRP协议传递路径信息和邻居信息等以复合型的度量值衡量路径优劣不会形成路由环路支持自治系统RIP协议概述每台路由器会定期向直连路由器发送全部的路由表每台路由器接收到此路由表之后填充自己的路由表,之后定期发送给周边其他路由器路由器之间根据得到的路由表信息更新自己的路由表1\=2\=3\=4路由表路由表路由表路由表123410.1.1.010.1.2.010.1.3.010.1.4.010.1.5.0RouterARouterBRouterCRouterD.1.1.1.2.2.2RIP协议路由发现过程NETVIAHOPS10.1.1.0--010.1.2.0--0NETVIAHOPS10.1.2.0--010.1.3.0--0NETVIAHOPS10.1.3.0--010.1.4.0--0NETVIAHOPS10.1.4.0--010.1.5.0--0NETVIAHOPS10.1.1.0--010.1.2.0--010.1.3.010.1.2.2110.1.4.010.1.2.22NETVIAHOPS10.1.2.0--010.1.3.0--010.1.1.010.1.2.1110.1.4.010.1.3.2110.1.5.010.1.3.22NETVIAHOPS10.1.3.0--010.1.4.0--010.1.2.010.1.3.1110.1.5.010.1.4.2110.1.1.010.1.3.12NETVIAHOPS10.1.4.0--010.1.5.0--010.1.3.010.1.4.1110.1.2.010.1.4.12NETVIAHOPS10.1.1.0--010.1.2.0--010.1.3.010.1.2.2110.1.4.010.1.2.2210.1.5.010.1.2.23NETVIAHOPS10.1.2.0--010.1.3.0--010.1.1.010.1.2.1110.1.4.010.1.3.2110.1.5.010.1.3.22NETVIAHOPS10.1.3.0--010.1.4.0--010.1.2.010.1.3.1110.1.5.010.1.4.2110.1.1.010.1.3.12NETVIAHOPS10.1.4.0--010.1.5.0--010.1.3.010.1.4.1110.1.2.010.1.4.1210.1.1.010.1.4.13t0t2t3NETVIAHOPS10.1.1.0--010.1.2.0--010.1.3.010.1.2.21NETVIAHOPS10.1.2.0--010.1.3.0--010.1.1.010.1.2.1110.1.4.010.1.3.21NETVIAHOPS10.1.3.0--010.1.4.0--010.1.2.010.1.3.1110.1.5.010.1.4.21NETVIAHOPS10.1.4.0--010.1.5.0--010.1.3.010.1.4.11t130秒定期发送更新报文520……端口号UDP报文255.255.255.255目的IP地址FFFFFFFFFFFF目的MAC地址数据链路层帧。。。。。。NETVIAHOPS10.1.2.0--010.1.3.010.1.2.2110.1.4.010.1.2.2210.1.5.010.1.2.2310.1.1.010.1.2.2INF180秒没收到过有关这个网络的更新路由了再过120秒如果还没有更新报文则从路由表中删除RIP协议原理请求报文广播本地路由表响应报文本地路由表响应报文形成路由表11路由表1广播形成路由表2形成路由表3223455RIP路由表的初始化NET1NET3。。。。。。R1R2R3R4RnNET2目的网络下一跳跳数NET1R22NET2R26目的网络跳数NET23NET35目的网络跳数NET116响应报文响应报文目的网络下一跳跳数NET1R216NET2R34NET3R36RIP路由表的更新RIP协议的版本RIP版本1路由信息以广播方式发送不支持VLSM—有类别路由协议不支持验证更新RIP版本2路由信息以组播方式发送—224.0.0.9支持VLSM—无类别路由协议支持验证更新RIP配置任务序列:1.启动RIP协议(必须)(1)启动RIP模块/关闭RIP模块(2)配置运行RIP协议的网段2.配置RIP协议参数(可选)(1)配置RIP发包机制1)配置RIP数据报的定点发送2)配置RIP接口广播(2)配置RIP路由参数1)配置引入路由(缺省路由权值、配置RIP中引入其它协议的路由)2)配置接口的验证模式及密码3)配置路由偏移4)配置应用路由过滤5)配置水平分割(3)配置RIP协议其它参数1)配置RIP路由管理距离2)配置路由表中RIP路由的数目限制3)配置RIP更新、超时、抑制等计时器时间4)配置RIPUDP接收缓冲区大小3.配置RIP-I/RIP-II模式切换(1)配置所有接口使用的RIP版本(2)配置接口发送/接收的RIP版本(3)配置接口是否发送/接收RIP数据报启动RIP协议命令解释全局配置模式routerripnorouterrip打开RIP协议;本命令的no操作关闭RIP协议。路由器与地址族配置模式network<A.B.C.D/M|ifname>nonetwork<A.B.C.D/M|ifname>设定运行RIP协议的网段;本命令的no操作为删除运行RIP协议的网段。配置RIP-I/RIP-II模式切换RIP协议配置模式version{1|2}noversion设置所有三层交换机接口发送/接收RIP数据报的版本;no操作恢复缺省设置,即发送版本,接收版本1和2的数据报。接口配置模式ipripsendversion{v1|v2[bc|mc]}noipripsendversion设置接口发送RIP数据报版本;本命令的no操作恢复缺省设置,即发送版本2。ipripreceiveversion{v1|v2|v12}noipripreceiveversion设置接口接收RIP数据报版本;本命令的no操作恢复缺省设置,即接收版本1和版本2的RIP数据报。RIP实验PC#1:192.168.1.100Switch20/0/1Switch1PC#2:192.168.2.100VLAN10:192.168.1.1VLAN10:192.168.2.10/0/1RIP:VLAN20192.168.10.1-2Switch1Switch(Config)#vlan20Switch(Config-Vlan20)#switchportinterfaceethernet0/0/1Switch(Config)#vlan10Switch(Config-Vlan10)#switchportinterfaceethernet0/0/10-20Switch(Config)#interfacevlan10Switch(Config-If-Vlan10)#ipaddress192.168.1.1255.255.255.0Switch(Config)#interfacevlan20Switch(Config-If-Vlan20)#ipaddress192.168.10.1255.255.255.0Switch(Config)#routerripSwitch(Config-router-rip)#exitSwitch(config-router)#networkvlan10Switch(config-router)#networkvlan20Switch2Switch(Config)#vlan20Switch(Config-Vlan20)#switchportinterfaceethernet0/0/1Switch(Config)#vlan10Switch(Config-Vlan10)#switchportinterfaceethernet0/0/10-20Switch(Config)#interfacevlan10Switch(Config-If-Vlan10)#ipaddress192.168.2.1255.255.255.0Switch(Config)#interfacevlan20Switch(Config-If-Vlan20)#ipaddress192.168.10.2255.255.255.0Switch(Config)#routerripSwitch(Config-router-rip)#exitSwitch(config-router)#networkvlan10Switch(config-router)#networkvlan20使用show命令查看showiprouteshowipripshowipprotocolsRIP:VLAN20192.168.10.1-3RIP实验PC#1:192.168.1.100Switch20/0/1Switch1Switch3PC#3:192.168.3.100PC#2:192.168.2.100VLAN10:192.168.1.1VLAN10:192.168.3.1VLAN10:192.168.2.10/0/10/0/10/0/2Switch1Switch(Config)#vlan20Switch(Config-Vlan20)#switchportinterfaceethernet0/0/1Switch(Config)#vlan10Switch(Config-Vlan10)#switchportinterfaceethernet0/0/10-20Switch(Config)#interfacevlan10Switch(Config-If-Vlan10)#ipaddress192.168.1.1255.255.255.0Switch(Config)#interfacevlan20Switch(Config-If-Vlan20)#ipaddress192.168.10.1255.255.255.0Switch(Config)#routerripSwitch(config-router)#networkvlan10Switch(config-router)#networkvlan20Switch2Switch(Config)#vlan20Switch(Config-Vlan20)#switchportinterfaceethernet0/0/1-2Switch(Config)#vlan10Switch(Config-Vlan10)#switchportinterfaceethernet0/0/10-20Switch(Config)#interfacevlan10Switch(Config-If-Vlan10)#ipaddress192.168.2.1255.255.255.0Switch(Config)#interfacevlan20Switch(Config-If-Vlan20)#ipaddress192.168.10.2255.255.255.0Switch(Config)#routerripSwitch(config-router)#networkvlan10Switch(config-router)#networkvlan20Switch3Switch(Config)#vlan20Switch(Config-Vlan20)#switchportinterfaceethernet0/0/1Switch(Config)#vlan10Switch(Config-Vlan10)#switchportinterfaceethernet0/0/10-20Switch(Config)#interfacevlan10Switch(Config-If-Vlan10)#ipaddress192.168.3.1255.255.255.0Switch(Config)#interfacevlan20Switch(Config-If-Vlan20)#ipaddress192.168.10.3255.255.255.0Switch(Config)#routerripSwitch(config-router)#networkvlan10Switch(config-router)#networkvlan20使用show命令查看showiprouteshowipripshowipprotocolsRIP实验PC#1:192.168.1.100Switch20/0/1Switch1Switch3PC#3:192.168.3.100PC#2:192.168.2.100VLAN10:192.168.1.1VLAN10:192.168.3.1VLAN10:192.168.2.10/0/10/0/10/0/2RIP:VLAN30192.168.30.1-3RIP:VLAN20192.168.10.1-3Switch1Switch(Config)#vlan10Switch(Config-Vlan10)#switchportinterfaceethernet0/0/10-20Switch(Config)#vlan20Switch(Config-Vlan20)#switchportinterfaceethernet0/0/1Switch(Config)#interfacevlan10Switch(Config-If-Vlan10)#ipaddress192.168.1.1255.255.255.0Switch(Config)#interfacevlan20Switch(Config-If-Vlan20)#ipaddress192.168.10.1255.255.255.0Switch(Config)#routerripSwitch(config-router)#networkvlan10Switch(config-router)#networkvlan20Switch2Switch(Config)#vlan10Switch(Config-Vlan10)#switchportinterfaceethernet0/0/10-20Switch(Config)#vlan20Switch(Config-Vlan20)#switchportinterfaceethernet0/0/1Switch(Config)#vlan30Switch(Config-Vlan30)#switchportinterfaceethernet0/0/2Switch(Config)#interfacevlan10Switch(Config-If-Vlan10)#ipaddress192.168.2.1255.255.255.0Switch(Config)#interfacevlan20Switch(Config-If-Vlan20)#ipaddress192.168.10.2255.255.255.0Switch(Config)#interfacevlan30Switch(Config-If-Vlan30)#ipaddress192.168.30.2255.255.255.0Switch(Config)#routerripSwitch(config-router)#networkvlan10Switch(config-router)#networkvlan20Switch(config-router)#networkvlan30Switch3Switch(Config)#vlan10Switch(Config-Vlan10)#switchportinterfaceethernet0/0/10-20Switch(Config)#vlan30Switch(Config-Vlan30)#switchportinterfaceethernet0/0/1Switch(Config)#interfacevlan10Switch(Config-If-Vlan10)#ipaddress192.168.3.1255.255.255.0Switch(Config)#interfacevlan30Switch(Config-If-Vlan30)#ipaddress192.168.30.3255.255.255.0Switch(Config)#routerripSwitch(config-router)#networkvlan10Switch(config-router)#networkvlan30使用show命令查看showiprouteshowipripshowipprotocols
/
本文档为【神舟数码4.4、路由协议-RIP.】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。 本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。 网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。

历史搜索

    清空历史搜索