组建校园局域网 课程设计

发布时间:2017-05-23


题目: 专业: 姓名: 班级: 学号: 指导教师:







计算机通信网络课程设计




题目内容:
校园网的建设是现代教育发展的必然趋势,建设校园网不仅能够更加合理有效地利用学校现有的各种资源,而且为学校未来的不断发展奠定了基础,使之能够适合信息时代的要求。校园网络的建设及其与Internet的互联,已经成为教育领域信息化建设的当务之急。假设学校有300台计算机,请规划各个部门,便于管理,选择路由协议,配置路由;搭建服务器等。 分析:
Cip可以容纳254台主机,学校有300台电脑,所以采用一个Bip或者两个Cip. 假设学校有四个地方需要用到电脑:行政部门,教室,教师办公室,图书馆。每个地方主机的ip处在不同的网段。我们采用静态路由配置来连通各个不同的网段。下面的表格以两个Cip来进行子网划分: 部门 行政部门 教室 教师办公室 图书馆

使用eNSP来进行局域网的设计:
主机数(台) 70 80 70 80 网段
192.168.1.0~192.168.1.127 192.168.1.1~192.168.1.255 192.168.2.0~192.168.2.127 192.168.2.1~192.168.2.255 一、拓扑图:
为了方便起见,在给给个部门的主机分配网段的时候并没有采用上面表格所使用的网段。


二、各个路由器和交换机的配置命令
AR2
Huawei>sys Enter system view, return user view with Ctrl+Z. [Huawei]int gi 0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 192.168.1.1 24 May 23 2017 08:04:24-08:00 Huawei %%01IFNET/4/LINK_STATE(l[0]:The line protocol IP on the interface GigabitEthernet0/0/0 has entered the UP state. [Huawei-GigabitEthernet0/0/0]int gi 0/0/1 [Huawei-GigabitEthernet0/0/1]ip add 192.168.2.1 24 May 23 2017 08:04:39-08:00 Huawei %%01IFNET/4/LINK_STATE(l[1]:The line protocol IP on the interface GigabitEthernet0/0/1 has entered the UP state. [Huawei-GigabitEthernet0/0/1]int gi 0/0/2 [Huawei-GigabitEthernet0/0/2]ip add 192.168.5.1 24 May 23 2017 08:04:57-08:00 Huawei %%01IFNET/4/LINK_STATE(l[2]:The line protocol IP on the interface GigabitEthernet0/0/2 has entered the UP state. [Huawei]ip route-s 192.168.6.0 24 192.168.5.2 [Huawei]ip route-s 192.168.3.0 24 192.168.5.2 [Huawei]ip route-s 192.168.4.0 24 192.168.5.2
AR3
sys Enter system view, return user view with Ctrl+Z. [Huawei]int gi 0/0/1 [Huawei-GigabitEthernet0/0/1]ip add 192.168.3.1 24 [Huawei-GigabitEthernet0/0/1] May 23 2017 08:07:10-08:00 Huawei %%01IFNET/4/LINK_STATE(l[0]:The line protocol IP on the interface GigabitEthernet0/0/1 has entered the UP state. [Huawei-GigabitEthernet0/0/1]int gi 0/0/2 [Huawei-GigabitEthernet0/0/2]ip add 192.168.4.1 24 May 23 2017 08:07:32-08:00 Huawei %%01IFNET/4/LINK_STATE(l[1]:The line protocol IP on the interface GigabitEthernet0/0/2 has entered the UP state. [Huawei-GigabitEthernet0/0/2] [Huawei-GigabitEthernet0/0/2]int gi 0/0/0 [Huawei-GigabitEthernet0/0/0]ip add 192.168.6.1 24 [Huawei-GigabitEthernet0/0/0] May 23 2017 08:08:35-08:00 Huawei %%01IFNET/4/LINK_STATE(l[2]:The line protocol
IP on the interface GigabitEthernet0/0/0 has entered the UP state. [Huawei]ip route-s 192.168.5.0 24 192.168.6.2 [Huawei]ip route-s 192.168.1.0 24 192.168.6.2 [Huawei]ip route-s 192.168.2.0 24 192.168.6.2
AR4
sys Enter system view, return user view with Ctrl+Z. [Huawei]int gi 0/0/0 [Huawei-GigabitEthernet0/0/0]ip add 192.168.5.2 24 [Huawei-GigabitEthernet0/0/0] May 23 2017 08:11:53-08:00 Huawei %%01IFNET/4/LINK_STATE(l[0]:The line protocol IP on the interface GigabitEthernet0/0/0 has entered the UP state. [Huawei-GigabitEthernet0/0/0]int gi 0/0/1 [Huawei-GigabitEthernet0/0/1]ip add 192.168.6.2 24 [Huawei-GigabitEthernet0/0/1] May 23 2017 08:12:10-08:00 Huawei %%01IFNET/4/LINK_STATE(l[1]:The line protocol IP on the interface GigabitEthernet0/0/1 has entered the UP state. [Huawei-GigabitEthernet0/0/1]q [Huawei]ip route-s 192.168.1.0 24 192.168.5.1 [Huawei]ip route-s 192.168.2.0 24 192.168.5.1 [Huawei]ip route-s 192.168.3.0 24 192.168.6.1 [Huawei]ip route-s 192.168.4.0 24 192.168.6.1
四个交换机的命令相同
sys Enter system view, return user view with Ctrl+Z. [Huawei]int gi 0/0/2 [Huawei-GigabitEthernet0/0/2]port link-t acc [Huawei-GigabitEthernet0/0/2]int gi 0/0/1 May 23 2017 08:05:33-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5 .25.191.3.1 configurations have been changed. The current change number is 4, th e change loop count is 0, and the maximum number of records is 4095. [Huawei-GigabitEthernet0/0/1]port link-t tr [Huawei-GigabitEthernet0/0/1] May 23 2017 08:05:43-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5 .25.191.3.1 configurations have been changed. The current change number is 5, th e change loop count is 0, and the maximum number of records is 4095.

三、各个路由器的信息
AR2

AR3:



AR1:


四、各PC机之间的ping通情况
下面的所展示的是以PC1 ping各网段的截图 PC1 ping 192.168.3.0 192.168.2.0网段


PC1 ping 192.168.4.0 192.168.5.0网段

PC1 ping 192.168.6.0 网段

由此可知整个区域的网络都是互通的。







组建校园局域网 课程设计

相关推荐