版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、小型校园网的设计与组建实验报告一实验目的计算机网络是一门实践性较强的技术,课堂教学应该和实践环节紧密结合。计算机网络实验培养学生具有独立进行计算机网络架构和设计能力,提高学生的网络设备使用水平,以及将理论与实践相结合的能力。二实验环境及设备2台路由器、2台交换机、3台pc机三实验的内容和要求根据要求,设计并搭建一个校园网。要求进行子网划分和结构设计,并将网络结构建立起来。最后完成网络设备的调试。四实验说明某大学分为总校和分校,为该校设计校园网,总校有一个局域网共20台计算机,分校由vlan划分为两个局域网,分别有10台计算机。该校被分配了一个c类网段210.100.10.0,总校和分校各有一台
2、路由器及一台交换机。请进行网络设计,将总校和分校各个局域网连接起来。根据要求,设计ip地址分配表,设计网络结构,画出网络拓扑图。根据设计搭建网络结构。配置网络设备,完成网络调试。提示:1)使用ip子网掩码的原理设计ip地址分配表。 2)用到的设备为两台路由器,以及两台交换机。五实验设计一、 设计思路总校局域网20台计算机,分校2个局域网各有10台计算机,若要满足要求,则至少需要5位主机位,即大小为25=32台主机的局域网。由于是c类网段,最后8计算机id码5位用作主机号,还有3位可以用作子网号,即可以划分23-2=6个子网(000和111不可用作子网号),因此子网掩码为255.255.255.
3、224(1111 1111.1111 1111.1111 1111.1110 0000)。而总校、分校各个局域网只需从6个子网中任选其一并且不重复即可。由此可以设计ip分配表如下二、 ip分配表用途网段网络号子网掩码子网号起始ip地址结束ip地址总校网1210.100.10.32255.255.255.224001210.100.10.33210.100.10.62路由器间2210.100.10.64255.255.255.224010210.100.10.65210.100.10.94分校网13210.100.10.96255.255.255.224011210.100.10.97210.1
4、00.10.126分校网24210.100.10.128255.255.255.224100210.100.10.129210.100.10.158三、拓扑结构routerarouterbswitchaswitchbpc111111pc2pc3ip:210.100.10.40255.255.255.224210.100.10.33ip:210.100.10.98255.255.255.224210.100.10.97ip:210.100.10.130255.255.255.224210.100.10.129f0:210.100.10.33s0:210.100.10.65f0:210.100.1
5、0.97f0:210.100.10.129s0:210.100.10.66网段2:210.100.10.64/27网段1:210.100.10.32/27网段3:210.100.10.96/27网段4:210.100.10.128/27六实验配置本人做主校交换机和路由器配置主校交换机配置switchaen 14password:switcha#configure terminalenter configuration commands, one per line. end with cntl/z.switcha(config)#vlan 30/创建vlanswitcha(config-vlan
6、)#exitswitcha(config)#exitswitcha#configureenter configuration commands, one per line. end with cntl/z.switcha(config)#interface range fastethernet 0/1-20/将1-20端口划入vlan30中switcha(config-if-range)#switchport access vlan 30switcha(config-if-range)#exitswitch (config)# interface fastethernet 0/24 switc
7、h (config-if)# switchport mode trunk !配置trunk端口switch (config-if)# endswitcha(config)#exitswitcha#show vlan/对switcha的配置进行验证vlan name status ports- - - -1 default active fa0/21,fa0/22,fa0/23,fa0/24, 30 vlan0030 active fa0/1 ,fa0/2 ,fa0/3 ,fa0/4 fa0/5 ,fa0/6 ,fa0/7 ,fa0/8 fa0/9 ,fa0/10,fa0/11,fa0/12 f
8、a0/13,fa0/14,fa0/15,fa0/16 fa0/17,fa0/18,fa0/19,fa0/20 fa0/24switcha#press return to get started!主校路由器配置r2632en 14password:r2632#configure terminalenter configuration commands, one per line. end with cntl/z.r2632(config)#show ip interface brief/查看路由器的端口interface ip-address(pri) ok? statusserial 4/0
9、no address yes downserial 4/1 no address yes downfastethernet 3/0 no address yes downfastethernet 3/1 no address yes downnull 0 no address yes upr2632(config)#interface fastethernet 3/0.30r2632(config-subif)#encapsulation dot1q 30r2632(config-subif)#ip address 210.100.10.33 255.255.255.224r2632(conf
10、ig-subif)#exitr2632(config)#show ip interface briefinterface ip-address(pri) ok? statusserial 4/0 no address yes downserial 4/1 no address yes downfastethernet 3/0.30 210.100.10.33/27 yes downfastethernet 3/0 no address yes downfastethernet 3/1 no address yes downnull 0 no address yes upr2632(config
11、)#exitr2632#configured from console by consoler2632#conenter configuration commands, one per line. end with cntl/z.r2632(config)#interface serial 4/0r2632(config-if)#ip adr2632(config-if)#ip address 210.100.10.65 255.255.255.224/设置交换机ip地址和子网掩码r2632(config-if)#no shutdownr2632(config-if)#endr2632#con
12、figured from console by consoler2632#show ip interface briefinterface ip-address(pri) ok? statusserial 4/0 210.100.10.65/27 yes upserial 4/1 no address yes downfastethernet 3/0.30 210.100.10.33/27 yes upfastethernet 3/0 no address yes downfastethernet 3/1 no address yes downnull 0 no address yes upr
13、2632#conenter configuration commands, one per line. end with cntl/z.r2632(config)#ip route 210.100.10.96 255.255.255.224 210.100.10.66/写入静态路由表r2632(config)#ip route 210.100.10.128 255.255.255.224 210.100.10.66r2632(config)#endr2632#configured from console by consoler2632#show ip route/对主校路由器配置验证code
14、s: c - connected, s - static, r - rip 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 * - candidate defaultgateway of last resort is no setc 210.100.10.32/27 is directly connected, fastethernet 3/0.30c
15、 210.100.10.33/32 is local host.c 210.100.10.64/27 is directly connected, serial 4/0c 210.100.10.65/32 is local host.s 210.100.10.96/27 1/0 via 210.100.10.66s 210.100.10.128/27 1/0 via 210.100.10.66r2632#分校的交换机和路由器配置由小组另一成员完成分校交换机配置switchaenable 14password:switcha#configure terminal !进入全局配置模式 switch
16、a(config)#switcha(config)#vlan 10switcha(config-vlan)#exitswitcha(config)#vlan 20switcha(config-vlan)#exitswitcha(config)#interface range fastethernet 0/1-10switcha(config-if-range)#switchport access vlan 10switcha(config-if)#exitswitcha(config)#interface range fastethernet 0/11-20switcha(config-if-
17、range)#switchaport access vlan 20switcha(config-if)#exitswitcha(config)#interface fastethernet 0/24switcha(config-if)#switchaport mode trunkswitcha(config-if)#endswitcha#show vlan/对switcha的配置进行验证vlan name status ports- - - -1 default active fa0/23,fa0/2410 network2 active fa0/1 ,fa0/2 ,fa0/3 ,fa0/4
18、fa0/5 ,fa0/6 ,fa0/7 ,fa0/8 fa0/9 ,fa0/10,fa0/2420 network3 active fa0/11,fa0/12,fa0/13,fa0/14 fa0/15,fa0/16,fa0/17,fa0/18 fa0/19,fa0/20,fa0/24switcha#press return to get started!分校路由器配置r2632en 14password:r2632#conenter configuration commands, one per line. end with cntl/z.r2632#conenter configuratio
19、n commands, one per line. end with cntl/z.r2632(config)#interface serial 4/0r2632(config-if)#ip address 210.100.10.66 255.255.255.224r2632(config-if)#clock rate 64000r2632(config-if)#no shutdownr2632(config-if)#exitr2632(config)#interface fastethernet 3/0r2632(config-if)#no ip addressr2632(config-if
20、)#no shutdownr2632(config-if)#exitr2632(config)#interface fastethernet 3/0.10r2632(config-subif)#no ip addressr2632(config-subif)#exitr2632(config)#interface fastethernet 3/0.10r2632(config-subif)#encapsulation dot1q 10r2632(config-subif)#ip address 210.100.10.97 255.255.255.224r2632(config-subif)#e
21、xitr2632(config)#interface fastethernet 3/0.20r2632(config-subif)#encapsulation dot1q 20r2632(config-subif)#ip address 210.100.10.129 255.255.255.224r2632(config-subif)#endr2632#configured from console by consoler2632#show ip interface brief/对分校路由器配置验证interface ip-address(pri) ok? statusserial 4/0 2
22、10.100.10.66/27 yes upserial 4/1 no address yes downfastethernet 3/0.20 210.100.10.129/27 yes upfastethernet 3/0.10 210.100.10.97/27 yes upfastethernet 3/0 no address yes downfastethernet 3/1 no address yes downnull 0 no address yes upr2632#conenter configuration commands, one per line. end with cnt
23、l/z.r2632(config)#ip route 210.100.10.32 255.255.255.224 210.100.10.65r2632(config)#endr2632#configured from console by consoler2632#show ip routecodes: c - connected, s - static, r - rip 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 * - candidate defaultgateway of last resort is no sets 210.100.10.32/27 1/0 via 210.100.10.65c 210.100.10.64/27
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 幼儿园后勤管理制度
- 医院保洁服务方案
- 建筑施工外墙装修设计方案书
- 2025-2030中国超高层建筑智能化管理系统技术难点与解决方案
- 2026年滨州阳信县教体系统校园招聘教师40名备考题库(山师-曲师站)及答案详解(名师系列)
- 2026湖南株洲芦淞区事业单位招聘工作人员14人备考题库及答案详解(典优)
- 制造业信息化管理实施方案
- 2026年淮南寿县专职民兵教练员招聘备考题库及一套答案详解
- 2026云竹科技(沧源)有限公司招聘5人备考题库及参考答案详解1套
- 2026浙江绍兴越城区卫健系统事业单位工作人员招聘14人备考题库含答案详解(a卷)
- 初中宾语从句及练习题
- 2026年及未来5年市场数据中国建筑施工升降机行业市场调查研究及发展趋势预测报告
- 2025年中国饰品行业发展状况与消费行为调查数据-
- (一模)扬州市2026届高三模拟调研测试数学试卷(含答案详解)
- 2025中国资源循环集团面向海内外公开招聘高端人才33人社招笔试历年难易错考点试卷带答案解析
- 茅盾《风景谈》课件
- 施工危险识别、风险评估及风险控制对策表
- unit4a glimpse of the future教学设计新外研版2019高中英语选择性必修第三册
- JJF 1609-2017余氯测定仪校准规范
- 康复医疗项目可研报告
- 上爱鸟周鸟类知识答题
评论
0/150
提交评论