- 3
- 0
- 约1.7万字
- 约 16页
- 2018-12-15 发布于安徽
- 举报
实用标准文案
精彩文档
实验三 路由协议
实验3.1 静态路由
【实验名称】
静态路由
【实验目的】
掌握通过静态路由方式实现网络的连通性
【背景描述】
假设校园网通过一台路由器连接到校园外的另一台路由器上,现要在路由器上做适当配置,实现校园网内部主机与校园网外部主机的相互通信。
【实现功能】
实现网络的互连互通,从而实现信息的共享和传递
【实验拓扑】
172.16.1.0/24 172.16.2.0/24 172.16.3.0/24
Router1 Router2
PC1 11 1 1 2 2 22 PC2
【实验设备】
R2624 (2 台)、V35 DTE 线缆(1 根)、V35 DCE 线缆(1 根)
【实验步骤】
第一步:在路由器Router1 上配置接口的IP 地址和串口上的时钟频率
Router1(config)# interface fastethernet 0 !进入接口F0 的配置模式
Router1(config-if)# ip address 172.16.1.1 255.255.255.0 !配置路由器接口F0 的IP 地址
Router1(config)# no shutdown !开启路由器fastethernet0 接口
!
Router1(config)# interface serial 0 !进入接口S0 配置模式
Router1(config-if)# ip address 172.16.2.1 255.255.255.0 !配置路由器接口S0 的IP 地
址
Router1(config-if)#clock rate 64000 !配置Router1 的时钟频率(DCE )
Router1(config)# no shutdown !开启路由器fastethernet0 接口
验证测试:验证路由器接口的配置
Router1#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0 172.16.1.1 YES manual up up
Serial0 172.16.2.1 YES manual down down
Serial1 unassigned YES unset administratively down down
Router1#show interface serial 0
Serial0 is down, line protocol is down
Hardware is HDLC4530A
Internet address is 172.16.2.1/24
MTU 1500 bytes, BW 2048 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input never, output never, output hang never
Last clearing of show interface counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/64/0 (size/threshold/drops)
Conversations 0/0 (active/max active)
Reserved Conversations 0/0 (allocated/max allocated)
5 minute input rate 0
原创力文档

文档评论(0)