教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 文库大全 > 教育文库 >

小型校园网的设计与组建实验报告

来源:网络收集 时间:2026-09-07
导读: 小型校园网的设计与组建实验报告 一.实验目的 计算机网络是一门实践性较强的技术,课堂教学应该和实践环节紧密结合。计算机网络实验培养学生具有独立进行计算机网络架构和设计能力,提高学生的网络设备使用水平,以及将理论与实践相结合的能力。 二.实验环

小型校园网的设计与组建实验报告

一.实验目的

计算机网络是一门实践性较强的技术,课堂教学应该和实践环节紧密结合。计算机网络实验培养学生具有独立进行计算机网络架构和设计能力,提高学生的网络设备使用水平,以及将理论与实践相结合的能力。

二.实验环境及设备

2台路由器、2台交换机、3台PC机

三.实验的内容和要求

根据要求,设计并搭建一个校园网。要求进行子网划分和结构设计,并将网络结构建立起来。最后完成网络设备的调试。

四.实验说明

某大学分为总校和分校,为该校设计校园网,总校有一个局域网共20台计算机,分校由VLAN划分为两个局域网,分别有10台计算机。该校被分配了一个C类网段210.100.10.0,总校和分校各有一台路由器及一台交换机。请进行网络设计,将总校和分校各个局域网连接起来。

根据要求,设计IP地址分配表,设计网络结构,画出网络拓扑图。根据设计搭建网络结构。配置网络设备,完成网络调试。 提示:1)使用IP子网掩码的原理设计IP地址分配表。

2)用到的设备为两台路由器,以及两台交换机。

五.实验设计

一、 设计思路

总校局域网20台计算机,分校2个局域网各有10台计算机,若要满足要求,则至少需要5位主机位,即大小为2^5=32台主机的局域网。由于是C类网段,最后8计算机ID码5位用作主机号,还有3位可以用作子网号,即可以划分2^3-2=6个子网(000和111不可用作子网号),因此子网掩码为255.255.255.224

(1111 1111.1111 1111.1111 1111.1110 0000)。而总校、分校各个局域网只需从6个子网中任选其一并且不重复即可。由此可以设计IP分配表如下

二、 IP分配表

三、拓扑结构

六.实验配置

本人做主校交换机和路由器配置 主校交换机配置

switchA>en 14 Password:

switchA#configure terminal

Enter configuration commands, one per line. End with CNTL/Z. switchA(config)#vlan 30 switchA(config-vlan)#exit

//创建vlan

switchA(config)#exit switchA#configure

Enter configuration commands, one per line. End with CNTL/Z. switchA(config)#interface range fastEthernet 0/1-20 vlan30中

switchA(config-if-range)#switchport access vlan 30 switchA(config-if-range)#exit

Switch (config)# interface fastethernet 0/24

Switch (config-if)# switchport mode trunk !配置trunk端口 Switch (config-if)# end switchA(config)#exit

switchA#show vlan

//对switchA的配置进行验证

//将1-20端口划入

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

Fa0/13,Fa0/14,Fa0/15,Fa0/16

Fa0/17,Fa0/18,Fa0/19,Fa0/20 Fa0/24

switchA#

Press RETURN to get started!

主校路由器配置 R2632>en 14 Password:

R2632#configure terminal

Enter configuration commands, one per line. End with CNTL/Z. R2632(config)#show ip interface brief

//查看路由器的端口

Interface IP-Address(Pri) OK? Status

serial 4/0 no address YES DOWN

serial 4/1 no address YES DOWN

FastEthernet 3/0 no address YES DOWN

FastEthernet 3/1 no address YES DOWN

Null 0 no address YES UP R2632(config)#interface fastEthernet 3/0.30 R2632(config-subif)#encapsulation dot1Q 30

R2632(config-subif)#ip address 210.100.10.33 255.255.255.224 R2632(config-subif)#exit

R2632(config)#show ip interface brief

Interface IP-Address(Pri) OK? Status serial 4/0 no address YES DOWN serial 4/1 no address YES DOWN FastEthernet 3/0.30 210.100.10.33/27 YES DOWN FastEthernet 3/0 no address YES DOWN FastEthernet 3/1 no address YES DOWN Null 0 no address YES UP R2632(config)#exit R2632#

Configured from console by console

R2632#con

Enter configuration commands, one per line. End with CNTL/Z. R2632(config)#interface serial 4/0 R2632(config-if)#ip ad

R2632(config-if)#ip address 210.100.10.65 255.255.255.224

//设置交换机

ip地址和子网掩码

R2632(config-if)#no shutdown R2632(config-if)#end R2632#

Configured from console by console R2632#show ip interface brief

Interface IP-Address(Pri) OK? Status serial 4/0 210.100.10.65/27 YES UP serial 4/1 no address YES DOWN FastEthernet 3/0.30 210.100.10.33/27 YES UP FastEthernet 3/0 no address YES DOWN FastEthernet 3/1 no address YES DOWN Null 0 no address YES UP R2632#con

Enter 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.66 R2632(config)#end R2632#

Configured from console by console

R2632#show ip route

//对主校路由器配置验证

Codes: 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 default

Gateway of last resort is no set

C 210.100.10.32/27 is directly connected, FastEthernet 3/0.30 C 210.100.10.33/32 is local host.

C 210.100.10.64/27 is directly connected, serial 4/0 C 210.100.10.65/32 is local host.

S 210.100.10.96/27 [1/0] via 210.100.10.66 S 210.100.10.128/27 [1/0 …… 此处隐藏:4080字,全部文档内容请下载后查看。喜欢就下载吧 ……

小型校园网的设计与组建实验报告.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wenku/110346.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)