本实验对RIP协议进行基本的配置,涉及到配置RIP协议所必须的命令和常用的监测命令。
  
  1.实验目的
  
  通过本实验,读者可以掌握以下技能:
  在路由器上启动RIP协议;
  声明相应网络进入RIP路由进程;
  查看路由表并理解相关字段含义;
  查看RIP协议配置信息;
  监测RIP协议相关信息。
  
  2.设备需求
  
  本实验需要以下设备:
  Cisco路由器3台,分别命名为R1、R2和R3,均要求具有1个以太网接口和2个串行接□;
  3条DCE电缆和3条DTE电缆,或3条DCE转DTE电缆;
  1台终端服务器,如Cisco 2509路由器。及用于反向Telnet的相应电缆;
  1台带有超级终端程序的PC机,以及Console电缆及转接器。
  
  3.拓扑结构及配置说明
  
  本实验拓扑结构如图5.1所示,首先把DCE电缆和DTE电缆进行对接,共组成3对电缆。然后用这3对电缆把R1和R2"RE和R3、R2和R3分别连接起来。各路由器使用的接口及其编号见图5.1中的标注。
  IP地址分配如下:
  R1: E0 172.16.1.1, 50 172.16.12.1, 51 172.16.13.1;
  R2: E0 172.16.2.2, 50 172.16.12.2, 51 172.16.23.2;
  R3: E0 172.16.3.3, 50 172.16.13.3, 51 172.16.23.30
  子网掩码均为 255.255.255.00
  
  实验中R、R2之间和R、R3之间的串行线路速率设置为5OOkbit/s;R2、R3之间的串行线路速率设置为64kbit/s。
  本实验要求通过对RIP路由选择协议的配置,实现全网的连通。
  
  4.实验配置及监测结果
  
  实验环境准备就绪后,打开PC机、访问服务器和路由器的电源。开始进行实验。
  现在假设我们不知道各路由器串行接口所连接的电缆是DCE电缆还是DTE电缆,同时路由器的E0接口均没有连接任何设备。在这样的基础上开始配置3台路由器,并启动RIP路由选择协议。
  具体配置过程如配置清单5-1、5-2所示,配置清单后有详细的讲解。
  
  配置清单5-1配置以太网接口和串行接口
  
  第1段:配置R1网络接口
  R1#
  R1#show controllers serial 0
  HD unit 0, idb = 0x95659C, driver stmcture at 0x95C910
  buffer size 1524 HD unit 0, V.35 DCE cable
  cpb = 0xE2, eda = 0x2904, cda = 0x2918
  RX ring with 16 entries at OxE22800
  00 bd_ptr==0x2800 pak=0x95DB94 ds=0xE25A4C status==80 pak_size=22
  01 bd_ptr=0x2814 pak=0x960328 ds=0xE2CCC8 status=80 pak_size=22
  ...(类似内容,省略多行)
  0 missed datagrams, 0 overruns
  0 bad datagram encapsulations, 0 memory errors
  0 transmitter underruns
  0 residual bit errors
  R1#sh controllers ser 1
  HD unit 1, idb = 0x961614, driver structure at 0x967988
  buffer size 1524 HD unit 1,
  cpb = 0xE3, eda = 0x850, cda = 0x864
  RX ring with 16 entries at OxE30800
  00 bd_ptr=0x0800 pak=Ox9690B4 ds==OxE34E80 status=80 pak_size=22
  ...(类似内容,省略多行)
  01 bd__ptr=0xl014 pak=0x000000 ds=0xE22EA4 status=80 pak_size=22
  0 missed datagrams, 0 overruns
  0 bad datagram encapsulations, 0 memory errors
  0 transmitter underruns
  0 residual bit errors
  R1#conft
  Enter configuration commands, one per line. End with CNTL/Z.
  R1(config)#no logg con
  R1config#int e0
  R1(config-if)#ip addr 172.16.1.1255.255.255.0
  R1(config-if)#no keepalive
  R1(config-if)#no shut
  R1(config-if)#mt sO
  R1(config-if)#ip addr 172.16.12.1
  R1(config-if)#clockrate 500000
  R1(config-if)#no sh
  R1(config-if)#bandwidth 500
  R1(config-if)#int si
  R1(config-if)#ip addr 172.16.13.1
  R1(config-if)#clockrate 500000
  R1(config-if)#no sh
  R1(config-if)#bandwidth 500
  R1(config-if)#^Z
  R1#
  R1#sh int s0
  Seria10 is down,line protocol is down
   Hardware is HD64570
  Internet address is 172.16.12.1/24
  MTU 1500 bytes, BW 500 Kbit, DLY 20000 usec,
   reliability 255/255, txioad 1/255, rxioad 1/255
  Encapsulation HDLC, loopback not set
  Keepalive set (10 sec)
  Last input 00:01:44, output 00:01:46, output hang never
  Last clearing of "show interface" counters 00:00:02
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue :0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
   0 packets input, 0 bytes, 0 no buffer
   Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
   0 input errors, 0 CRC,0 frame, 0 overrun, 0 ignored, Ollort
   0 packets output, 0 bytes, 0 underruns
   0 output errors, 0 collisions, 0 interface resets
   0 output buffer failures, 0 output buffers swapped out
   0 carrier transitions
   DCD=up DSR=up DTR=down RTS=down CTSsup
  第2段:配置R2网络接口
  Term_Server>2
  [Resuming connection 2 to R2 ...]
  R2#sh contr ser 0
  HD unit 0, idb = Oxl4DF9C, driver structure at 0x154310
  buffer size 1524 HD unit 0, V.35 DTE cable
  cpb = 0x1, eda = 0x4878, cda == Ox488C
  RX ring with 16 entries at 0x4014800
  00 bd@ptr=0x4800 pak=Oxl557E8 ds=Ox40187C4 status=80 pak_size=22
  ...(类似内容,省略多行)
  0 missed datagrams, 0 overruns
  0 bad datagram encapsulations, 0 memory errors
  0 transmitter underruns
  0 residual bit errors
  R2#sh ser 1
  HD unit 1, idb == 0x159014, driver structure at 0x15F388
  buffer size 1524 HD unit 1,
  cpb = 0x2, eda = 0x3140, cda = 0x3000
  RX ring with 16 entries at 0x4023000
  00 bd_ptr==0x3000 pak=Oxl62B4C ds=Ox402CEOC status=80 pak_size=0
  ...(类似内容,省略多行)
  0 missed datagrams, 0 overruns
  0 bad datagram encapsulations, 0 memory errors
  0 transmitter underruns
  0 residual bit errors
  
  R2#conft
  Enter configuration commands, one per line. End with CNTL/Z.
  R2(config)#iso logg con
  R2(config)#int e0
  R2(config-if)#ip addr 172.16.2.2
  R2(config-if)#eo keepalive
  R2(config-if)#no sh
  R2(config-if)#lnt sO
  R2(config-if)#ip addr 172.16.12.2
  R2(config-if)#no sh
  R1(config-if)#bandwidth 500
  R2(config-if)#int s1
  R2(config-if)#ip addr 172.16.23@2
  R2(config-if)#clockr 64000
  R2(config-if)#no sh
  R1(config-if)#baiidwldth 64
  R2(config-if)#end
  R2#pmg 172.16.12.1
  
  Type escape sequence to abort.
  Sending 5,100-byte ICMP Echos to 172.16.12.1,timeout is 2 seconds:
  !!!!!
  R2#
  第3段:配置R3网络接口
  Term_Server>3
  [Resuming connection 3 to R3 ... ]
  
  R3#conft
  Enter configuration commands, one per line. End with CNTL/Z.
  R3(config)#no logg con
  R3(config)#int e0
  R3(config-if)#ip addr 172.16.3.3 255.255.255.0
  R3(config-if)#no keepalive
  R3(config-if)#no sh
  R3(config-if)#int s0
  R3(config-if)#ip addr 172.16.13.3 255.255.255.0
  R3(config-if)#no sh
  R1(config-if)#bandwidth 500
  R3(config-if)#int si
  R3(config-if)#ip addr 172.16.23.3 255.255.255.0
  R1(config-if)#bandwidth 64
  R3(config-if)#end
  R3#ping 172.16.13.1
  
  Type escape sequence to abort.
  Sending 5,100-byte ICMP Echos to 172.16.13.1,timeout is 2 seconds:
  !!!!!
  Success rate is 100 percent (5/5),<

