静态路由配置实验报告
篇一:计算机网络实验报告静态路由配置
实验报告八
班级:姓名: 学号:
实验时间:机房: 组号:机号:PC_B
一、实验题目
静态路由配置
二、实验设备
CISCO路由器,专用电缆,网线,CONSOLE线,PC机
三、实验内容
? 了解路由的功能
? 在CISCO路由器上配置和验证静态路由
? 配置缺省路由
四、原理
静态路由是指由网络管理员手工配置的路由信息。当网络的拓扑结构或链路的状态发生变化时,需要手工去修改路由表中相关的静态路由信息。静态路由信息在缺省情况下是私有的,不会传递给其他的路由器。静态路由一般适用于比较简单的网络环境,在这样的环境中,易于清楚地了解网络的拓扑结构,便于设置正确的路由信息。
五、实际步骤
,连接路由器,打开超级终端。
User Access Verification
Password:
5_R2>en
Password:
5_R2#conf t
Enter mands, one per line. End TL/Z. 5_R2(config)#int s0/1/0
5_R2(config-if)#no shut
5_R2(config-if)#interface s0/1/0
5_R2(config-if)#ip addr
% mand.
5_R2(config-if)#ip address
5_R2(config-if)#^Z
5_R2#conf t
Enter mands, one per line. End TL/Z. 5_R2(config)#int f0/1
5_R2(config-if)#ip address
5_R2(config-if)#^Z
5_R2#conf t
Enter mands, one per line. End TL/Z. 5_R2(config)#int f0/0
5_R2(config-if)#ip addr
5_R2(config-if)#no shutdown
5_R2(config-if)#
通,不能ping PC1
5_R2(config)#ip route
5_R2(config)#exit
5_R2#show ip rout
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, + - replicated route
Gateway of last resort is not set
is variably ted, 5 s, 2 masks
S [1/0] via
C is directly connected, 0/1
L is directly connected, 0/1
C is directly connected, 0/0
L
静态路由配置实验报告 来自淘豆网www.taodocs.com转载请标明出处.