图4-1为某学校网络拓扑图,运营商分配的公网IP地址为113.201.60.1/29,运营商网关地址为113.201.60.1,内部用户通过路由器代理上网,代理地址为113.201.60.2.核心交换机配置基于全局的DHCP服务,在办公楼和宿舍楼用户提供DHCP服务。内部网络划分为3个VLAN,其中VLAN10的地址10.0.10.1/24,VLAN20的地址10.0.20.1/24,VLAN30的地址10.0.30.1/24,请结合下图,回答相关问题。
图4-1
【问题1】(共9分)
路由器的配置片段如下,根据图4-1,补齐(1)~(6)空缺的命令。
#配置WAN接口和内网上网代理
<Huawei>system-view
[Huawei]sysname()
[Router]interface()
[Router-GigabitEthernet1/0/0]ip address()
[Router-GigabitEthernet1/0/0]quit
[Router]ip route-static 0.0.0.0 0.0.0.0()
[Router-acI-basic-2000]
[Router-acI-basic-2000]rule 5 permit source 10.0.0.0()
[Router-acl-basic-2000]quit
[Router]interface GigabitEthernet1/0/0
[Router-GigabitEthernet1/0/0]nat outbound()
[Router-GigabitEthernet1/0/0]quit
……
其他配置略
【问题2】(共6分)
核心交换机的配置片段如下,根据图4-1,补齐(7)~(10)空缺的命令。
#配置GEO/0/2接口加入VLAN20,并配置对应VLAN接口地址
[Switch]vlanbatch20
[Switch]inlterface?GigabitEthernet0/0/2
[Switch-GigabitEthernet0/0/2]port?link-type()
[Switch-GigabitEthernet0/0/2]port?hybrid?pvid?vlan20
[Switch-GigabitEthernet0/0/2]port?hybrid?untagged?vlan20
[Switch-GigabitEthernet0/0/2]quit
[Switch]interface?vlanif?20
[Switch-Vlanif20]ip?address()
[Switch-Vlanif20]quit
.......
其他配置略
#配置DHCP服务,租期3天
[Switch]dhcp()
[Switch]ip?pool?pooll
[Switch-ip-pool-pooll]network?10.0.20.0?mask?225.225.255.0
[Switch-ip-pool-pooll]dns-list?10.0.10.2
[Switch-ip-pool-pooll]gateway-list?10.0.20.1
[Switch-ip-pool-pooll]lesae?day()
[Switch-ip-pool-pooll]quit
[Switch]interface?vlanif?20
[Switch-Vlanif20]dhcp?select?global
[Switch-Vlanif20]quit
......
其他配置略
正确答案及解析
正确答案
解析
【问题1】(共9分)
(1)Router
(2)GigabitEthernet 1/0/0
(3)113.201.60.2 255.255.255.248
(4)113.201.60.1
(5)0.255.255.255(0.255.255.255—0.0.31.255任意一个合适的掩码均正确)
(6)2000
【问题2】(共6分)
(7)hybrid
(8)10.0.20.1 255.255.255.0
(9)enable
(10)3
【问题1】(共9分)
(1)对设备进行重命名。
(2)进入端口子模式
(3)给端口配置IP和掩码。
(4)配置默认路由,下一跳指向ISP地址。
(5)配置反掩码
(6)把符合ACL2000的地址做NAT转换
【问题2】(共6分)
(7)除了Access类型和Trunk类型外,交换机还支持第三种Hybrid类型端口。这种接口可以接收和发送多个VLAN数据帧,同时还能指定对任何VLAN帧进行剥离标签操作。
(8)配置接口IP和掩码
(9)dhcp enable:开启DHCP配置。
lease day 3:配置租约期间为3天。
包含此试题的试卷
你可能感兴趣的试题
Advancements in ( )have contributed to the growth of the automotive industry through the creation and evolution of self-driving vehicles.
-
- A.Artificial Intelligence
- B.Cloud Computing
- C.Internet of Things
- D.Big Data
- 查看答案
In project human resource management , ( )is not a source of power for the project manager.
-
- A.referent power
- B.expert power
- C.reward power
- D.audit power
- 查看答案
At the project establishment stage , the feasibility study mainly includes techinical feasibility analysis , ( ), operation environment feasibility analysis and other aspects of feasibility analysis.
-
- A.detail feasibility analysis
- B.opportunity analysis
- C.economic feasibility analysis
- D.risk analysis
- 查看答案
( )is a grid that shows the project resources assigned to each work package.
-
- A.Stakeholder engagement assessment matrix
- B.Requirements traceability matrix
- C.Probability and impact matrix
- D.Responsibility assignment matrix
- 查看答案
Xinhua News Agency reported in January 2022,Chian will further promote the developmet of a digital economy during the 14th Five-Year Plan eriod(2021-2025). The plan also emphasized industrial ( )transformation.
-
- A.digital
- B.networking
- C.intelligentize
- D.informatization
- 查看答案