转载于:https://blog.51cto.com/lanyue24/31292

RIP协议的基本配置(1)相关推荐

  1. 计算机通信网络实验(三) RIP协议原理及配置

    相关软件链接: wireshark 链接:https://pan.baidu.com/s/1cboYrF80eoNUsk23cyNsDQ 提取码:riik prckettracer 链接:https: ...

  2. RIP协议介绍及配置

    RIP协议 1. 动态路由介绍 2. 什么是距离矢量算法 3. RIP协议 3.1 原理 3.2 版本 3.3 开销 3.4 计时器 3.5 配置思路 3.6 环路 3.6.1 三层抗环 3.6.2 ...

  3. 思科仿真实验--RIP协议动态路由配置

    思科仿真实验–RIP动态路由 实验设备 PC 2 台:Switch_3560 1 台:Router-PT 2 台:直连线:交叉线:DCE 串口线 设备配置情况 PC1 IP: 192.168.1.2 ...

  4. 华为路由器RIP协议通信的配置

    路由器1的配置: interface Eth-Trunk1         #作端口聚合配置  ip address 192.168.1.1 255.255.255.0 interface Ether ...

  5. eNSP RIP协议

    拓扑结构图: 首先配置三台PC机的IP,子网掩码和网关: PC1: 1.0.0.1 255.255.255.0 1.0.0.254 PC2: 2.0.0.1 255.255.255.0 2.0.0.2 ...

  6. java 模拟rip协议,rip协议java实现

    实验三 RIP 协议原理及配置 姓名: 学号: 日期: 一.实验目的 1.掌握动态路由协议的作用及分类. 2.掌握距离矢量路由协议的简单工作原理. 3.掌握 RIP 协议...... 技术文件通信网络 ...

  7. cisco路由器基本实验之三 动态路由之RIP协议的配置(Boson NetSim)

    言归正传,Boson Netsim的实验规划,默认路由下一个实验应该是RIP协议的配置.众所周知,RIP(Routing Information Protocol),即路由信息协议,它与IGRP,OS ...

  8. 华为ar2200路由器 策略路由_路由交换篇 06 华为路由器RIP协议的配置

    任务2 RIP路由协议的配置 ■ 任务背景 某大型企业已有12台路由器,需要组建内部网络实现资源共享,考虑公司规模较大不适合采用静态路由组网,工程师对公司的实际情况进行了分析:1.路由跳数较多,不适合 ...

  9. GNS3的RIP协议的动态路由配置

    我们平时使用GNS3时,需要在路由器上配置静态路由或是默认路由,但这只适用于路由条目较少的情况下使用.若是路由条目过多,再去配置静态路由就会很麻烦,而且也容易出错,这时我们就需要用到动态路由了.在动态 ...

