1、计算机四级网络工程师历年考试综合题综合题一IP地址和划分08.4 计算并填写下表 IP地址124.196.27.59子网掩码255.224.0.0地址类别 【1】 网络地址 【2】 直接广播地址 【3】 主机号 【4】 子网内的最后一个可用IP地址 【5】 【1】A类【2】124.192.0.0【3】124.223.255.255【4】0.4.27.59【5】124.223.255.25408.9请将每一个空的正确答案写在答题卡【1】【20】序号的横线上,答在试卷上不得分。 计算并填写下表 IP地址124.196.27.59子网掩码255.224.0.0地址类别 【1】 网络地址 【2】 直接
2、广播地址 【3】 主机号 【4】 子网内的最后一个可用IP地址 【5】 【1】A类【2】124.192.0.0【3】124.223.255.255【4】0.4.27.59【5】124.223.255.25409.31.计算并填写下表IP地址121.175.21.9子网掩码255.192.0.0地址类别 【1】 网络地址 【2】 直接广播地址 【3】 主机号 【4】 子网内的最后一个可用IP地址 【5】 【1】A类【2】121.128.0.0/10【3】121.191.255.255【4】0.47.21.9【5】121.191.255.25409.91.计算并填写下表IP地址117.145.13
3、1.9子网掩码255.240.0.0主机号 【1】 网络地址 【2】 直接广播地址 【3】 子网内的第一个可用IP地址 【4】 子网内的最后一个可用IP地址 【5】 【1】0.1.131.9【2】117.144.0.0【3】117.159.255.255【4】117.144.0.1【5】117.159.255.25410.31、 B类 2、191.25.128.0 3、191.25.191.255 4、0.0.51.7 5、191.25.128.110.91.计算并填写下表IP地址145.189.24.3子网掩码255.255.224.0地址类别【1】网络地址【2】直接广播地址【3】主机号【4
4、】子网内的最后一个可用IP地址【5】11.31计算并填写下表IP 地址191.23.181.13子网掩码255.255.192.0地址类别【2】直接广播地址【3】主机号【4】子网内的最后一个可用IP 地址【5】1,B2,191.23.128.03,191.23.191.2554,0.0.53.135,191.23.191.254二、交换机.路由器的配置 084 如图1所示,一台Cisco 3500系列交换机上连接2台计算机,他们分别划分在VLAN10(ID号为 10)和VLAN11(ID号为11)中。交换机千兆以太网端口(g0/1)连接一台路由器,使2个VLAN之间能够通信,交换机管理地址为
5、167.11.45.2/24,缺省路由地址为 167.11.45.1/24。请阅读以下交换机的配置信息,并补充【6】【10】空白处的配置命令或参数。按题目要求完成交换机的配置。(注:填写答案时,配置语句的关键字要求拼写完整)Switch-3548enablePassword:*Switch-3548#Switch-3548#configure terminalSwitch-3548(config)#hostname Switch-libSwitch-lib(config)#Switch-lib(config)#interface vlan 1Switch-lib(config-if)#no s
6、hutdownSwitch-lib(config-if)#ip address 【6】 配置交换机的管理地址Switch-lib(config-if)#exit Switch-lib(config)#ip default-gateway 167.11.45.1Switch-lib(config)#vtp domain libSwitch-lib(config)#vtp mode transparentSwitch-lib(config)#exitSwitch-lib#vlan dataSwitch-lib(vlan)#vlan 【7】 建立VLAN10 建立VLAN11(省略) Switch-
7、lib(vlan)#exit Switch-lib#configure terminal Switch-lib(config)#interface f0/1 Switch-lib(config-if)#no shutdown Switch-lib(config-if)#switchport 【8】 为端口f0/1分配VLAN Switch-lib(config-if)#exit Switch-lib(config)#interface f0/6 为端口f0/6分配VLAN(省略) Switch-lib(config-if)#exit Switch-lib(config)#interface g
8、0/1 Switch-lib(config-if)#switchport 【9】 设置VLAN trunk 模式 Switch-lib(config-if)#switchport trunk encapsulation dotlq Switch-lib(config-if)#switchport trunk 【10】 配置允许中继的VLAN Switch-lib(config-if)#exit Switch-lib(config)#exit Switch-lib#【6】167.11.45.2 255.255.255.0【7】10 name vlan10【8】access vlan10【9】mo
9、de trunk【10】allowed vlan 10,11或allowed vlan 10-1108.9 某单位的办公网和商务网通过路由器R1、R2、R3与Internet相连,网络连接和IP地址分配如图1所示。该单位要求通过RIP路由协议使办公网和商务网之间能够互相通信,并正常访问Internet请阅读以下R1的配置信息,并补充【6】【10】空白处的配置命令或参数。按题目要求完成R1的正确配置。RouterenableRouter#Router#configure terminalRouter(config)#Router(config)#hostname R1R1(config)#int
10、erface f0/1R1(config-if)#ip address 202.206.16.1 255.255.255.0R1(config-if)#no shutdown R1(config-if)#interface f0/2R1(config-if)#ip adress 202.206.17.1 255.255.255.0R1(config-if)#no shutdownR1(config-if)#exitR1(config)#R1(config)#interface s1R1(config-if)#vlan ip adress 202.112.41.144 255.255.255.2
11、52 R1(config-if)#bandwidth 【6】 配置带宽为2.048Mbps R1(config-if)# 【7】 PPP 封装PPP协议 R1(config-if)#no shutdown R1(config-if)#exit R1(config-if)#ip route 【8】 配置缺省路由 R1(config-if)#router rip R1(config-router)#network 【9】 配置参与RIP的网络 R1(config-router)#network 【10】 配置参与RIP的网络 R1(config-router)#end R1#write R1#【6
12、】2048【7】encapsulation【8】0.0.0.0 0.0.0.0 202.112.41.143【9】202.206.16.0【10】202.206.17.009.32.如图1所示,某校园网使用l0Gbps的POS技术与CERNET相连,POS接口的帧格式使用SDH。路由协议的选择方案是校园网采用OSPF动态路由协议,校园网与CERNET的连接使用静态路由协议。另外,还要求在路由器R3上配置一个loopback接口,接口的IP地址为192.167.150.1。请阅读以下R3的配置信息,并补充【6】,一【10】空白处的配置命令或参数,按题目要求完成路由器的配置。 Router-R3
13、#configure teminal Router-R3 (canfig)# Rauter-R3 (config)#interface pos3/1 Router-R3 (conflg-if)#descript.ion To CERNET Router-R3 (config-if)#bandwidth eses【6】- Routes-R3 (conlig-i0#ip address 222.112.37.1 255.255.255.252 Routes-R3 (config-if)#crc 32 Routes-R3 (config-ifj#【7】 一配置帧格式 Routes-R3 (confi
14、g-if)#na ip directed-broadcast Routes-R3 (config-i#pos flag s1s0 2 Routes-R3 (config-ill#no shutdown Routes-R3 (config-ifl#exit Routes-R3 (canfig)#interface loopback 0Router-R3 (conflg-i介#ip address 192.167.150.1【8】Router-R3 (config-i0#no ip route-cacheRouter-R3 (config-if)#no ip_mroute-cacheKouter-
15、R3 (config-i匀#exitRouter-R3 (config)#router ospf 63Router-R3 (config-router)#network 167.112.0.0【9】一-area 0Router-R3 (config-router)#redistribute connected metric-type 1 subnetsRouter-R3 (config-router)#area 0 range 167.112.0.0【10】Router-R3 (con,tg-router)#exitRouter-R3 (config)#Router-R3 (config)#i
16、p route 0.0.0.0 0.0.0.0 222.112.37.2Router-R3 (config)#exitRouter-R3#write【6】10 000 000【7】pos framing sdh【8】255.255.255.255【9】0.0.255.255【10】255.255.0.009.92.如图1所示,某校园网使用2.5Gbps的POS技术与CERNET相连,POS接口的帧格式使用SONET,并要求在R3上封禁所有目的的端口号为1434的UDP数据包进入校园网。请阅读以下R3关于POS接口和访问控制列表的配置信息,并补充【6】,一【10】空白处的配置命令或参数,按题目要
17、求完成路由器R3的相关配置。 R3的POS接口配置 Router-R3 #configure teminal Router-R3 (canfig)# Rauter-R3 (config)#interface pos3/1 Router-R3 (conflg-if)#descript.ion To CERNET Router-R3 (config-if)#bandwidth 【6】 Routes-R3 (conlig-if)#ip address 193.52.37.1 255.255.255.252 Routes-R3 (config-if)#crc 32 Routes-R3 (config-
18、ifj#pos framing sonet Routes-R3 (config-if)#no ip directed-broadcast Routes-R3 (config-if#pos flag 【7】 Routes-R3 (config-if)#no shutdown Routes-R3 (config-if)#exit Routes-R3 (config)# R3的访问控制列表配置 Routes-R3 (canfig)#access-list 130 【8】 any any eq 1434 Routes-R3 (canfig)#access-list 130 permit 【9】 any
19、 any Rauter-R3 (config)#interface pos3/1 Routes-R3 (config-if)#ip access-group 【10】 Routes-R3 (config-if)#exit Routes-R3 (config)#【6】2500000【7】S1 S0 0【8】deny udp【9】ip【10】130 in10.3请阅读下列关于交换机S4的VLAN配置信息,并补充空白处的配置命令或参数,按题目要求完成交换机S4的相关配置。Switch-S4-3548 # vlan dataSwitch-S4-3548 (vlan)# vlan2 name jszx2
20、Switch-S4-3548 (vlan)# vlan3 name jszx3Switch-S4-3548 (vlan)# vlan4 name jszx4Switch-S4-3548 (vlan)# vlan5 name jszx5Switch-S4-3548 (vlan)# exitSwitch-S4-3548 # configure terminalSwitch-S4-3548 (config)# interface 【6】 (进入端口配置模式)Switch-S4-3548 (config-if)# switchport 【7】 (配置VLAN trunk模式)Switch-S4-354
21、8 (config-if)# switchport trunk encapsulation 【8】 (封装协议)Switch-S4-3548 (config-if)# switchport truck allowed 【9】 (设置可中继的VLAN)Switch-S4-3548 (config-if)# switchport truck allowed 【10】 (去除不允许中继的VLAN)Switch-S4-3548 (config-if)# exitSwitch-S4-3548 (config)# exitSwitch-S4-3548 #6、G2/2 7、mode trunk 8、dot1
22、q 9、vlan 2-5 10、 11、202.102.1.3010.92.如图1所示,某校园网使用lOGbps的POS技术与CERNET相连,POS接口的帧格式使用SDH,R1和R2之间使用静态路由。请阅读以下R1和R2关于POS接口和静态路由的配置信息,并补充空白处的配置命令或参数,按题目要求完成路由器的相关配置。R1的POS接口配置Router-R1#configure terminalRouter-R1(config)#Router-R1(config)#interface pos4/10Router-R1(config-i0#bandwidth【6】Router-R1(config-
23、if)#ip address 203.22.76.2 255.255.255.252Router-R1(config-if)#crc 32Router-R1(config-if)#pos framing sdhRouter-R1(config-if)#no ip directed-broadcastRouter-R1(config-if)#pos flag【7】Router-R1(config-if)#no shutdownRouter-R1(config-if)#exitRouter-R1(config)#R1的静态路由配置Router-R1 (config)#ip route 【8】【9】
24、203.22.76.1R2的静态路由配置Router-R2 (config)#ip route 0.0.0.0 0.0.0.0【10】11.32.如图1 所示,某园区网用2.5Gbps 的POS 技术与Internet 相连,POS 接口的帧格式是SONET。路由协议的选择方案是,园区网内部采用OSPF 协议,园区网与Internet 的连接使用静态路由。图1 网络结构图请阅读以下R1 和R3 的部分配置信息,并补充【6】【10】空白处的配置命令或参数,按题目要求完成路由器的配置。R1 缺省路由的配置信息Router-R1 #configure terminalRouter-R1(config
25、)#Router-R1(config)# ip router 0.0.0.0 【6】Router-R1(config)# exitRouter-R1 #R3 的POS 接口和OSPF 协议的配置信息Router-R3 # configure terminalRouter-R3 (config) #Router-R3(config) # interface pos3/0Router-R3(config-if) # description To InternetRouter-R3(config-if) # bandwidth 2500000Router-R3(config-if) # ip add
26、ress 221.195.178.1 255.255.255.252Router-R3(config-if) # crc 32Router-R3(config-if) # pos 【7】Router-R3(config-if) # no ip directed-broadcastRouter-R3(config-if) # pos flag 【8】Router-R3(config-if) # no shutdownRouter-R3(config-if) # exitInternetR1园区网R2R3211.100.66.0/26211.100.66.64/26221.195.178.1/30
27、Interface POS3/0Interface POS3/0221.195.178.2/302.5GbpsInterface g0/1166.12.45.1/24Interface g0/1166.12.45.2/24R49Router-R3(config)# router ospf 65Router-R3(config-router)# network 211.100.66.0 【9】 area 0Router-R3(config-router)# redistribute connected metric-type 1 subnetsRouter-R3(config-router)#
28、area 0 range 211.100.66.0 【10】Router-R3(config-router)# exitRouter-R3(config)#6, C P407, B P468, B9, C10, A 聚合后的地址为59.67.79.128/26,IP 总数64三DHCP的控制08.4 某公司使用DHCP服务器对公司内部主机的IP地址进行管理,已知: 该公司共有40个可用IP地址为:59.64.22.1159.64.22.50 DHCP服务器选用Windows 2003 Server,其IP 地址为:59.64.22.12 DHCP客户机使用的操作系统是Windows XP请问答
29、下列问题:(1)DHCP客户机得到图2所示信息使用的命令是 【11】 (2)如图3所示DHCP服务器作用域的配置界面中,长度域输入的数值应是 【12】 (3)在能为客户机分配地址之前,还必须执行的操作是 【13】 (4)DHCP服务器要为一个客户机分配固定的IP地址时,需要执行的操作是 【14】 (5)DHCP客户机要释放已获取的IP地址时,使用的命令是 【15】 【11】ipconfig/all【12】8【13】配置DHCP服务器选项(激活)【14】激活作用域【15】ipconfig/release08.9 某部门网络管理员使用DHCP服务器对公司内部主机的IP地址进行管理,已知: 该公司共有40个可用IP地址为:202.112.11.11.11202.112.11.50 DHCP服务器选用Windows 2003 操作系统,其IP 地址为:202.112.11.11 连接该子网络路由器端口的IP地址为202.112.11.12 DHCP客户机使用Windows XP操作系统请问答下列问题:(1)配置DHCP服务器作用域时,起始IP地址输入202.112.11.11,结束IP地址输入202.112.11.50,长度域输入的数值为26。在设置“添加排除”时,起始IP地址应为 【11】 ,结束IP地址应为 【12】 。(2)DHCP服务器已
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1