设计目标:组建可扩展的局域网和广域(内联)网<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
用户需求
某学校由新校区和老校区组成。新校区由办公楼和教学楼(楼层均为三层)组成,办公楼与教学楼之间距离为300米;老校区由办公楼和教学楼组成。
新校区:要求组建内部局域网。办公楼一层有15个信息点,办公楼二层有16个信息点,办公楼三层有20个信息点;教学楼一层有17个信息点,教学楼二层有12个信息点,教学楼三层有18个信息点。核心交换机安装在网络中心,位于办公楼二层。办公楼汇聚交换机也位于核心机房,教学楼汇聚机房位于二层。要求在教学楼汇聚交换机上划分如下VLAN:教学楼一层要求划分2个VLAN,分别给教室和办公室使用,教学楼二层划分3个VLAN,分别给教室、实验室和办公室使用,教学楼三层划分1个VLAN,给教室使用。即教学楼共需6个业务VLAN,每层的教室、实验室和办公室的计算机如果出现病毒引发大量广播,不会传播到其它的楼层。
核心层设备与汇聚层设备之间使用路由协议互联,既可以使用静态路由、也可以使用动态路由。
如果机器性能允许运行9台Dynamips虚拟机(至少需要1G内存),则可以将办公楼的汇聚层交换机和接入层交换机也设计进网络中,(即实现局域网网络规模的扩展)办公楼每层划分1个VLAN,共3个业务VLAN。
老校区:暂不要求划分VLAN,能和新校区连通就可以。
新老校之间使用电信租用DDN线路互联,组成一个Intranet。(如果将来还有其他校区,也能够与现在的新校区实现互联,实现内联网网络规模的扩展。)
要求新校办公楼二层核心设备、教学楼一层、二层、三层和老校的所有联网计算机都可以互相通信。
 
核心交换机上联一台防火墙,防火墙采用城域网专线接入Internet,防火墙的内口地址为192.168.0.1/30,要求所有机器都能ping通此接口地址。(不要求配置防火墙,也不要求配置NAT)
设计要求:
需求分析(详述用户网络组建需求)
拓扑图(全网拓扑,使用Visio等绘制)
逻辑设计(网络互联方法、VLAN划分、路由协议选择等)
地址规划(合理规划IP地址分配)
设备选型(可使用各厂商的网络设备)
 
 
 
 
R1 F0/0 192.168.255.1/30
      F0/1 192.168.255.5/30
R2 F0/0 192.168.255.2/30
      F0/1 192.168.7.1/24

hexin F0/1 192.168.255.6/30
          F0/2 192.168.255.9/30
          F0/3 192.168.255.13/30
         F0/4 192.168.0.2/30
jiaoxue F0/1 192.168.255.10/30

bangong F0/1 192.168.255.14/30
 
防火墙 F0/0 192.168.0.1/30
pc7    192.168.7.0/24
 
 配置如下:
S1
Switch>en
Switch#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#hostname S1
S1(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
S1#vlan data
% Warning: It is recommended to configure VLAN from config mode,
  as VLAN database mode is being deprecated. Please consult user
  documentation for configuring VTP/VLAN in config mode.
S1(vlan)#vtp doma jiaoxue
Domain name already set to jiaoxue.
S1(vlan)#vtp pass jiaoxue
Setting device VLAN database password to jiaoxue
S1(vlan)#vtp client
Setting device to VTP CLIENT mode.
S1(vlan)#exit
APPLY completed.
Exiting....
S1#
S1#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
S1(config)#int f0/1
S1(config-if)#switch
S1(config-if)#switchport mode trun
S1(config-if)#switchport mode trunk
S1(config-if)#int f0/2
S1(config-if)#swit acc vlan 11
S1(config-if)#int f0/3
S1(config-if)#swit acc vlan 12
S1(config-if)#exit
S1(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
S1#wr
Building configuration...
[OK]
S1#
S2
Switch>en
Switch#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#hostname S2
S2(config)#ex
%SYS-5-CONFIG_I: Configured from console by console
S2#vlan data
% Warning: It is recommended to configure VLAN from config mode,
  as VLAN database mode is being deprecated. Please consult user
  documentation for configuring VTP/VLAN in config mode.
S2(vlan)#vtp doma
S2(vlan)#vtp domain jiaoxue
Domain name already set to jiaoxue.
S2(vlan)#vtp pass jiaoxue
Setting device VLAN database password to jiaoxue
S2(vlan)#vtp client
Setting device to VTP CLIENT mode.
S2(vlan)#ex
APPLY completed.
Exiting....
S2#
S2(config)#int f0/1
S2(config-if)#switch mode trun
S2(config-if)#int f0/2 
S2(config-if)#switc access vlan 13
S2(config-if)#int f0/3
S2(config-if)#switc access vlan 14
S2(config-if)#int f0/4
S2(config-if)#switc access vlan 15
S2(config-if)#
S2(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
S2#wr
Building configuration...
[OK]
S2#
 
 
S3
Switch>en
Switch#config
Switch(config)#hostname S3
S3(config)#end
S3#vlan data
S3(vlan)#vtp domain jiaoxue
Domain name already set to jiaoxue.
S3(vlan)#vtp pass jiaoxue
Setting device VLAN database password to jiaoxue
S3(vlan)#vtp cli
S3(vlan)#vtp client
Setting device to VTP CLIENT mode.
S3(vlan)#
S3(vlan)#ex
APPLY completed.
Exiting....
S3#
S3#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
S3(config)#int f0/1
S3(config-if)#switch mode tru
S3(config-if)#int f0/2
S3(config-if)#switch acc
S3(config-if)#switch access vlan 16
S3(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
S3#wr
Building configuration...
[OK]
S3#
 
未完接下篇
 
S4
Switch>en
Switch#config
Switch(config)#hostname S4
S4(config)#ex
S4#vlan da
S4(vlan)#vtp domain bangong
Domain name already set to bangong.
S4(vlan)#vtp password bangong
Setting device VLAN database password to bangong
S4(vlan)#vtp client
Setting device to VTP CLIENT mode.
S4(vlan)#ex
APPLY completed.
Exiting....
S4#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
S4(config)#int range f0/2 - 24
S4(config-if-range)#switc
S4(config-if-range)#switchport acc vlan 18
S4(config-if-range)#ex
S4(config)#int f 0/1 
S4(config-if)#switch mode trun
S4(config-if)#ex
 
办公
Switch>en
Switch#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#hostname bangong
bangong(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
bangong#vlan data
% Warning: It is recommended to configure VLAN from config mode,
  as VLAN database mode is being deprecated. Please consult user
  documentation for configuring VTP/VLAN in config mode.
bangong(vlan)#vtp doma bangong
Changing VTP domain name from NULL to bangong
bangong(vlan)#vtp pass bangong
Setting device VLAN database password to bangong
bangong(vlan)#vtp server
Device mode already VTP SERVER.
bangong(vlan)#vlan 18
VLAN 18 added:
    Name: VLAN0018
bangong(vlan)#vlan 19
VLAN 19 added:
    Name: VLAN0019
bangong(vlan)#vlan 20
VLAN 20 added:
    Name: VLAN0020
bangong(vlan)#exit
APPLY completed.
Exiting....
bangong#
bangong#config
jiaoxue(config-if)#int vlan 18
jiaoxue(config-if)#ip address 192.168.18.1 255.255.255.0
jiaoxue(config-if)#int vlan 19
jiaoxue(config-if)#ip address 192.168.19.1 255.255.255.0
jiaoxue(config-if)#int vlan 20
jiaoxue(config-if)#ip address 192.168.20.1 255.255.255.0
jiaoxue(config-if)#
bangong(config-if)#int f0/2
bangong(config-if)#switch mode trun
bangong(config-if)#int f0/3
bangong(config-if)#swit mode trun
bangong(config-if)#int f0/4
bangong(config-if)#swit mode trun
bangong(config)#int f0/1
bangong(config-if)#no switchport
bangong(config-if)#ip add 192.168.255.14 255.255.255.252
bangong(config-if)#exi
bangong(config)#exi
%SYS-5-CONFIG_I: Configured from console by console
bangong#wr
Building configuration...
[OK]
bangong#

config
ip routing
router ospf 1
 network 192.168.18.0 0.0.0.255 area 0
 network 192.168.19.0 0.0.0.255 area 0
 network 192.168.20.0 0.0.0.255 area 0
 network 192.168.255.12 0.0.0.3 area 0
 
教学楼汇聚交换机
Switch>en
Switch#config
Switch(config)#host jiaoxue
jiaoxue(config)#end
jiaoxue#vlan database
jiaoxue(vlan)#vtp domain jiaoxue
jiaoxue(vlan)#vtp password jiaoxue
Setting device VLAN database password to jiaoxue
jiaoxue(vlan)#vtp server
Device mode already VTP SERVER.

jiaoxue(vlan)#vlan 11
VLAN 11 added:
    Name: VLAN0011
jiaoxue(vlan)#vlan 12
VLAN 12 added:
    Name: VLAN0012
jiaoxue(vlan)#vlan 13
VLAN 13 added:
    Name: VLAN0013
jiaoxue(vlan)#vlan 14
VLAN 14 added:
    Name: VLAN0014
jiaoxue(vlan)#vlan 15
VLAN 15 added:
    Name: VLAN0015
jiaoxue(vlan)#vlan 16
VLAN 16 added:
    Name: VLAN0016

jiaoxue(vlan)#exit
APPLY completed.
Exiting....
jiaoxue#
jiaoxue#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
jiaoxue(config)#int vlan 11
jiaoxue(config-if)#ip address 192.168.11.1 255.255.255.0
jiaoxue(config-if)#int vlan 12
jiaoxue(config-if)#ip address 192.168.12.1 255.255.255.0
jiaoxue(config-if)#int vlan 13
jiaoxue(config-if)#ip address 192.168.13.1 255.255.255.0
jiaoxue(config-if)#int vlan 14
jiaoxue(config-if)#ip address 192.168.14.1 255.255.255.0
jiaoxue(config-if)#
jiaoxue(config-if)#ip address 192.168.14.1 255.255.255.0
jiaoxue(config-if)#int vlan 15

jiaoxue(config-if)#ip address 192.168.15.1 255.255.255.0
jiaoxue(config-if)#int vlan 16

jiaoxue(config-if)#ip address 192.168.16.1 255.255.255.0

jiaoxue(config-if)#end
jiaoxue#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
jiaoxue(config)#int f0/2
jiaoxue(config-if)#switchport mode trunk
jiaoxue(config-if)#int f0/3
jiaoxue(config-if)#switchport mode trunk
jiaoxue(config-if)#int f0/4
jiaoxue(config-if)#switchport mode trunk
jiaoxue(config)#int f0/1
jiaoxue(config-if)#no switchport
jiaoxue(config-if)#ip add 192.168.255.10 255.255.255.252
 

config
ip routing
router ospf 1
 network 192.168.11.0 0.0.0.255 area 0
 network 192.168.12.0 0.0.0.255 area 0
 network 192.168.13.0 0.0.0.255 area 0
 network 192.168.14.0 0.0.0.255 area 0
 network 192.168.15.0 0.0.0.255 area 0
 network 192.168.16.0 0.0.0.255 area 0
 network 192.168.255.8 0.0.0.3 area 0
 
核心交换机
Switch>en
Switch#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#hostname hexin
hexin(config)#no ip domain-lookup
hexin(config)#int f0/1
hexin(config-if)#no switchport
hexin(config-if)#ip add 192.168.255.6 255.255.255.252
hexin(config-if)#int f0/2
hexin(config-if)#no switchport
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
hexin(config-if)#ip add 192.168.255.9 255.255.255.252
hexin(config-if)#int f0/3
hexin(config-if)#no switchport
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down
hexin(config-if)#ip add 192.168.255.13 255.255.255.252
hexin(config-if)#int f0/4
 
hexin(config-if)#no switchport
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to down
hexin(config-if)#ip add 192.168.0.1 255.255.255.252
hexin(config-if)#exit

config
ip routing
router ospf 1
network 192.168.255.8 0.0.0.3 area 0
network 192.168.255.12 0.0.0.3 area 0
 
s5 s6 配置与s4类似此处省略
R1 R2 只需配置好每个端口ip然后配置ospf协议,端口ip和路由协议配置与核心交换机类似此处省略。
 总结
1.题目要求可扩展的局域网组建
实验过程用了vtp
vtp是思科私有协议,若扩展使用别的厂商设备如华为就达不到可扩展性的要求
其实完全可以自己手工划分下vlan,使用vtp只是为了方便
2.使用三层交换的时候记得两条条命令
ip routing
和no shut
我在配置了ospf协议后彼此之间学习不到路由信息
郁闷了半天才发现忘了ip routing 来启用三层交换的路由功能

转载于:https://blog.51cto.com/mynetwork/282377

一份网络专业毕业设计相关推荐

  1. 计算机专业人毕业设计外文翻译,计算机专业毕业设计外文翻译.doc

    <计算机专业毕业设计外文翻译.doc>由会员分享,提供在线免费全文阅读可下载,此文档格式为doc,更多相关<计算机专业毕业设计外文翻译.doc>文档请在天天文库搜索. 1.近 ...

  2. springboot计算机专业毕业设计优秀级别最新题目

    springboot计算机专业毕业设计优秀级别最新题目 毕业设计说实话没有想象当中的那么难,导师也不会说刻意就让你毕设不通过,不让你毕业啥的,你只要不是太过于离谱的,都能通过的.首先你得要对你在大学期 ...

  3. 计算机毕设ppt写些什么,计算机专业毕业设计答辩PPT-.ppt

    <计算机专业毕业设计答辩PPT-.ppt>由会员分享,可在线阅读,更多相关<计算机专业毕业设计答辩PPT-.ppt(14页珍藏版)>请在人人文库网上搜索. 1.毕业设计管理系统 ...

  4. 计算机专业毕业设计答辩ppt案例,计算机专业 毕业设计答辩PPT.ppt

    计算机专业 毕业设计答辩PPT 毕业设计管理系统 --用户管理子系统的设计与实现 班级: 姓名: 指导老师: 毕业设计管理系统 --学生志愿课题管理 毕业设计管理系统的意义及需求 系统结构设计 系统数 ...

  5. 电子信息 物联网 微电子等专业毕业设计选题表1-20

    电子信息 物联网 微电子等专业毕业设计选题表1-20 在这快速发展的时代,发展越来越好,学校对学生的毕业要求也越来越高,在电子信息.物联网.微电子等专业学生近年来需要完成一份毕业设计实物和一篇此设计的 ...

  6. 计算机专业毕业设计—JAVA语言系统设计(共80套打包)

    JAVA SMART系统-系统框架设计与开发(源代码+论文).rar java Smart系统-题库及试卷管理模块的设计与开发(源代码+论文) java Smart系统-题库及试卷管理模块的设计与开发 ...

  7. ASP.NET计算机类专业毕业设计(课程设计)题目大全

    ASP 类计算机专业毕业设计题目 第 1-100 个题目 网络留言薄 客户管理系统 多媒体积件管理库的开发与应用 基于 WEB的多媒体素材管理库的开发与应用 网络教学软件中的教学设计与应用 小型教育网 ...

  8. java有关物流管理的简历_谁能给我提供一份物流管理专业毕业生的个人模范简历...

    技校网专门为您推荐的类似问题答案 问题1: 本人一份企业公关策划书,请问谁能给我提供一份完整的策划书 仅供参考: 营销策划的目的与任务.主要思路.主要步骤.方案的形成.应注意的主要问题. 消化营养的目 ...

  9. 计算机课设答辩ppt,计算机专业毕业设计答辩ppt课件

    <计算机专业毕业设计答辩ppt课件>由会员分享,可在线阅读,更多相关<计算机专业毕业设计答辩ppt课件(14页珍藏版)>请在人人文库网上搜索. 1.毕业设计管理系统 用户管理子 ...

最新文章

  1. Java中的回调函数学习-深入浅出
  2. vSphere ESXi命令行使用方法详解
  3. (二)性能优化的指标和工具 (告别前端小白,成为大神的必经之路)
  4. gin框架长连接_一个TCP长连接设备管理后台工程(一)
  5. 谁说烟草公司做不好数字化转型!通过BI工具,一年节约成本79万
  6. dede无法在这个位置找到head.html2,织梦搜索:DedeCMS 提示信息
  7. 关于dll实现api挂接
  8. java.util.PropertyPermission“ “org.graalvm.nativeimage.imagecode“ “read“
  9. Facebook产品更新,官方通知你收到了吗?
  10. Ubuntu——安装中文拼音输入法
  11. 手机当电脑音响_华为再添黑科技,手机一碰笔记本,就能互传文件!
  12. 设计模式(Design pattern—
  13. 推荐系统-Task05推荐系统流程构建
  14. SQL SERVER 2012 第五章 创建和修改数据表 の CREATE语句
  15. 利用深度学习生成医疗报告
  16. step14. ubuntu18.04下载安装scala(转)
  17. 【图文说明】屏幕录像专家如何安装、录制小文件的录像
  18. 怎么给新版edge换皮肤外观? | 怎么给edge添加chrome插件?
  19. 台式机机械硬盘 - 简单快捷的安装
  20. java工程师面试题大全100%公司笔试题你都能碰到几个

热门文章

  1. note9电量android系统应用,小米-Note-标准版-crDroid-V5.3-安卓9.0.0-来去电归属T9-农历等-多功能本地化增强适配...
  2. hw3-空间与运动作业
  3. Android 图像处理软件
  4. 关于this.$emit的返回值的问题
  5. AquaMoon and Strange Sort CodeForces - 1546C(思维)
  6. LCD驱动分析(一)
  7. StringRedisTemplate报NullPointerException
  8. Zeroc-Ice(ice-Touch)详解与配置应用
  9. 模型评价指标之ROC、AUC和GAUC
  10. VOXEL 技术在即时渲染地形中的应用 by 樊一鹏