最新文章

  1. java网络编程udp_java网络编程 UDP网络编程问题
  2. $.fn.extend简单学习
  3. Win2008支持PowerShell设置方法
  4. linux tar命令 打包 解压
  5. 六年磨一剑 Novell转身云计算架构供应商
  6. 1_STM32cubeIDE_黑色主题修改图标,vscode代码模板制作,GPIO(通用输入输出)
  7. directoryinfo 读取 映射磁盘_LoaRunner性能测试系统学习教程:磁盘监控(5)
  8. ISE14.7兼容性问题集锦
  9. sqlserver中常用的几个存储过程
  10. 路由器网络性能测试软件,路由器性能测试
  11. spark 性能优化
  12. opencv 图像傅里叶变换
  13. ios笔记一 追加数据
  14. Android及其他平台音频开源库介绍
  15. 创建自定义Excel模板
  16. 丹佛大学计算机专业,丹佛大学计算机工程排名第79(2020年TFE美国排名)
  17. 微型计算机与巨型计算机相比,微型计算机的特点及应用
  18. 【原创】《华杉讲透《孙子兵法》》阅读有感(三)
  19. 问题解决丨对不起,小米路由器出现网络连接问题无法打开网页
  20. jsp来实现 验证码 登录案例 有图 有码

热门文章

  1. Visual Studio2005的加载此属性页时出错的解决办法(转)
  2. 定制化Azure站点Java运行环境(2)
  3. Linux下 memcached安装以及启动
  4. 「linux」win+linux 双系统 默认启动项 的修改
  5. 巧用close_trace命令释放误删trace文件
  6. Mac mysql sql_model引起的问题
  7. 第一个django项目-通过命令行和pycharm两种方式
  8. 【基础】EM 还是 REM?这是一个问题!
  9. 每个人都应该知道的25个大数据术语
  10. 年终盘点篇:2018年开源市场5大发展趋势