没有合适的资源?快使用搜索试试~ 我知道了~
计算机网络原理实验【静态路由及RIP路由】.pdf
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 117 浏览量
2023-04-20
23:05:13
上传
评论
收藏 379KB PDF 举报
温馨提示
试读
15页
计算机网络原理实验【静态路由及RIP路由】.pdf
资源推荐
资源详情
资源评论
实验 4 报告
学号
实验名称
同组人
姓名 课堂号 01 实验日期
实验用时
指导教师
静态路由与 RIP 路由
一、实验目的
通过实验理解并掌握路由器的原理及配置方法,理解并掌握查看路由器系统及配置信息;掌握静态路
由方式实现网络的连通性。
二、实验要求
1.通过实验理解并掌握路由器的原理及配置方法,
2.理解并掌握查看路由器系统及配置信息;
3.掌握静态路由方式实现网络的连通性。
4. 掌握 RIP 路由方式实现网络的连通性。
三、实验环境(设备)
实验设备
路由器 2 台,PC2 台,直连线 1 根,交叉线 1 根,V.35 DCE/DTE 电缆 1 根
DTE
192.16.1.1/24
S1
(DCE)
192.16.3.1/24
PC1
S0
PC2
R2624-1 R2620-2
F0 F0
192.16.2.2/24
192.16.2.1/24
192.16.1.2/24
192.16.3.2/24
(一)静态路由
1、单击一个路由设备如:R2624-1 (4 口) R2620-2(1 口)
用 ctrl+C 中断要你输入的内容,
进入 Red-Giant>
2、路由器 R2624-1 配置
(1)配置 2624-1 的接口 f0
Red-Giant (config)#hostname R2624-1
R2624-1(config)#interface fastethernet ?
<0-3> FastEthernet interface number
R2624-1(config)#interface fastethernet 0
R2624-1(config-if)#ip address 192.16.3.1 255.255.255.0
R2624-1(config-if)#no shutdown
(2)配置 2624-1 的串口 s1
R2624-1(config)#interface serial 1
R2624-1(config-if)#ip address 192.16.2.1 255.255.255.0
R2624-1(config-if)#clock rate 64000(配置时钟,注意是 DCE 端)
R2624-1(config-if)#no shutdown
(3)验证路由器接口及串口配置:
R2624-1#Show ip interface brief
R2624-1#show interface serial 1
(4)配置静态路由
R2624-1(config)#ip route 192.16.1.0 255.255.255.0 serial 1(或者用下一跳 IP:192.16.2.2)
R2624-1#show ip route(查看路由)
3、路由器 2620-2 配置
Red-Giant>enable
Red-Giant#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Red-Giant (config)#hostname R2620-2
R2620-2(config)#
(1)查看路由器接口状态
R2620-2#show ip int brief
(2)配置接口 f0
R2620-2#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
R2620-2(config)#interface fa 0
R2620-2(config-if)#ip address 172.16.3.1 255.255.255.0
R2620-2(config-if)#no shutdown
(3)配置串口 s0
R2620-2(config)#inter serial 0
R2620-2(config-if)#ip address 172.16.2.2 255.255.255.0
R2620-2(config-if)#no shutdown
(4)验证接口、串口配置
R2620-2#Show ip interface brief
R2620-2#show interface serial 0
(5)静态配置
R2620-2(config)#ip route 172.16.4.0 255.255.255.0 serial 0(建议使用)
R2620-2#show ip route
4 测试
• 断开防火墙
• 断开第 1 块网卡连接
• 将 PC1 的内网卡 IP 设置成 192.16.3.2,掩码 255.255.255.0 网关 192.16.3.1
• 将 PC2 的内网卡 IP 设置成 192.16.1.2,掩码 255.255.255.0 网关 192.16.1.1
(请注意:R2620 和主机之间的连接需要使用交叉线)
• 测试互通性
• PC1 ping PC2
• PC2 ping PC1
(二)动态路由 RIP
1、路由器 R2624-1 配置
(1)配置 2624-1 的接口 f0
Red-Giant (config)#hostname R2624-1
R2624-1(config)#interface fastethernet ?
<0-3> FastEthernet interface number
R2624-1(config)#interface fastethernet 0
R2624-1(config-if)#ip address 192.16.3.1 255.255.255.0
R2624-1(config-if)#no shutdown
(2)配置 2624-1 的串口 s1
R2624-1(config)#interface serial 1
R2624-1(config-if)#ip address 192.16.2.1 255.255.255.0
R2624-1(config-if)#clock rate 64000(配置时钟,注意是 DCE 端)
R2624-1(config-if)#no shutdown
(3)验证路由器接口及串口配置:
R2624-1#Show ip interface brief
R2624-1#show interface serial 1
(4)配置 RIP 路由
R2624-1(config)#router rip
R2624-1(config-rip)#network 192.16.3.0
R2624-1(config-rip)#network 192.16.2.0
R2624-1#show ip route(查看路由)
3、路由器 2620-2 配置
Red-Giant>enable
Red-Giant#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
Red-Giant (config)#hostname R2620-2
R2620-2(config)#
(1)查看路由器接口状态
R2620-2#show ip int brief
(2)配置接口 f0
R2620-2#conf ter
Enter configuration commands, one per line. End with CNTL/Z.
R2620-2(config)#interface fa 0
R2620-2(config-if)#ip address 192.16.1.1 255.255.255.0
R2620-2(config-if)#no shutdown
(3)配置串口 s0
R2620-2(config)#inter serial 0
R2620-2(config-if)#ip address 192.16.2.2 255.255.255.0
R2620-2(config-if)#no shutdown
(4)验证接口、串口配置
R2620-2#Show ip interface brief
R2620-2#show interface serial 0
(5)RIP 路由配置
R2620-2(config)#router rip
R2620-2(config-rip)#network 192.16.1.0
R2620-2(config-rip)#network 192.16.2.0
附录:可使用的验证命令
1.show run
剩余14页未读,继续阅读
资源评论
hhappy0123456789
- 粉丝: 59
- 资源: 5万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 4399GameSem_116_13955_207551_6.apk
- python 3.9.19源码编译包
- php-8.2.18-Win32-vs16-x64.rar
- 字节跳动青训营-抖音项目
- SQL资料手册,语句教程,高级查询语句语法
- 上位机和串口建立 Modbus 协议进行数据传输,并使用 Mysql 数据库存储,能够实现实时温湿度显示和动态变化曲线,历史数据
- Attachment 1_chazhi.xlsx
- 安卓项目,实现虚拟摇杆通过wifi串口发送nema-0183协议实现小吊舱方向控制
- 基于modbus协议的大屏数据监控,使用modbus slave模拟数据,串口服务器获取温湿度
- 下载资源.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功