计算机网络原理静态路由,计算机网络原理实验【静态路由及RIP路由】.docx

学号

姓名

实验名称

同组人

实验4报告

课堂号

静态路由与RIP路由

01

实验日期

实验用时

指导教师

一、实验目的

通过实验理解并掌握路由器的原理及配置方法, 由方式实现网络的连通性。

二、实验要求

1.

理解并掌握查看路由器系统及配置信息;掌握静态路

2.

3.

4.

通过实验理解并掌握路由器的原理及配置方法, 理解并掌握查看路由器系统及配置信息; 掌握静态路由方式实现网络的连通性。

掌握RIP路由方式实现网络的连通性。

三、实验环境(设备)

实验设备

路由器2台,PC2台,直连线1根,交叉线

1根,

V.35 DCE/DTE 电缆 1 根

PC1 |192.16.3.1_/24—_

Ir" C CCC

S1 (DCE

F0 JR2624-1

192.16.2.1/24

DTE

'二邂16.1.1/24R2620-2 丿Eo

192.16.2.2/24

PC2

192.16.1.2/24

192.16.3.2/24

R2624-1 (4

R2624-1 (4 口)R2620-2( 1 口)

1、单击一个路由设备如:

用ctrl+C中断要你输入的内容,

进入 Red-Giant>

2、路由器 R2624-1配置

配置2624-1的接口 f0

Red-Gia nt (co nfig)#host name R2624-1

R2624-1(co nfig)#i nterface fastethernet ?

<0-3> FastEther net in terface nu mber

R2624-1(co nfig)#i nterface fastethernet 0

R2624-1(co nfig-if)#i p address 192.16.3.1 255.255.255.0

R2624-1(co nfig-if)# no shutdow n

配置2624-1的串口 s1

R2624-1(co nfig)#i nterface serial 1

R2624-1(co nfig-if)#i p address 192.16.2.1 255.255.255.0

R2624-1(co nfig-if)#clock rate 64000(配置时钟,注意是DCE端)

R2624-1(co nfig-if)# no shutdow n

(3 )验证路由器接口及串口配置:

R2624-1#Show ip in terface brief

R2624-1#show in terface serial 1

(4)配置静态路由

R2624-1(config)#iproute 192.16.1.0 255.255.255.0 serial 1 (或者用下一跳 IP: 192.16.2.2 )

R2624-1#show ip route(查看路由)

3、路由器2620-2配置

Red-Gia nt>e nable

Red-Gia nt#c onf ter

En ter con figurati on comma nds, one per line. End with CNTL/Z.

Red-Gia nt (co nfig)#host name R2620-2

R2620-2(co nfig)#

(1)查看路由器接口状态

R2620-2#show ip int brief

(2 )配置接口 f0

R2620-2#co nf ter

En ter con figurati on comma nds, one per line. End with CNTL/Z.

R2620-2(co nfig)#i nterface fa 0

R2620-2(co nfig-if)#i p address 172.16.3.1 255.255.255.0

R2620-2(co nfig-if)# no shutdow n

(3 )配置串口 s0

R2620-2(co nfig)#i nter serial 0

R2620-2(co nfig-if)#i p address 172.16.2.2 255.255.255.0

R2620-2(co nfig-if)# no shutdow n

(4 )验证接口、串口配置

R2620-2#Show ip in terface brief

R2620-2#show in terface serial 0

(建议使用)(5 )静态配置

(建议使用)

R2620-2(co nfig)#ip route 172.16.4.0 255.255.255.0 serial 0

R2620-2#show ip route

4测试

? 断开防火墙

? 断开第1块网卡连接

网关 192.16.3.1网关 192.1

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值