计算机网络课程设计报告校园网构建方案的设计和实现.docx
- 文档编号:4182161
- 上传时间:2022-11-28
- 格式:DOCX
- 页数:29
- 大小:460.53KB
计算机网络课程设计报告校园网构建方案的设计和实现.docx
《计算机网络课程设计报告校园网构建方案的设计和实现.docx》由会员分享,可在线阅读,更多相关《计算机网络课程设计报告校园网构建方案的设计和实现.docx(29页珍藏版)》请在冰豆网上搜索。
计算机网络课程设计报告校园网构建方案的设计和实现
XX大学计算机科学与技术学院
计算机网络课程设计报告
——校园网构建方案的设计和实现
专业班级:
学生姓名:
学号:
指导教师:
日期:
一.设计任务及要求
1.任务:
某高校现有三个地理位置分离的分校区,每个校区入网信息点有2000多个,现准备通过教科网接入因特网。
而从教科网只申请到4个C类网络(222.191.1.0-222.191.4.0),为了安全,要求每个分校区的学生公寓子网和教师子网不在同一个广播域。
同时,学校有若干台应用服务器,同时对内和对外提供web等网络服务。
设计网络构建方案并实施该校园网络。
2.要求:
(1)根据具体情况,完成需求分析
(2)列出实验所需设备,完成网络拓扑结构图
(3)完成各项设备的具体配置
(4)调试运行
二.基本思路及相关理论
1.基本思路:
(1)由于每个校区入网信息点有2000多个,C类网络无法满足该数量级的主机地址需求,因此在三个校区以及服务器区中使用B类私网地址172.16.0.0。
(2)由于校园网内使用的是私网地址,所以需要在边界路由器上配置网络地址转换(NAT),校园网内主机访问外网时使用动态地址转换,内网服务器使用静态地址转换来给外网提供服务。
(3)由于每个校区入网信息点有2000多个,若手动为每台主机配置ip地址,那么工程量是极大的,而且主机的添加与删除对网络的影响也较大。
为了解决这一问题,并且便于网络管理,需要配置DHCP服务。
(4)任务要求每个分校区的学生公寓子网和教师子网不在同一个广播域,那么使用VLAN技术来满足这一要求,创建两个VLAN,分别是VlanStudent和VlanTeacher。
(5)使用三层交换机来实现VlanStudent和VlanTeacher之间的通信,使用路由器来实现不同校区之间的通信。
(6)配置DNS服务器给校园网内的WEBServer和提供域名解析,给用户提供人性化的服务。
2.相关理论:
(1)ip的层次结构、寻址方案以及每种类别的ip地址所能提供的最大主机数
(2)子网划分的原理及步骤
(3)可变长子网掩码(VLSM)对ip地址利用率的最大化
(4)vlan技术分隔广播域
(5)三层交换机实现VLAN间路由
(6)动态路由协议OSPF实现路由汇聚,提供不同校区间的路由
(7)使用命令default-informationoriginate来向OSPF域中注入默认路由
(8)主机跨网段请求DNS服务的实现
三.方案设计(网络设备和拓扑结构)
四.网络的具体配置
(1)三个校区以及服务器区的接入层交换机提供足够多的以太网接口,使用默认配置即可。
(2)汇聚层交换机的配置
a.校区一的三层交换机的配置如下:
Buildingconfiguration...
Currentconfiguration:
1868bytes
!
version12.2
noservicetimestampslogdatetimemsec
noservicetimestampsdebugdatetimemsec
noservicepassword-encryption
!
hostnameSwitch
!
ipdhcpexcluded-address172.16.3.254
ipdhcpexcluded-address172.16.7.254
!
ipdhcppoolVlanStudent
network172.16.0.0255.255.252.0
default-router172.16.3.254
dns-server172.16.48.30
ipdhcppoolVlanTeacher
network172.16.4.0255.255.252.0
default-router172.16.7.254
dns-server172.16.48.30
iprouting
!
interfaceFastEthernet0/1
noswitchport
noipaddress
duplexauto
speedauto
shutdown
!
interfaceFastEthernet0/2
!
interfaceFastEthernet0/3
!
interfaceFastEthernet0/4
!
interfaceFastEthernet0/5
!
interfaceFastEthernet0/6
!
interfaceFastEthernet0/7
!
interfaceFastEthernet0/8
!
interfaceFastEthernet0/9
!
interfaceFastEthernet0/10
!
interfaceFastEthernet0/11
!
interfaceFastEthernet0/12
!
interfaceFastEthernet0/13
!
interfaceFastEthernet0/14
!
interfaceFastEthernet0/15
!
interfaceFastEthernet0/16
!
interfaceFastEthernet0/17
!
interfaceFastEthernet0/18
!
interfaceFastEthernet0/19
!
interfaceFastEthernet0/20
!
interfaceFastEthernet0/21
!
interfaceFastEthernet0/22
noswitchport
ipaddress172.16.48.1255.255.255.252
duplexauto
speedauto
!
interfaceFastEthernet0/23
switchportaccessvlan3
switchportmodeaccess
!
interfaceFastEthernet0/24
switchportaccessvlan2
switchportmodeaccess
!
interfaceGigabitEthernet0/1
!
interfaceGigabitEthernet0/2
!
interfaceVlan1
noipaddress
shutdown
!
interfaceVlan2
ipaddress172.16.3.254255.255.252.0
!
interfaceVlan3
ipaddress172.16.7.254255.255.252.0
!
routerospf100
log-adjacency-changes
network172.16.0.00.0.3.255area0
network172.16.4.00.0.3.255area0
network172.16.48.00.0.0.3area0
!
ipclassless
!
linecon0
linevty04
login
!
end
b.校区二的三层交换机的配置如下:
Buildingconfiguration...
Currentconfiguration:
1888bytes
!
version12.2
noservicetimestampslogdatetimemsec
noservicetimestampsdebugdatetimemsec
noservicepassword-encryption
!
hostnameSwitch
!
ipdhcpexcluded-address172.16.23.254
ipdhcpexcluded-address172.16.19.254
!
ipdhcppoolVlanStudent
network172.16.16.0255.255.252.0
default-router172.16.19.254
dns-server172.16.48.30
ipdhcppoolVlanTeacher
network172.16.20.0255.255.252.0
default-router172.16.23.254
dns-server172.16.48.30
iprouting
!
noipdomain-lookup
!
interfaceFastEthernet0/1
noswitchport
noipaddress
duplexauto
speedauto
!
interfaceFastEthernet0/2
!
interfaceFastEthernet0/3
!
interfaceFastEthernet0/4
!
interfaceFastEthernet0/5
!
interfaceFastEthernet0/6
!
interfaceFastEthernet0/7
!
interfaceFastEthernet0/8
!
interfaceFastEthernet0/9
!
interfaceFastEthernet0/10
!
interfaceFastEthernet0/11
!
interfaceFastEthernet0/12
!
interfaceFastEthernet0/13
!
interfaceFastEthernet0/14
!
interfaceFastEthernet0/15
!
interfaceFastEthernet0/16
!
interfaceFastEthernet0/17
!
interfaceFastEthernet0/18
!
interfaceFastEthernet0/19
!
interfaceFastEthernet0/20
!
interfaceFastEthernet0/21
!
interfaceFastEthernet0/22
noswitchport
ipaddress172.16.48.5255.255.255.252
duplexauto
speedauto
!
interfaceFastEthernet0/23
switchportaccessvlan3
switchportmodeaccess
!
interfaceFastEthernet0/24
switchportaccessvlan2
switchportmodeaccess
!
interfaceGigabitEthernet0/1
!
interfaceGigabitEthernet0/2
!
interfaceVlan1
noipaddress
shutdown
!
interfaceVlan2
ipaddress172.16.19.254255.255.252.0
!
interfaceVlan3
ipaddress172.16.23.254255.255.252.0
!
routerospf100
log-adjacency-changes
network172.16.16.00.0.3.255area0
network172.16.20.00.0.3.255area0
network172.16.48.40.0.0.3area0
!
ipclassless
!
linecon0
linevty04
login
!
end
c.校区三的三层交换机的配置如下:
Currentconfiguration:
1888bytes
!
version12.2
noservicetimestampslogdatetimemsec
noservicetimestampsdebugdatetimemsec
noservicepassword-encryption
!
hostnameSwitch
!
ipdhcpexcluded-address172.16.35.254
ipdhcpexcluded-address172.16.39.254
!
ipdhcppoolVlanStudent
network172.16.32.0255.255.252.0
default-router172.16.35.254
dns-server172.16.48.30
ipdhcppoolVlanTeacher
network172.16.36.0255.255.252.0
default-router172.16.39.254
dns-server172.16.48.30
iprouting
!
noipdomain-lookup
!
interfaceFastEthernet0/1
noswitchport
noipaddress
duplexauto
speedauto
!
interfaceFastEthernet0/2
!
interfaceFastEthernet0/3
!
interfaceFastEthernet0/4
!
interfaceFastEthernet0/5
!
interfaceFastEthernet0/6
!
interfaceFastEthernet0/7
!
interfaceFastEthernet0/8
!
interfaceFastEthernet0/9
!
interfaceFastEthernet0/10
!
interfaceFastEthernet0/11
!
interfaceFastEthernet0/12
!
interfaceFastEthernet0/13
!
interfaceFastEthernet0/14
!
interfaceFastEthernet0/15
!
interfaceFastEthernet0/16
!
interfaceFastEthernet0/17
!
interfaceFastEthernet0/18
!
interfaceFastEthernet0/19
!
interfaceFastEthernet0/20
!
interfaceFastEthernet0/21
!
interfaceFastEthernet0/22
noswitchport
ipaddress172.16.48.9255.255.255.252
duplexauto
speedauto
!
interfaceFastEthernet0/23
switchportaccessvlan3
switchportmodeaccess
!
interfaceFastEthernet0/24
switchportaccessvlan2
switchportmodeaccess
!
interfaceGigabitEthernet0/1
!
interfaceGigabitEthernet0/2
!
interfaceVlan1
noipaddress
shutdown
!
interfaceVlan2
ipaddress172.16.35.254255.255.252.0
!
interfaceVlan3
ipaddress172.16.39.254255.255.252.0
!
routerospf100
log-adjacency-changes
network172.16.32.00.0.3.255area0
network172.16.36.00.0.3.255area0
network172.16.48.80.0.0.3area0
!
ipclassless
!
linecon0
linevty04
login
!
end
(3)核心层路由器的配置
a.与校区一相连的路由器Router1
Buildingconfiguration...
Currentconfiguration:
825bytes
!
version12.4
noservicetimestampslogdatetimemsec
noservicetimestampsdebugdatetimemsec
noservicepassword-encryption
!
hostnameRouter
!
noipdomain-lookup
!
interfaceFastEthernet0/0
ipaddress172.16.48.2255.255.255.252
duplexauto
speedauto
!
interfaceFastEthernet0/1
noipaddress
duplexauto
speedauto
shutdown
!
interfaceSerial0/0/0
ipaddress172.16.48.26255.255.255.252
clockrate4000000
!
interfaceSerial0/0/1
ipaddress172.16.48.21255.255.255.252
!
interfaceVlan1
noipaddress
shutdown
!
routerospf100
log-adjacency-changes
network172.16.48.00.0.0.3area0
network172.16.48.200.0.0.3area0
network172.16.48.240.0.0.3area0
!
ipclassless
!
linecon0
exec-timeout00
loggingsynchronous
linevty04
login
!
end
b.与校区二相连的路由器Router2
Buildingconfiguration...
Currentconfiguration:
825bytes
!
version12.4
noservicetimestampslogdatetimemsec
noservicetimestampsdebugdatetimemsec
noservicepassword-encryption
!
hostnameRouter
!
noipdomain-lookup
!
interfaceFastEthernet0/0
ipaddress172.16.48.6255.255.255.252
duplexauto
speedauto
!
interfaceFastEthernet0/1
noipaddress
duplexauto
speedauto
shutdown
!
interfaceSerial0/0/0
ipaddress172.16.48.25255.255.255.252
!
interfaceSerial0/0/1
ipaddress172.16.48.13255.255.255.252
clockrate4000000
!
interfaceVlan1
noipaddress
shutdown
!
routerospf100
log-adjacency-changes
network172.16.48.40.0.0.3area0
network172.16.48.240.0.0.3area0
network172.16.48.120.0.0.3area0
!
ipclassless
!
linecon0
exec-timeout00
loggingsynchronous
linevty04
login
!
end
c.与校区三相连的路由器Router3
Buildingconfiguration...
Currentconfiguration:
806bytes
!
version12.4
noservicetimestampslogdatetimemsec
noservicetimestampsdebugdatetimemsec
noservicepassword-encryption
!
hostnameRouter
!
noipdomain-lookup
!
interfaceFastEthernet0/0
ipaddress172.16.48.10255.255.255.252
duplexauto
speedauto
!
interfaceFastEthernet0/1
noipaddress
duplexauto
speedauto
shutdown
!
interfaceSerial0/0/0
ipaddress172.16.48.17255.255.255.252
!
interfaceSerial0/0/1
ipaddress172.16.48.14255.255.255.252
!
interfaceVlan1
noipaddress
shutdown
!
routerospf100
log-adjacency-changes
network172.16.48.80.0.0.3area0
network172.16.48.120.0.0.3area0
network172.16.48.160.0.0.3area0
!
ipclassless
!
linecon0
exec-timeout00
loggingsynchronous
linevty04
login
!
end
d.校园网的出口路由器Router4
Buildingcon
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机网络 课程设计 报告 校园网 构建 方案 设计 实现
![提示](https://static.bdocx.com/images/bang_tan.gif)