局域网技术与组网工程网络综合实习任务书--参考解答

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

计算机网路综合实习任务书

网络功能描述

迅捷公司是一家自行车产品销售公司,该公司企业网规划拓扑如图1所示。

图1 网络拓扑

迅捷公司企业网规划中,使用一台接入路由器,把公司内网连接到Internet中,实现和Internet中网络服务器(标识名PC4)访问。迅捷公司企业网内部,使用一台三层交换机(标识名A)作为网络核心,实现全网汇聚功能,网络服务器(标识名PC3)连接在核心交换机上,提供全网网络管理和资源共享服务。公司使用另一台(标识名B)作为热备份,二台设备之间通过双链路实现网络可靠性。公司办公区所有计算机,通过二层交换机F接入,实现销售部、产品开发部和行政管理部设备接入到网络核心。为解决部门间网络安全,减少网间广播,需要通过技术把部门间计算机隔离开。所有设备之间连接拓扑如图1所示,各设备连接接口及接口地址规划根据实际需要自行设定。网络中使用4台计算机模拟实现服务器(标识名Server1、Server2) 和测试机(标识名PC1、PC2)功能。

第一部分组网及网络设备配置

1、交换网功能配置

(1)制作网线:制作15根网线,其中5根用于网络设备间连接,10根作为备用线(要求为5根直连线和5根交叉线)。

解答:直连线的顺序:白橙、橙、白绿、蓝、白蓝、绿、白棕、棕(两头一样)交叉线的顺序:白橙、橙、白绿、蓝、白蓝、绿、白棕、棕(一头)

白绿、绿、白橙、蓝、白蓝、橙、白棕、棕(另一头)

(2)在F上创建虚拟局域网VLAN10和VLAN20,其中交换机1~7接口分配给销售部,8~15接口分配给产品开发部,销售部和产品开发部接入PC1和PC2,连接在相应VLAN接口上。

解答:实验拓扑

使用一台交换机和两台PC 机,还将其中PC1 作为控制台终端,使用Console 口配置方式(在我院网路工程实验室使用串口服务器连接设备,选择超级终端->TCP/IP->输入IP->;输入端口号),使用两根网线分别将PC1 和PC2 连接到交换机的RJ-45 接口上。

实验步骤:第一步:交换机恢复出厂设置

switch#set default

switch#write

switch#reload

第二步:给交换机设置IP 地址即管理IP。

switch#config

switch(Config)#interface vlan 1

switch(Config-If-Vlan1)#ip address 192.168.1.11 255.255.255.0

switch(Config-If-Vlan1)#no shutdown

switch(Config-If-Vlan1)#exit

switch(Config)#exit

第三步:创建vlan10 和vlan20。

switch(Config)#

switch(Config)#vlan 10

switch(Config-Vlan100)#exit

switch(Config)#vlan 20

switch(Config-Vlan200)#exit

switch(Config)#

验证配置:

switch#show vlan

……

10 VLAN010 Static ENET !已经创建了vlan10,vlan10 中没有端

口;

20 VLAN020 Static ENET !已经创建了vlan20,vlan20 中没有端

口;

第四步:给vlan10 和vlan20 添加端口。

switch(Config)#vlan 10 !进入vlan 10

switch(Config-Vlan10)#switchport interface ethernet 0/0/1-7

!给vlan100 加入端口1-7

Set the port Ethernet0/0/1 access vlan 10 successfully

Set the port Ethernet0/0/2 access vlan 10 successfully

Set the port Ethernet0/0/3 access vlan 10 successfully

Set the port Ethernet0/0/4 access vlan 10 successfully

Set the port Ethernet0/0/5 access vlan 10 successfully

Set the port Ethernet0/0/6 access vlan 10 successfully

Set the port Ethernet0/0/7 access vlan 10 successfully

switch(Config-Vlan10)#exit

switch(Config)#vlan 20 !进入vlan 20

switch(Config-Vlan200)#switchport interface ethernet 0/0/8-15

!给vlan200 加入端口8-15

Set the port Ethernet0/0/8 access vlan 20 successfully

Set the port Ethernet0/0/9 access vlan 20 successfully

Set the port Ethernet0/0/10 access vlan 20 successfully

Set the port Ethernet0/0/11 access vlan 20 successfully

Set the port Ethernet0/0/12 access vlan 20 successfully

Set the port Ethernet0/0/13 access vlan 20 successfully

Set the port Ethernet0/0/14 access vlan 20 successfully

Set the port Ethernet0/0/15 access vlan 20 successfully

switch(Config-Vlan20)#exit

验证配置:

switch#show vlan

VLAN Name Type Media Ports

---- ------------ ---------- --------- ----------------------------------------

1 default Static ENET Ethernet0/0/16 Ethernet0/0/17

Ethernet0/0/18

Ethernet0/0/19 Ethernet0/0/20 Ethernet0/0/21

Ethernet0/0/22 Ethernet0/0/23 Ethernet0/0/24

10 VLAN010 Static ENET Ethernet0/0/1 Ethernet0/0/2

Ethernet0/0/3 Ethernet0/0/4

Ethernet0/0/5 Ethernet0/0/6

Ethernet0/0/7

20 VLAN020 Static ENET Ethernet0/0/8 Ethernet0/0/9

Ethernet0/0/10

Ethernet0/0/11 Ethernet0/0/12 Ethernet0/0/13 Ethernet0/0/14 Ethernet0/0/15

(3)F通过23、24端口和2台核心交换机连接,实现VLAN10(销售部)和VLAN20(产品开发部)间设备互访。

解答:分别在两台核心交换机A、B中创建虚拟局域网VLAN10、VLAN20,注意23、23两个端口的模式为干路(trunk).

设置交换机 trunk 端口

交换机 F:

switchF(Config)#interface ethernet 0/0/23

switchF(Config-Ethernet0/0/23)#switchport mode trunk

Set the port Ethernet0/0/23 mode TRUNK successfully

switchF(Config-Ethernet0/0/23)#switchport trunk allowed vlan all

set the port Ethernet0/0/23 allowed vlan successfully

switchF(Config-Ethernet0/0/23)#exit

switchF(Config)#

相关文档
最新文档