试题详情

阅读下列说明,一回答问题1至问题2,将解答填入答题纸的对应栏内。【说明】图4-1是某学校的的网络拓扑图,运营商分配的公网IP地址为113.201.60.1/29,运营商的网关地址为 113.201.60.1,内部用户通过路由器代理代理上网,代理地址为113.201.60.2.核心交换机配置基于全局的DHCP服务,为办公楼和宿舍楼用户提供DHCP服务。内部网络划分为3个Vlan,其中vlan 10的地 址是10.0.10.1/24,vlan20的地址是10.0.20.1/24,vlan 30的地址是10.0.30.1/24.结合案例,回答下列问题。 问题一;路由器的配置片段如下,根据图4- 1,补齐(1) ~(6) 空缺 的命令<Huawei>system-view Huawei] sysname( 1) [Router] interface( 2 ) [Router-GigabitEthernet1/0/0] ip address(3) [Router-GigabitEthernet1/0/0] quit [Router] ip route-static 0.0.0.0 0.0.0.0( 4 ) [Router-acI-basic-2000] [Router-acI-basic-2000] rule 5 permit source 10.0.0.0( 5 ) [Router-acl-basic-2000] quit [Router] interface GigabitEthernet1/0/0 [Router-GigabitEthernet1/0/0] nat outbound(6 ) [Router-GigabitEthernet1/0/0] quit …… 其他配置略 问题二:核心交换机的配置片段如下,根据图 4-1,补齐 (7)~(10) 空缺的命令。#配置GE0/0/2接口加入VLAN20,并配置对应VLAN接口地址 [Switch]vlan batch 20[Switch]interface GigabitEthernet0/0/2[Switch-GigabitEthernet0/0/2]port link-type( 7 )[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( 8 )[Switch-Vlanif20]Quit.......其他配置略 #配置DHCP服务,租期3天 [Switch] dhcp(9 ) [Switch] ip pool pool1 [Switch-ip-pool-pool1] network 10.0.20.0 mask 225.225.255.0 [Switch-ip-pool-pool1] dns-list 10.010.2 [Switch-ip-pool-pool1] gateway-list 10.0.20.1 [Switch-ip-pool-pool1] lesae day( 10 ) [Switch-ip-pool-pool1] quit [Switch] interface vlanif 20 [Switch-Vlanif20] dhcp select global [Switch-Vlanif20] quit ...... 其他配置略