2011中职计算机网络技能大赛模拟试题(二)参考答案
青岛鸿绪工程技术有限公司 于建
数字化校园、软件开发、网络安全、数据中心、虚拟化; 鸿绪机房管理系统、鸿绪教学质量测评系统、鸿绪项目管理系统;
Mob:186********
E-mail:hongxujishu@https://www.360docs.net/doc/ed257691.html,
QQ:5970199 239015041
参考答案
注意:下面参考答案,根据现场的实际进行打分,每错误一项扣1分,所以试题都此标准执行。
第一部分:网络系统构建 题目
参考答案 北京总公司
(1)网络底层配置(4分)
RSR-1(config)#interface s2/0
RSR-1(config-if)# ip add 10.0.0.9 255.255.255.248
RSR-1 (config-if)#no shutdown
RSR-1(config)#interface fa0/0
RSR-1 (config-if)#ip add 10.0.0.1 255.255.255.252
RSR-1(config-if)#no shutdown
RSR-1 (config)#interface fa0/1
RSR-1(config-if)# ip add 181.1.1.1 255.255.255.248
RSR-1 (config-if)#no shutdown
RS-1(config)# interface fa0/1
RS-1(config-if)#no switchport
RS-1(config-if)# ip add 10.0.0.2 255.255.255.252
RS-1(config-if)#no shutdown
RS-1(config)#vlan10
RS-1(config)#vlan20
RS-1(config)#vlan50
RS-1(config)#interface vlan 10
RS-1(config-if-vlan)#ip add 10.1.1.1 255.255.255.0
RS-1(config-if-vlan)#no shutdown
RS-1(config)#interface vlan 20
青岛鸿绪工程技术有限公司 于建 数字化校园、软件开发、网络安全、数据中心、虚拟化;
鸿绪机房管理系统、鸿绪教学质量测评系统、鸿绪项目管理系
统; Mob:186******** E-mail:hongxujishu@https://www.360docs.net/doc/ed257691.html,
QQ:5970199 239015041
RS-1(config-if-vlan)#ip add 10.1.2.1 255.255.255.0
RS-1(config-if-vlan)#no shutdown
RS-1(config)#interface vlan 50
RS-1(config-if-vlan)#ip add 10.1.5.1 255.255.255.0
RS-1(config-if-vlan)#no shutdown
(2)路由协议配
置(4分) RSR-1(config)#router ospf 10
RSR-1(config-router)#route-id 2.2.2.2
RSR-1(config-router)#network 10.0.0.0 0.0.0.3 area 0
RSR-1(config-router)#network 10.0.0.8 0.0.0.7 area 0
RSR-1(config)#ip route 0.0.0.0 0.0.0.0 fa0/1
RS-1(config)#router ospf 10 RS-1(config-router)#route-id 1.1.1.1
RS-1(config-router)#network 10.0.0.0 0.0.0.3 area 0
RS-1(config-router)#network 10.1.1.0 0.0.0.255 area 0
RS-1(config-router)#network 10.1.2.0 0.0.0.255 area 0
RS-1(config-router)#network 10.1.5.0 0.0.0.255 area 0
RS-1(config)# ip route 0.0.0.0 0.0.0.0 10.0.0.1
RSR-1(config)#interface s2/0
RSR-1(config-if)#ip ospf network point-to-multipoint
(3)网络出口配置 RSR-1(config)#interface s2/0
RSR-1 (config-if)#ip nat inside
RSR-1(config)#interface fa0/1
RSR-1(config-if)#ip nat outside
RSR-1(config)#interface fa0/0
RSR-1(config-if)#ip nat inside
RSR-1(config)#access-list 10 permit 10.1.1.0 0.0.0.255
RSR-1(config)#access-list 11 permit 10.1.2.0 0.0.0.255
RSR-1(config)#ip nat inside source list 10 interface fastethernet 0/1 overload
RSR-1(config)#ip nat inside source list 11 interface fastethernet 0/1 overload
RSR-1(config)#ip nat inside source static tcp 10.1.5.252 20 181.1.1.5 20
RSR-1(config)#ip nat inside source static tcp 10.1.5.252 21 181.1.1.5 21
RSR-1(config)#ip nat inside source static tcp 10.1.5.251 80 181.1.1.5 80
青岛鸿绪工程技术有限公司 于建 数字化校园、软件开发、网络安全、数据中心、虚拟化;
鸿绪机房管理系统、鸿绪教学质量测评系统、鸿绪项目管理系
统; Mob:186******** E-mail:hongxujishu@https://www.360docs.net/doc/ed257691.html,
QQ:5970199 239015041
(4)链路配置(4分) RSR-1(config)# interface Serial2/0
RSR-1(config-if)#encapsulation frame-relay IETF
RSR-1(config-if)#frame-relay interface-dlci 16
RSR-1(config-if)#frame-relay interface-dlci 17 RSR-1(config-if)#frame-relay lmi-type ansi
RSR-1(config-if)# frame-relay map ip 10.0.0.10 16
RSR-1(config-if)# frame-relay map ip 10.0.0.11 17
(5)接入层配置(4分) RS-1(config)# spanning-tree
RS-1(config)#interface range fastethernet 0/21-24
RS-1(config-if-range)#switchport access vlan 50
RS-1(config)#interface range fastethernet 0/5-10
RS-1(config-if-range)#switchport access vlan 10
RS-1 (config-if-range)#switchport port-security
RS-1 (config-if-range)#switchport port-security maximum 1
RS-1 (config-if-range)#switchport port-security violation shutdown RS-1 (config-if-range)# spanning-tree portfast
RS-1(config)#interface range fastethernet 0/11-20
RS-1(config-if-range)#switchport access vlan 20
RS-1 (config-if-range)#switchport port-security
RS-1 (config-if-range)#switchport port-security maximum 1
RS-1 (config-if-range)#switchport port-security violation shutdown
RS-1 (config-if-range)# spanning-tree portfast
天津分公司
(1)网络底层配置(4分) RSR-4(config)#interface s2/0
RSR-4(config-if)# ip add 10.0.0.10 255.255.255.248
RSR-4(config-if)#no shutdown
RSR-4(config)#interface fa0/1
RSR-4(config-if)#ip address 183.1.1.1 255.255.255.248
RS-2 (config)#vlan 30
RS-2 (config)#vlan 40
RS-2 (config)#i nterface fa0/1
RS-2(config-if)#switchport mode trunk
青岛鸿绪工程技术有限公司 于建
数字化校园、软件开发、网络安全、数据中心、虚拟化; 鸿绪机房管理系统、鸿绪教学质量测评系统、鸿绪项目管理系统;
Mob:186********
E-mail:hongxujishu@https://www.360docs.net/doc/ed257691.html,
QQ:5970199 239015041
(2)路由协议配置(4分) RSR-4(config)#router ospf 10
RSR-4(config-router)#route-id 4.4.4.4
RSR-4(config-router)#network 10.0.0.8 0.0.0.7 area 0
RSR-4(config-router)#network 10.1.3.0 0.0.0.255 area 0 RSR-4(config-router)#network 10.1.4.0 0.0.0.255 area 0
RSR-4(config)#interface s2/0
RSR-4(config-if)#ip ospf network point-to-multipoint
(3)链路及网络出口配置(4分) RSR-4(config)# interface Serial2/0
RSR-4(config-if)#encapsulation frame-relay IETF
RSR-4(config-if)#frame-relay interface-dlci 36
RSR-4(config-if)#frame-relay interface-dlci 37
RSR-4(config-if)#frame-relay lmi-type ansi
RSR-4(config-if)# frame-relay map ip 10.0.0.9 36
RSR-4(config-if)# frame-relay map ip 10.0.0.11 37
RSR-4(config)#interface fa0/1 RSR-4(config-if)#ip nat outside
RSR-4(config)#interface fa0/0
RSR-4(config-if)#ip nat inside
RSR-4(config)#access-list 10 permit 10.1.3.0 0.0.0.255
RSR-4(config)#access-list 11 permit 10.1.3.0 0.0.0.255
RSR-4(config)#ip nat inside source list 10 interface fastethernet 0/1 overload
RSR-4(config)#ip nat inside source list 11 interface fastethernet 0/1 overload
(4)单臂路由配置(4分) RSR-4(config)#interface fa0/0
RSR-4(config-if)#no shutdown
RSR-4(config)#interface fa0/0.30
RSR-4(config-subif)#encapsulation dot1q 30 RSR-4(config-subif)#ip add 10.1.3.1 255.255.255.0
RSR-4(config-subif)#no shutdown RSR-4(config)#interface fa0/0.40
RSR-4(config-subif)#encapsulation dot1q 40
RSR-4(config-subif)#ip add 10.1.4.1 255.255.255.0
RSR-4(config-subif)#no shutdown
青岛鸿绪工程技术有限公司 于建 数字化校园、软件开发、网络安全、数据中心、虚拟化;
鸿绪机房管理系统、鸿绪教学质量测评系统、鸿绪项目管理系
统; Mob:186******** E-mail:hongxujishu@https://www.360docs.net/doc/ed257691.html,
QQ:5970199 239015041
(5)接入层配置
(4分) RS-4(config)# spanning-tree RS-4(config)#interface range fastethernet 0/5-10 RS-4(config-if-range)#switchport access vlan 30 RS-4(config-if-range)#switchport port-security RS-4(config-if-range)#switchport port-security maximum 1 RS-4(config-if-range)#switchport port-security violation shutdown RS-4(config-if-range)# spanning-tree portfast
RS-4(config)#interface range fastethernet 0/11-20
RS-4(config-if-range)#switchport access vlan 40
RS-4 (config-if-range)#switchport port-security
RS-4(config-if-range)#switchport port-security maximum 1
RS-4(config-if-range)#switchport port-security violation shutdown
RS-4(config-if-range)# spanning-tree portfast
上海分公司 (1)网络底层配置(4分) RSR-3(config)#interface s2/0
RSR-3(config-if)# ip add 10.0.0.10 255.255.255.248
RSR-3(config-if)#no shutdown
RSR-3(config)#interface fastethernet 0/0
RSR-3(config-if)# ip add 10.0.0.5 255.255.255.252
RSR-3(config-if)#no shutdown
RSR-3(config)#interface fastethernet 0/1
RSR-3(config-if)# ip add 182.1.1.1 255.255.255.248
RSR-3(config-if)#no shutdown
(2)路由协议配置(3分) RSR-3 (config)#router ospf 10
RSR-3 (config)#router 3.3.3.3
RSR-3 (config-router)#network 10.0.0.8 0.0.0.7 area 0
RSR-3 (config-router)#network 10.0.0.4 0.0.0.3 area 0
RSR-3 (config)#ip route 0.0.0.0 0.0.0.0 fa0/1
RSR-3(config)#interface s2/0
RSR-3(config-if)#ip ospf network point-to-multipoint
(3)网络出口配RSR-3(config)#interface fa0/1
RSR-3(config-if)#ip nat outside
青岛鸿绪工程技术有限公司 于建 数字化校园、软件开发、网络安全、数据中心、虚拟化;
鸿绪机房管理系统、鸿绪教学质量测评系统、鸿绪项目管理系
统; Mob:186******** E-mail:hongxujishu@https://www.360docs.net/doc/ed257691.html,
QQ:5970199 239015041
置(3分
RSR-3(config)#interface fa0/0 RSR-3(config)#speed 100 RSR-3(config-if)#ip nat inside RSR-3(config)#access-list 10 permit 10.1.6.0 0.0.0.255 RSR-3(config)#ip nat inside source list 10 interface fastethernet 0/1 overload (4)无线网络配
置(8分) AP-1(config)#interface GigabitEthernet 0/1 AP-1(config-if- gigabitEthernet 0/1)#ip address 10.0.0.6 255.255.255.252 AP-1(config-if- gigabitEthernet 0/1)# speed 100 AP-1(config)#service dhcp AP-1(config)#ip dhcp pool pool1 AP-1(dhcp-config)# network 10.1.6.0 255.255.255.0 AP-1(dhcp-config)#dns-server 10.1.6.1 AP-1(dhcp-config)#default-router 10.1.6.1 AP-1(config)#dot11 wlan 10 AP-1(dot11-wlan-config)#vlan 1 AP-1(dot11-wlan-config)#no broadcast-ssid AP-1(dot11-wlan-config)#ssid Ruijie AP-1(config)#interface Dot11radio 1/0 AP-1(config-if-Dot11radio 1/0)#encapsulation dot1Q 1
AP-1(config-if-Dot11radio 1/0)#mac-mode fat
AP-1(config-if-Dot11radio 1/0)#radio-type 802.11b
AP-1(config-if-Dot11radio 1/0)#channel 1
AP-1(config-if-Dot11radio 1/0)#wlan-id 10
AP-1(config-if-Dot11radio 2/0)#encapsulation dot1Q 1
AP-1(config-if-Dot11radio 1/0)#mac-mode fat
AP-1(config-if-Dot11radio 1/0)#radio-type 802.11a
AP-1(config-if-Dot11radio 1/0)#channel 149
AP-1(config-if-Dot11radio 1/0)#wlan-id 10
AP-1(config)#interface BVI 1
AP-1(config-if-BVI 1)#ip address 10.1.6.1 255.255.255.0
AP-1(config)#router ospf 10
AP-1(config)#router-id 7.7.7.7
青岛鸿绪工程技术有限公司 于建
数字化校园、软件开发、网络安全、数据中心、虚拟化; 鸿绪机房管理系统、鸿绪教学质量测评系统、鸿绪项目管理系统;
Mob:186********
E-mail:hongxujishu@https://www.360docs.net/doc/ed257691.html,
QQ:5970199 239015041
AP-1(config-router)#network 10.0.0.4 0.0.0.3 area 0
AP-1(config-router)#network 10.1.6.0 0.0.0.255 area 0
AP-1(config)#ip route 0.0.0.0 0.0.0.0 10.0.0.17
AP-1(config)#wlansec 10
AP-1(wlansec)# security rsn enable
AP-1(wlansec)#security rsn ciphers aes enable
AP-1(wlansec)#security rsn akm psk enable
AP-1(wlansec)#security rsn akm psk set-key ascii 12345678
无线客户端配置
(5)链路配置(4分) RSR-3(config)# interface Serial2/0
RSR-3(config-if)#encapsulation frame-relay IETF
RSR-3(config-if)#frame-relay interface-dlci 26
RSR-3(config-if)#frame-relay interface-dlci 27 RSR-3(config-if)#frame-relay lmi-type ansi
RSR-3(config-if)# frame-relay map ip 10.0.0.9 26
RSR-3(config-if)# frame-relay map ip 10.0.0.10 27
青岛鸿绪工程技术有限公司 于建
数字化校园、软件开发、网络安全、数据中心、虚拟化; 鸿绪机房管理系统、鸿绪教学质量测评系统、鸿绪项目管理系统;
Mob:186********
E-mail:hongxujishu@https://www.360docs.net/doc/ed257691.html,
QQ:5970199 239015041
城域网络
(1)帧中继网络配置(8分)
RSR-2(config)# frame-relay switching
RSR-2(config)# interface Serial2/0
RSR-2(config-if)#no ip address
RSR-2(config-if)#encapsulation frame-relay IETF
RSR-2(config-if)#frame-relay lmi-type ansi
RSR-2(config-if)#frame-relay intf-type dce
RSR-2(config-if)#frame-relay route 16 interface Serial2/1 36
RSR-2(config-if)#frame-relay route 17 interface Serial2/2 26
RSR-2(config-if)#no shutdown
RSR-2(config)#interface Serial2/1
RSR-2(config-if)#no ip address
RSR-2(config-if)#encapsulation frame-relay IETF
RSR-2(config-if)#frame-relay lmi-type ansi
RSR-2(config-if)#frame-relay intf-type dce
RSR-2(config-if)#frame-relay route 36 interface Serial2/0 17
RSR-2(config-if)#frame-relay route 37 interface Serial2/2 27
RSR-2(config-if)#no shutdown
RSR-2(config)#interface Serial2/2
RSR-2(config-if)#no ip address
RSR-2(config-if)#encapsulation frame-relay IETF
RSR-2(config-if)#frame-relay lmi-type ansi
RSR-2(config-if)#frame-relay intf-type dce
RSR-2(config-if)#frame-relay route 26 interface Serial2/0 16
RSR-2(config-if)#frame-relay route 27 interface Serial2/1 37
RSR-2(config-if)#no shutdown
青岛鸿绪工程技术有限公司 于建
数字化校园、软件开发、网络安全、数据中心、虚拟化; 鸿绪机房管理系统、鸿绪教学质量测评系统、鸿绪项目管理系统;
Mob:186********
E-mail:hongxujishu@https://www.360docs.net/doc/ed257691.html,
QQ:5970199 239015041
第二部分:应用系统搭建
搭建域服务器
(1)服务器角色配置(5分) DNS 服务需要正确配置SOA ,NS ,AAA 记录和反向记录,查看域名,dns 是否正确,使用nslookup 正常解析SOA 、NS 、AAA 等记录,错误一点扣0.5分。 C:\>nslookup
Default Server:https://www.360docs.net/doc/ed257691.html,
Address: 10.1.5.253
> set type=SOA
> https://www.360docs.net/doc/ed257691.html,
Server: https://www.360docs.net/doc/ed257691.html,
Address: 10.1.5.253
https://www.360docs.net/doc/ed257691.html,
primary name server = https://www.360docs.net/doc/ed257691.html,
responsible mail addr = hostmaster
serial = 24
青岛鸿绪工程技术有限公司 于建
数字化校园、软件开发、网络安全、数据中心、虚拟化; 鸿绪机房管理系统、鸿绪教学质量测评系统、鸿绪项目管理系统;
Mob:186********
E-mail:hongxujishu@https://www.360docs.net/doc/ed257691.html,
QQ:5970199 239015041
refresh = 900 (15 mins)
retry = 600 (10 mins)
expire = 86400 (1 day)
default TTL = 3600 (1 hour)
https://www.360docs.net/doc/ed257691.html, internet address = 10.1.5.253
> set type=NS
> https://www.360docs.net/doc/ed257691.html,
Server: https://www.360docs.net/doc/ed257691.html,
Address: 10.1.1.253
https://www.360docs.net/doc/ed257691.html, nameserver = https://www.360docs.net/doc/ed257691.html,
https://www.360docs.net/doc/ed257691.html, internet address = 10.1.5.253
>
C:\>nslookup
Default Server: https://www.360docs.net/doc/ed257691.html,
Address: 10.1.5.253
> https://www.360docs.net/doc/ed257691.html,
Server: https://www.360docs.net/doc/ed257691.html,
Address: 10.1.5.253
Name: https://www.360docs.net/doc/ed257691.html,
Address: 10.1.5.251
> https://www.360docs.net/doc/ed257691.html,
Server: https://www.360docs.net/doc/ed257691.html,
Address: 10.1.5.253
Name: https://www.360docs.net/doc/ed257691.html,
Address: 10.1.5.252
> 10.1.1.251
Server: https://www.360docs.net/doc/ed257691.html,
Address: 10.1.5.253
Name: https://www.360docs.net/doc/ed257691.html,
Address: 10.1.5.251
> 10.1.5.252
青岛鸿绪工程技术有限公司 于建 数字化校园、软件开发、网络安全、数据中心、虚拟化;
鸿绪机房管理系统、鸿绪教学质量测评系统、鸿绪项目管理系
统; Mob:186******** E-mail:hongxujishu@https://www.360docs.net/doc/ed257691.html,
QQ:5970199 239015041
Server: https://www.360docs.net/doc/ed257691.html,
Address: 10.1.5.253
Name: https://www.360docs.net/doc/ed257691.html,
Address: 10.1.5.252
(2)用户和组配置(5分) 查看4个OU 、4 个全局组、12个用户缺少一个扣0.5分
C:\Documents and Settings\Administrator>net group sales 组名 sales 成员
-----------------------------------------------------------------------
sale sales_1 sales_2
C:\Documents and Settings\Administrator>net group manager
组名 manager
成员
-----------------------------------------------------------------------
man man_2 master
C:\Documents and Settings\Administrator>net group production
组名 production
成员
-----------------------------------------------------------------------
prod prod_1 prod_2
C:\Documents and Settings\Administrator>net group administeration
组名 administeration
青岛鸿绪工程技术有限公司 于建
数字化校园、软件开发、网络安全、数据中心、虚拟化; 鸿绪机房管理系统、鸿绪教学质量测评系统、鸿绪项目管理系统;
Mob:186********
E-mail:hongxujishu@https://www.360docs.net/doc/ed257691.html,
QQ:5970199 239015041
成员
-----------------------------------------------------------------------
adm adm_1 adm_2
搭建WEB 服务器
(1)服务器角色配置(5分)
(2)服务器优化配置(5分) 在任何一台PC 上的IE 浏览器输入https://www.360docs.net/doc/ed257691.html, 都能看到页面。将两台PC 的的一台IIS 服务停止,输入https://www.360docs.net/doc/ed257691.html,
都能看到网页,网页页面需按要求制作,以上一点不正确扣0.5分
配置主机头,所有的站点都必须使用域名登录,不允许使用IP 地址访问
青岛鸿绪工程技术有限公司 于建 数字化校园、软件开发、网络安全、数据中心、虚拟化;
鸿绪机房管理系统、鸿绪教学质量测评系统、鸿绪项目管理系
统; Mob:186******** E-mail:hongxujishu@https://www.360docs.net/doc/ed257691.html,
QQ:5970199 239015041
搭建FTP 服务器
[root@FTP ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:40:3C:B7
inet addr:10.1.5.252 Bcast:10.1.5.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fe40:3cb7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1036 errors:0 dropped:0 overruns:0 frame:0 TX packets:924 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:143064 (139.7 KiB) TX bytes:87836 (85.7 KiB) Interrupt:10 Base address:0x1400
[root@FTP ~]# cat /etc/resolv.conf
nameserver 10.1.5.253
[root@LAB3 ~]# hostname
https://www.360docs.net/doc/ed257691.html,
青岛鸿绪工程技术有限公司 于建 数字化校园、软件开发、网络安全、数据中心、虚拟化;
鸿绪机房管理系统、鸿绪教学质量测评系统、鸿绪项目管理系
统; Mob:186******** E-mail:hongxujishu@https://www.360docs.net/doc/ed257691.html,
QQ:5970199 239015041
[root@LFTP ~]# service vsftpd status vsftpd (pid 2776) 正在运行... [root@FTP ~]# [root@FTP ~]# cat /etc/vsftpd/vsftpd.conf ………… anonymous_enable=YES # # Uncomment this to allow local users to log in. local_enable=YES # # Uncomment this to enable any form of FTP write command. write_enable=YES ……………… [root@FTP ~]# cat /etc/passwd user1:x:500:500::/home/user1:/bin/bash user2:x:501:501::/home/user2:/bin/bash C:\>ftp https://www.360docs.net/doc/ed257691.html, Connected to 10.1.5.252 220 (vsFTPd 2.0.1) User (192.168.88.100:(none)): ftp 331 Please specify the password. Password: 230 Login successful. ftp> put abc.text
200 PORT command successful. Consider using PASV.
550 Permission denied.
ftp> bye
221 Goodbye.
C:\>ftp https://www.360docs.net/doc/ed257691.html,
Connected to 10.1.5.252
青岛鸿绪工程技术有限公司 于建
数字化校园、软件开发、网络安全、数据中心、虚拟化; 鸿绪机房管理系统、鸿绪教学质量测评系统、鸿绪项目管理系统; Mob:186********
E-mail:hongxujishu@https://www.360docs.net/doc/ed257691.html,
QQ:5970199 239015041
220 (vsFTPd 2.0.1)
User (10.1.5.20:(none)): user1
331 Please specify the password.
Password:
230 Login successful.
ftp> put abc.text
200 PORT command successful. Consider using PASV.
150 Ok to send data.
226 File receive OK.
ftp> dir
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
-rw-r--r-- 1 500 500 50783 Mar 19 03:25 22.pdf -rw-r--r-- 1 500 500 0 Mar 19 03:37 abc.text 226 Directory send OK.
ftp: 收到 130 字节,用时 0.00Seconds 130000.00Kbytes/sec. ftp>