某公司网络拓扑结构如图4-1所示。公司内部使用C类私有IP地址,其中公司两个部门分别处于VLAN10和VLAN20,VLAN10采用192.168.10.0/24网段,VLAN20采用192.168.20.0/24网段,每段最后一个地址作为网关地址。
图4-1
【问题1】(10分)
公司使用VTP协议规划VLAN,三层交换机S1为VTP?Server,其他交换机为VTPClient,并通过SI实现VLAN间通信。请根据网络拓扑和需求说明,完成交换机S1和S2的配置。
S1>enable
S1#configure?terminal
S1(config)#vtp?mode(1)
S1(config)#vtp?domain?shx
S1(config)#vtp?password?shx
S1(config)#vlan?10
S1(config-vlan)#exit
S1(config)#vlan?20
S1(config-vlan)#exit
S1(config)#interface?vlan?10
S1(config-if)#ip?address(2)(3)
S1(config-vlan)#exit
S1(config)#interface?vlan?20
S1(config-if)#ip?address?192.168.20.254?255.255.255.0
S1(config-if)#exit
S1(config)#interface(4)fastethernet?0/22-23
S1(config-if-range)#switchport?mode?access
S1(config-if-range)#switchport?mode(5)
S1(config-if-range)#exit
S1(config)#interface?fastEthernet?0/1
S1(config-if)#(6)//关闭二层功能
S1(config-if)#ip?add?192.168.40.254?255.255.255.0
S1(config-if)#exit
…
S1(config)#(7)(8)//开启路由功能
S1(corffig)#
S2>enable
S2#configurc?terminal
S2(config)#vtp?mode(9)
S2(config)#vtp?domain?shx
S2(config)#vtp?password?shx
S2(config)#intererce?fastethernet?0/24
S2(config-if)#switchport?mode(10)//设定接口模式
S2(config-if)#end
S2#
【问题2】(5分)
公司申请了202.165.200.0/29地址段,使用NAT-PT为用户提供Internet访问,外部全局地址为202.165.200.1,Web服务器使用的外部映射地址为202.165.200.3。请根据网络拓扑和需求说明,完成路由器Rl的配置。
R1>enable
R1#config?terminal
R1(config)#access-Iist?1(11)192.168.10.0?255.255.255.0
…
R1(config)#interface?serial?0/0/0
R1(config-if)#ip?address?202.165.200.1?255.255.255.248
R1(config-if)#no?shutdown
R1(config-if)#clock?rate?4000000
R1(config-if)#interface?fastethernet?0/0
R1(config-if)#ip?address?192.168.50.254?255.255.255.0
R1(config-if)#no?shutdown
R1(config-if)#exit
R1(config)#ip?nat?inside?source(12)1?interface?s0/0/0?0verload
…..
R1(config)#ip?nat?inside?source?static(13)202.165.200.3
R1(config)#intcrface?fastethernet?0/0
R1(config-if)#ip?nat(14)
R1(config-if)#interface?serial?0/0/0
R1(config-if)#ip?nat(15)
R1(config-if)#end
R1#
正确答案及解析
正确答案
解析
【问题1】(10分)
(1)Server
(2)192.168.10.254
(3)255.255.255.0
(4)range
(5)Trunk
(6)no switchport
(7)IP
(8)Routing
(9)Client
(10)Trunk
【问题2】(5分)
(11)Permit
(12)list
(13)192.168.40.1
(14)inside
(15)outside
【问题1】(10分)
本题考察交换机的相关配置。
S1>enable
S1#configure terminal
S1(config)vtp mode server
S1(config)#vtp domain shx
S1(config)#vtp password shx
S1(config)#vlan 10
S1(config-vlar)#exit
S1(config)#vlan 20
S1(config-vku)#exit
S1(config)#interface vlan l0
S1(config-if)#ip address 192.168.10.254 255.255.255.0
S1(config-vlar)#exit
S1(config)#interface vlan 20
S1(config-if)#ip address 192.168.20.254 255.255-255.0
S1(config-if)#exit
S1(config)#interface range fastethernet 0/22-23
S1(config-if-range)#switchport mode access
S1(config-if-range)#switchport mode trunk
S1(config-if-range)#exit
S1(config)#interface fastEthernet 0/1
S1(config-if)#no switchport//关闭二层功能
S1(config-if)#ip add 192.168.40.254 255.255.255.0
S1(config-if)#exit
…
S1(config)#ip routing//开启路由功能
S1(corffig)#
S2>enable
S2#configurc terminal
S2(config)#vtp mode client
S2(config)#vtp domain shx
S2(config)#vtp password shx
S2(config)#intererce fastethernet 0/24
S2(config-if)#switchport mode trunk//设定接口模式
S2(config-if)#end
S2#
【问题2】(5分)
R1>enable
R1#config terminal
R1(config)#access-Iist l permit 192.168.10.0 255.255.255.0
…
R1(config)#interface serial 0/0/0
R1(config-if)#ip address 202.165.200.1 255.255.255.248
R1(config-if)#no shutdown
R1(config-if)#clock rate 4000000
R1(config-if)#interface fastethernet 0/0
R1(config-if)#ip address 192.168.50.254 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#ip nat inside source list 1 interface s0/0/0 0verload
…..
R1(config)#ip nat inside source static 192.168.40.1 202.165.200.3
R1(config)#intcrface fastethernet 0/0
R1(config-if)#ip nat inside
R1(config-if)#interface serial 0/0/0
R1(config-if)#ip nat outside
R1(config-if)#end
R1#
包含此试题的试卷
你可能感兴趣的试题
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
- 查看答案