某公司网络拓扑结构图如图4-1所示。公司内部的用户使用私有地址段192.168.1.0/24。
图4-1
【问题1】(2分)
为了节省IP地址,在接口地址上均使用30位地址掩码,请补充下表中的空白。
【问题2】(9分)
将公司内部用户按照部门分别划分在3个vlan中:vlan 10,vlan 20和vlan 30。均连接在交换机S1上,并通过S1实现vlan间通信,所有内网主机均采用DHCP获取IP地址。按照要求补充完成(或解释)以下配置命令。
Switch>en
Switch#(3)
Switch(config)#hostname(4)
S1(config)#interface fastEthernet 0/1
S1(config-if)(5)mode trunk
S1(config-if)#interface vlan 10//(6)
S1(config-if)#ip address 192.168.1.206 255.255.255.240
S1(config-if)#no shutdown
S1(config-if)#ip helper-address(7)
S1(config-if)#(8)
S1(config)#
……
S1(config)#router(9)
S1(config-router)#version(10)
S1(config-router)#network 192.168.1.192
S1(config-router)#network 192.168.1.208
S1(config-router)#network 192.168.1.224
S1(config-router)#(11)
S1#
【问题3】(2分)
在S1上将F0/1接口配置为trunk模式时,出现了以下提示:
Command rejected:An interface whose trunk encapsulation is"Auto"can not be configured to"trunk"mode.
应采取(12)方法解决该问题。
(12)A.在该接口上使用no shutdown命令后再使用该命令
B.在该接口上启用二层功后能再使用该命令
C.重新启动交换机后再使用该命令
D.将该接口配置为access模式后再使用该命令
【问题4】(2分)
在S1上配置的三个SVI接口地址分别处在192.168.1.192,192.168.1.208和192.168.1.224网段,它们的子网掩码是(13)。
正确答案及解析
正确答案
解析
【问题1】(2分)
(1)192.168.1.254
(2)192.168.1.250
【问题2】(9分)
(3)config terminal
(4)S1
(5)switchport
(6)进入vlan10中
(7)192.168.1.249
(8)exit
(9)rip
(10)2
(11)end
【问题3】(2分)
(12)D
(13)255.255.255.240
【问题4】(2分)
255.255.255.240
【问题1】(2分)
为了节省IP地址,在接口地址上均使用30位地址掩码,R1的F0/1和S1的F0/24在同一网络中,那么现在S1的F0/24地址是192.168.1.253,子网掩码是255.255.255.252,那么这个地址所在的可用主机地址范围是192.168.1.253-192.168.1.254。那么R1的F0/1就是192.168.1.254。
同理R1的F0/2和DHCP的eth0处于同一网络,所以R1的F0/2的地址是192.168.1.250。
【问题2】(9分)
Switch#config terminal//进入全局配置模式
Switch(config)#hostname S1//将交换机命名为S1
S1(config-if)switchport mode trunk//将端口封装为trunk模式
S1(config-if)#interface vlan 10//进入VLAN10
S1(config-if)#ip helper-address 192.168.1.249//指定DHCP服务器的地址,表示通过Ethernet0向该服务器发送DHCP请求包
S1(config-if)#exit//退出接口子模式
S1(config)#route rip//开启RIP
S1(config-router)#version 2//指定版本为2,支持可变长子网掩码
S1(config-router)#end//退出到特权模式
【问题3】(2分)
在S1上将F0/1接口配置为trunk模式时,出现了以下提示:
Command rejected:An interface whose trunk encapsulation is"Auto"can not be configured to"trunk"mode.
应采取将该接口配置为access模式后再使用该命令的方法解决该问题。
【问题4】(2分)
采用三层交换机的路由模块为VLAN之间做路由也是非常普遍的。由于三层交换机的路由模块和交换模块直接通过交换机的背板总线连接,所以不需要使用干道技术。只需要在三层交换机的路由模块上定义与VLAN数量相当的逻辑接口,并让这些接口和VLAN对应,为这些接口分配IP地址就可以了。SVI交换机虚拟接口实现不同VLAN间通讯的问题,每个SVI要和各个VLAN属于同一网络中。所以子网掩码是255.255.255.240。
包含此试题的试卷
你可能感兴趣的试题
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
- 查看答案