admin 管理员组文章数量: 1184232
2024年2月21日发(作者:php技术招聘要求)
背景介绍
下图为园区网络的拓扑图。网络中使用了两台三层交换机S3750A和S3750B提供内部网络的互联。网络边缘采用一台路由器R1762A用于连接到Internet。R1762B用于模拟Internet中的路由器。
S3750A上连接一台PC,PC处于VLAN 100中。S3750B上连接一台FTP服务器和一台打印服务器,两台服务器处于VLAN 200中。S3750A与S3750B之间使用交换机间链路相连。S3750A与S3750B使用具有三层特性的物理端口与R1762A相连。在Internet上有一台与R1762B相连的外部Web服务器。
拓扑编址:
PC:192.168.100.100/24
S3750A VLAN 100:192.168.100.1/24
S3750A F0/10:192.168.1.2/24
S3750B VLAN 200:192.168.200.1/24
S3750B F0/10:192.168.2.2/24
FTP服务器:192.168.200.10/24
打印服务器:192.168.200.20/24
R1762A F1/0:192.168.1.1/24
R1762A F1/1:192.168.2.1/24
R1762A S1/2:200.1.1.1/30
R1762B S1/2:200.1.1.2/30
R1762B F1/0:100.1.1.1/24
Web服务器:100.1.1.2/24
网络需求
为了实现网络资源的共享,需要PC机能够访问内部网络中的FTP服务器,以实现文件的上传和下载。并且PC机需要连接到打印服务器以进行远程的打印操作。PC机需要能够通过园区网络连接到Internet的Web服务器,并能够进行Web网页的浏览。
实验题目
1、 在S3750A与S3750B上划分VLAN并建立交换机间链路,将PC机与服务器加入到相应的VLAN中。(4分)
2、 为S3750A与S3750B上的VLAN接口、R1762A和R1762B上的以太网接口配置IP地址。(4分)
3、 在S3750A与S3750B上使用具有三层特性的物理端口实现与R1762的互联。(5分)
4、 在S3750A、S3750B和R1762A之间运行RIPv2动态路由协议,提供园区内部网络的连通性。在配置RIPv2中不能使用自动汇总功能。(15分)
5、 在R1762A和R1762B之间建立PPP链路,并对PPP进行CHAP验证。(8分)
6、 在R1762A、S3760A和S3760B上使用静态路由,实现与Internet的互联。(6分)
7、 在一台PC上配置FTP服务器,使VLAN 100中的PC能够进行文件的上传和下载。(15分)
8、 在一台PC上配置网络打印机共享,使VLAN 100中的PC能够进行远程打印。(15分)
9、 在R1762A上使用网络地址转换技术,使VLAN 100内使用私有地址的主机能够访问Internet中的资源。(12分)
10、 在一台PC上配置Web服务器,使VLAN 100中的PC能够进行Web网页的浏览。(15分)
答案及评分标准
1. 在S3750A与S3750B上划分VLAN并将PC机与服务器加入到相应的VLAN中。(4分)
评分项1:在S3750A上创建VLAN 100,并将F0/1接口加入到VLAN 100中(2分)
配置过程:
S3750A#configure
S3750A (config)#vlan 100
S3750A 6(config-vlan)#exit
S3750A (config)#interface fastEthernet 0/1
S3750A (config-if)#switchport access vlan 100
Show结果:
S3750A #show running-config
vlan 100
!
interface fastEthernet 0/1
switchport access vlan 100
评分项2:在S3750B上创建VLAN 200,并将F0/1、F0/2接口加入到VLAN 200中(2分)
配置过程:
S3750B#configure
S3750B(config)#vlan
S3750B(config)#vlan 200
S3750B(config-vlan)#exit
S3750B(config)#interface range fastEthernet 0/1-2
S3750B(config-if-range)#switchport access vlan 200
Show结果:
S3750B#show running-config
vlan 200
!
interface FastEthernet 0/1
switchport access vlan 200
!
interface FastEthernet 0/2
switchport access vlan 200
2. 为S3750A与S3750B上的VLAN接口、R1762A和R1762B上的以太网接口配置IP地址。(5分)
评分项1:在S3750A和S3750B的VLAN接口配置IP地址(3分)
配置过程:
S3750A(config)#interface vlan 100
S3750A(config-if)#ip address 192.168.100.1 255.255.255.0
S3750B(config)#interface vlan 200
S3750B(config-if)#ip address 192.168.200.1 255.255.255.0
Show结果:
S3750A#show ip interface brief
Interface IP-Address(Pri) OK? Status
VLAN 100 192.168.100.1/24 YES UP
S3750B#show ip interface brief
Interface IP-Address(Pri) OK? Status
VLAN 200 192.168.200.1/24 YES UP
评分项2:在R1762A和R1762B的以太网接口配置IP地址(2分)
配置过程:
R1762A(config)#interface f1/0
R1762A(config-if)#ip address 192.168.1.1 255.255.255.0
R1762A(config)#interface f1/1
R1762A(config-if)#ip address 192.168.2.1 255.255.255.0
R1762B(config)#interface f1/0
R1762B(config-if)#ip address 100.1.1.1 255.255.255.0
Show结果:
R1762A#show ip interface brief
Interface IP-Address(Pri) OK? Status
FastEthernet 1/0 192.168.1.1/24 YES UP
FastEthernet 1/1 192.168.2.1/24 YES UP
R1762B#show ip interface brief
Interface IP-Address(Pri) OK? Status
FastEthernet 1/0 100.1.1.1/24 YES UP
3. 在S3750A与S3750B上使用具有三层特性的物理端口实现与R1762的互联。(5分)
评分项1:将S3750A的F0/10接口配置为三层接口,并配置IP地址(2.5分)
配置过程:
S3750A#configure
S3750A(config)#interface f0/10
S3750A(config-if)#no switchport
S3750A(config-if)#ip address 192.168.1.2 255.255.255.0
Show结果:
S3750A#show ip interface brief
Interface IP-Address(Pri) OK? Status
FastEthernet 0/10 192.168.1.2/24 YES UP
评分项2:将S3750B的F0/10接口配置为三层接口,并配置IP地址(2.5分)
配置过程:
S3750B#configure
S3750B(config)#interface f0/10
S3750B(config-if)#no switchport
S3750B(config-if)#ip address 192.168.2.2 255.255.255.0
Show结果:
S3750B#show ip interface brief
Interface IP-Address(Pri) OK? Status
FastEthernet 0/10 192.168.2.2/24 YES UP
4. 在S3750A、S3750B和R1762A之间运行RIPv2动态路由协议,提供园区内部网络的连通性。在配置RIPv2中不能使用自动汇总功能。(15分)
评分项1:在S3750A上配置RIPv2(3分)
配置过程:
S3750A(config)#router rip
S3750A(config-router)#version 2
S3750A(config-router)#no auto-summary
S3750A(config-router)#network 192.168.0.0
Show结果:
S3750A#show running-config
router rip
version 2
network 192.168.0.0
no auto-summary
评分项2:在S3750B上配置RIPv2(3分)
配置过程:
S3750A(config)#router rip
S3750A(config-router)#version 2
S3750A(config-router)#no auto-summary
S3750A(config-router)#network 192.168.0.0
Show结果:
S3750B#show running-config
router rip
version 2
network 192.168.0.0
no auto-summary
评分项3:在R1762A上配置RIPv2,注意不能将200.1.1.0/30通过RIP发布!否则本项0分(3分)
配置过程:
R1762A (config)#router rip
R1762A (config-router)#version 2
R1762A (config-router)#no auto-summary
R1762A (config-router)#network 192.168.0.0
Show结果:
R1762A#show running-config
router rip
version 2
network 192.168.0.0
no auto-summary
评分项4:查看路由表,S3750A、S3750B和R1762A已经学习到RIP路由(6分)
R1762A#show ip route
Codes: C - connected, S - static, R - RIP B - BGP
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
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default
Gateway of last resort is 200.1.1.2 to network 0.0.0.0
C 192.168.1.0/24 is directly connected, FastEthernet 1/0
C 192.168.1.1/32 is local host.
C 192.168.2.0/24 is directly connected, FastEthernet 1/1
C 192.168.2.1/32 is local host.
R 192.168.100.0/24 [120/1] via 192.168.1.2, 00:00:10, FastEthernet 1/0
R 192.168.200.0/24 [120/1] via 192.168.2.2, 00:00:29, FastEthernet 1/1
C 200.1.1.0/30 is directly connected, FastEthernet 3/0
C 200.1.1.1/32 is local host.
S3750A#show ip route
Codes: C - connected, S - static, R - RIP B - BGP
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
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default
Gateway of last resort is 192.168.1.1 to network 0.0.0.0
C 192.168.1.0/24 is directly connected, FastEthernet 0/10
C 192.168.1.2/32 is local host.
R 192.168.2.0/24 [120/1] via 192.168.1.1, 00:00:08, FastEthernet 0/10
C 192.168.100.0/24 is directly connected, VLAN 100
C 192.168.100.1/32 is local host.
R 192.168.200.0/24 [120/2] via 192.168.1.1, 00:00:08, FastEthernet 0/10
S3750B#show ip route
Codes: C - connected, S - static, R - RIP B - BGP
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
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default
Gateway of last resort is 192.168.2.1 to network 0.0.0.0
R 192.168.1.0/24 [120/1] via 192.168.2.1, 00:00:05, FastEthernet 0/10
C 192.168.2.0/24 is directly connected, FastEthernet 0/10
C 192.168.2.2/32 is local host.
R 192.168.100.0/24 [120/2] via 192.168.2.1, 00:00:05, FastEthernet 0/10
C 192.168.200.0/24 is directly connected, VLAN 200
C 192.168.200.1/32 is local host.
5. 在R1762A和R1762B之间建立PPP链路,并对PPP进行CHAP验证。(8分)
评分项1:在R1762A的S1/2接口封装PPP,并配置地址(1分)
配置过程:
R1762A#configure
R1762A (config)#interface S1/2
R1762A (config-if)#encapsulation ppp
R1762A (config-if)#ip address 200.1.1.1 255.255.255.252
Show结果:
R1762A #show ip interface brief
Interface IP-Address(Pri) OK? Status
Serial 1/2 200.1.1.1/30 YES UP
评分项2:在R1762B的S1/2接口封装PPP,并配置地址(1分)
配置过程:
R1762B#configure
R1762B (config)#interface S1/2
R1762B(config-if)#encapsulation ppp
R1762B(config-if)#ip address 200.1.1.2 255.255.255.252
Show结果:
R1762B #show ip interface brief
Interface IP-Address(Pri) OK? Status
Serial 1/2 200.1.1.2/30 YES UP
评分项3:在R1762A配置CHAP验证(2分)
配置过程:
R1762A#configure
R1762A (config)#username R1762B password 1234
R1762A (config)#interface S1/2
R1762A (config-if)#ppp authentication chap
Show结果:
R1762A # show running-config
interface Serial 1/2
encapsulation ppp
ppp authentication chap
评分项4:在R1762B配置CHAP验证(2分)
配置过程:
R1762B#configure
R1762B(config)#username R1762A password 1234
R1762B(config)#interface S1/2
R1762B(config-if)#ppp authentication chap
Show结果:
R1762B # show running-config
interface Serial 1/2
encapsulation ppp
ppp authentication chap
评分项5:PPP链路成功建立,R1762A可以ping通R1762B(2分)
6. 在R1762A、S3760A和S3760B上使用静态路由,实现与Internet的互联。(6分)
评分项1:在R1762A配置静态默认路由(2分)
配置过程:
R1762A#configure
R1762A (config)# ip route 0.0.0.0 0.0.0.0 200.1.1.2
Show结果:
R1762A# show ip route
Codes: C - connected, S - static, R - RIP B - BGP
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
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default
Gateway of last resort is 200.1.1.2 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 200.1.1.2
C 192.168.1.0/24 is directly connected, FastEthernet 1/0
C 192.168.1.1/32 is local host.
C 192.168.2.0/24 is directly connected, FastEthernet 1/1
C 192.168.2.1/32 is local host.
R 192.168.100.0/24 [120/1] via 192.168.1.2, 00:00:19, FastEthernet 1/0
R 192.168.200.0/24 [120/1] via 192.168.2.2, 00:00:08, FastEthernet 1/1
C 200.1.1.0/30 is directly connected, FastEthernet 3/0
C 200.1.1.1/32 is local host.
评分项2:在S3750A配置静态默认路由(2分)
配置过程:
S3750A#configure
S3750A (config)# ip route 0.0.0.0 0.0.0.0 192.168.1.1
Show结果:
S3750A#show ip route
Codes: C - connected, S - static, R - RIP B - BGP
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
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default
Gateway of last resort is 192.168.1.1 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 192.168.1.1
C 192.168.1.0/24 is directly connected, FastEthernet 0/10
C 192.168.1.2/32 is local host.
R 192.168.2.0/24 [120/1] via 192.168.1.1, 00:00:25, FastEthernet 0/10
C 192.168.100.0/24 is directly connected, VLAN 100
C 192.168.100.1/32 is local host.
R 192.168.200.0/24 [120/2] via 192.168.1.1, 00:00:25, FastEthernet 0/10
评分项3:在S3750B配置静态默认路由(2分)
配置过程:
S3750B#configure
S3750B (config)# ip route 0.0.0.0 0.0.0.0 192.168.2.1
Show结果:
S3750B#show ip route
Codes: C - connected, S - static, R - RIP B - BGP
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
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default
Gateway of last resort is 192.168.2.1 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 192.168.2.1
R 192.168.1.0/24 [120/1] via 192.168.2.1, 00:00:28, FastEthernet 0/10
C 192.168.2.0/24 is directly connected, FastEthernet 0/10
C 192.168.2.2/32 is local host.
R 192.168.100.0/24 [120/2] via 192.168.2.1, 00:00:28, FastEthernet 0/10
C 192.168.200.0/24 is directly connected, VLAN 200
C 192.168.200.1/32 is local host.
7. 在一台PC上配置FTP服务器,使VLAN 100中的PC能够进行文件的上传和下载。(15分)
评分项1:成功架设FTP服务器(10分)
评分项2:PC能够进行上传和下载操作(5分)
8. 在一台PC上配置网络打印机共享,使VLAN 100中的PC能够进行远程打印。(15分)
评分项1:成功配置网络打印机(10分)
评分项2:PC能够进行远程打印(5分)
9. 在R1762A上使用网络地址转换技术,使VLAN 100内使用私有地址的主机能够访问Internet中的资源。(12分)
评分项1:配置NAT的内部和外部接口(2分)
配置过程:
R1762A (config)#interface F1/0
R1762A (config-if)#ip nat inside
R1762A (config)#interface s1/2
R1762A (config-if)#ip nat outside
Show结果:
R1762A#show running-config
interface FastEthernet 1/0
ip nat inside
ip address 192.168.1.1 255.255.255.0
!
interface Serial 1/2
ip nat outside
ip address 200.1.1.1 255.255.255.252
评分项2:配置ACL(3分)
配置过程:
R1762A (config)#access-list 100 permit ip 192.168.100.0 0.0.0.255 any
Show结果:
R1762A#show access-lists
ip access-list extended 100
10 permit ip 192.168.100.0 0.0.0.255 any
评分项3:配置NAT转换(4分)
配置过程:
R1762A (config)# ip nat inside source list 100 interface s1/2 overload
Show结果:
R1762A#show ip nat statistics
Total translations: 4, max entries permitted: 30000
Peak translations: 7 @ 01:45:36 ago
Outside interfaces: FastEthernet 3/0
Inside interfaces: FastEthernet 1/0
Rule statistics:
[ID: 1] inside source dynamic
hit: 208
match (after routing):
ip packet with source-ip match access-list 100
action :
translate ip packet's source-ip use interface Serial 1/2
评分项4:PC能够ping通Web服务器(3分)
Show结果:
10. 在一台PC上配置Web服务器,使VLAN 100中的PC能够进行Web网页的浏览。(15
分)
评分项1:成功架设Web服务器(10分)
评分项2:PC能够浏览网页(5分)
版权声明:本文标题:全国中职计算机技能大赛(园区网)试题及参考答案 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/b/1708525340a526783.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论