OSPF协议基本命令的配置.docVIP

  • 20
  • 0
  • 约3.9千字
  • 约 10页
  • 2015-08-23 发布于河南
  • 举报
实验报告15 课程名称 核心路由交换技术 实验名称 OSPF协议实现网络互连 姓名 李小允 学号 1145492453 班级 网2 实 验 目 的 【实验目的】 【背景描述】 假设校园网通过1台三层交换机连接到校园网出口路由器,路由器连接到校园外的另1台路由器上,现要在路由器上做适当配置,实现校园网内部主机与校园网外部的相互通信。 【实现功能】 实现网络的互连互通,从而实现信息的共享和传递。 实 验 内 容 及 要 求 【使用设备】 设备类型 设备名称 设备数量 交换机 路由器 router 2 三层交换机 Switch 1 双绞线 4 计算机 pc 2 【工作原理】 【注意事项】 实验拓扑图 该实验所需要的简单实验拓扑。请用模拟器做完所有的实验步骤之后再截图,要求在图上标注配置,包括路由器的各个接口、对应ip 和掩码;PC的网关、ip和掩码。 实验步骤及命令清单 本次实验步骤对锐捷机架真实设备和思科模拟器均可。本案例以两台R2624路由器、1台三层交换机为例。S3550上划分有VLAN10和VLAN50,其中VLAN10用于连接Router1,VLAN50用于连接校园网主机。路由器分别命名为Router1和Router2,路由器之间用过串口采用V35 DCE/DTE电缆连接,DCE端连接到Router1上。PC1的IP地址和缺省网关分别为172.16.5.11和172.16.5.1,PC2的IP地址和缺省网关分别为172.16.3.22和172.16.3.1,网络掩码都是255.255.255.0. 实验步骤:S3760#configure terminal S3760(config)#VLan 10 S3760(config-vlan)# exit S3760(config)#Vlan 50 S3760(config-vlan)#exit S3760(config)#interface fastEthernet 0/1 S3760(config-if)#switchport access vlan 10 S3760(config-if)#exit S3760(config)#interface fastEthernet 0/5 S3760(config-if)#switchport access vlan 50 S3760(config-if)#exit S3760(config)#interface vlan 10 S3760(config-if)#ip address 172.16.1.2 255.255.255.0 S3760(config-if)#no shutdown S3760(config-if)#exit S3760(config)#interface vlan 50 S3760(config-if)#ip address 172.16.5.1 255.255.255.0 S3760(config-if)#no shutdown S3760(config-if)#exit 验证测试: S3760#show vlan S3760#show ip interface 截图只需关键部分 步骤3路由器基本配置 RSR20_1#conf RSR20_1 (config)#hostname router1 router1(config)#interface fastEthernet 0 router1(config-if)#ip address 172.16.1.1 255.255.255.0 router1(config-if)#no shutdown router1(config-if)#exit router1(config)#interface serial 0 router1(config-if)#ip address 172.16.2.1 255.255.255.0 Router1(config-if)#clock rate 64000 如果Router1是DCE端的话。 router1(config-if)#no shutdown router1(config-if)#exit RSR20_2enable RSR20_2#conf router2(config)#interface serial 0 router2(config-if)#ip address 172.16.2.2 255.255.255.0 router2(config-if)#no shutdown router2(config-if)#clock rate 64000 如果Router2是DCE端的话。 router2(config-if)#exit router2(config)#in

文档评论(0)

1亿VIP精品文档

相关文档