首页
登录
从业资格
….[Router1]interface g0/0/0[Router1-Giga
….[Router1]interface g0/0/0[Router1-Giga
题库
2022-08-02
27
问题
….[Router1]interface g0/0/0[Router1-GigabitEthernet0/0/0] (1)[Router1-GigabitEthernet0/0/0] quit[Router1] (2) //配置名为net1的地址池[Router1-ip-pool-net1] (3)[Router1-ip-pool-net1] gateway-list 192.168.1.1[Router1-ip-pool-net1] dns-list 114.114.114.114 8.8.8.8[Router1-ip-pool-net1] (4) ip-address 192.168.1.10 mac-address 0000-1111-2222 //为固定mac分配固定ip[Router1-ip-pool-net1] quit[Router1][Router1] ip pool net2[Router1-ip-pool-net2] network 192.168.2.0 mask 255.255.255.0 [Router1-ip-pool-net2] gateway-list 192.168.2.1[Router1-ip-pool-net2] dns-list 114.114.114.114 8.8.8.8[Router1-ip-pool-net2] static-bind ip-address 192.168.2.10 mac-address 0001-1111-2222 [Router1-ip-pool-net2] quit…. …[Switch1]vlan 2 创建vlan2、3[Switch1-vlan2]quit[Switch1]vlan 3 [Switch1-vlan3]quit[Switch1][Switch1] (5)[Switch1-Vlanif2] ip address (6)[Switch1-vlanif2] (7) //接口下开启全局DHCP分配功能[Switch1-Vlanif2] (8) //在vlan2中开启dhcp中继功能[Switch1-Vlanif2] quit[Switch1][Switch1] interface vlan 3[Switch1-Vlanif3] ip address (9)[Switch1-vlanif3] dhcp select global [Switch1-Vlanif3] dhcp relay server-ip 192.168.100.2 [Switch1-Vlanif3] quit[Switch1][Switch1]ip route-static (10) //配置能够到达dhcp服务器的默认路由 ….….[Switch2] interface gigabitethernet 0/0/2[Switch2-GigabitEthernet0/0/2] (11)//使能用户端接口的DHCP Snooping功能[Switch2-GigabitEthernet0/0/2] quit[Switch2] interface gigabitethernet 0/0/1[Switch2-GigabitEthernet0/0/1] dhcp snooping (12)//配置信任接口,使得接入交换机只处理从该接口收到的DHCP服务器响应报文 [Switch2-GigabitEthernet0/0/1] quit…
选项
答案
解析
(1)ip,address,192.168.100.2,255.255.255.0, (2)ip,pool,net1(3)network,192.168.1.0,mask,255.255.255.0, (4) static-bind(5) interface,vlanif,2 (6),192.168.1.1,255.255.255.0(7) dhcp,select,global, , (8) dhcp,relay,server-ip,192.168.100.2 (9),192.168.2.1,255.255.255.0,(10) 0.0.0.0,0.0.0.0,192.168.100.2(11) dhcp,snooping,enable (12) dhcp,snooping,trusted
….[Router1]interface g0/0/0[Router1-GigabitEthernet0/0/0] ip address 192.168.100.2 255.255.255.0[Router1-GigabitEthernet0/0/0] quit[Router1] ip pool net1 //配置名为net1的地址池[Router1-ip-pool-net1] network 192.168.1.0 mask 255.255.255.0 [Router1-ip-pool-net1] gateway-list 192.168.1.1[Router1-ip-pool-net1] dns-list 114.114.114.114 8.8.8.8[Router1-ip-pool-net1] static-bind ip-address 192.168.1.10 mac-address 0000-1111-2222 //为固定mac分配固定ip[Router1-ip-pool-net1] quit[Router1][Router1] ip pool net2[Router1-ip-pool-net2] network 192.168.2.0 mask 255.255.255.0 [Router1-ip-pool-net2] gateway-list 192.168.2.1[Router1-ip-pool-net2] dns-list 114.114.114.114 8.8.8.8[Router1-ip-pool-net2] static-bind ip-address 192.168.2.10 mac-address 0001-1111-2222 [Router1-ip-pool-net2] quit…. …[Switch1]vlan 2 创建vlan2、3[Switch1-vlan2]quit[Switch1]vlan 3 [Switch1-vlan3]quit[Switch1][Switch1] interface vlan 2[Switch1-Vlanif2] ip address 192.168.1.1 255.255.255.0[Switch1-vlanif2] dhcp select global //接口下开启全局DHCP分配功能 [Switch1-Vlanif2] dhcp relay server-ip 192.168.100.2 //在vlan2中开启dhcp中继功能 [Switch1-Vlanif2] quit[Switch1][Switch1] interface vlan 3[Switch1-Vlanif3] ip address 192.168.2.1 255.255.255.0[Switch1-vlanif3] dhcp select global //接口下开启全局DHCP分配功能[Switch1-Vlanif3] dhcp relay server-ip 192.168.100.2 //在vlan3中开启dhcp中继功能[Switch1-Vlanif3] quit[Switch1][Switch1]ip route-static 0.0.0.0 0.0.0.0 192.168.100.2 //配置能够到达dhcp服务器的路由 ….….[Switch2] interface gigabitethernet 0/0/2[Switch2-GigabitEthernet0/0/2] dhcp snooping enable //使能用户端接口的DHCP Snooping功能[Switch2-GigabitEthernet0/0/2] quit[Switch2] interface gigabitethernet 0/0/1[Switch2-GigabitEthernet0/0/1] dhcp snooping trusted//配置为信任接口,使得接入交换机只处理从该接口收到的DHCP服务器响应报文 [Switch2-
转载请注明原文地址:https://tihaiku.com/congyezige/2405125.html
本试题收录于:
中级 网络工程师题库软件水平考试初中高级分类
中级 网络工程师
软件水平考试初中高级
相关试题推荐
交换机命令showinterfacestype0/port#switc
网络配置如下图所示,为路由器Router1配置访问网络1和网络2的命令是( )
把交换机由特权模式转换到全局配置模式使用的命令是( )。A.interface
….[Router1]interfaceg0/0/0[Router1-Giga
某台华为交换机做了如下配置:[HUAWEI]interfaceetherne
A.[SWITCHA]INTERFACEGIGABITETHERNET1/
某台华为交换机做了如下配置: [HUAWEI]interfaceethern
随机试题
[originaltext]W:(8)I’mworriedaboutMonday’sexam.M:(9)Takeiteasy.I’m
Sometimestherealantiqueandthefaked-upfraudarenearlythesameandevent
Managerscannotalwayswaitforinformationtoarriveinbitsandpiecesfrom
化纤地毯按其成分应属于()A.树脂制品 B.纺织制品 C.家装制品 D
原发性肾病综合征的最主要病理生理改变是A.高胆固醇血症 B.低蛋白血症 C.
塞缪尔*贝克特的代表作《等待戈多》属于()。A.新小说派 B.荒诞派 C.
急性腰扭伤后期的治法有A.舒筋活血 B.补益调治 C.活血祛瘀 D.温经通
冻结井井筒内不得()。A.进行爆破施工 B.打地质检查孔 C.打水文观察孔
海港工程的设计潮位应包括()。A.设计高水位B.设计低水位C.平均设计水位
不属于风湿热诊断标准中主要表现的( )。A.关节痛 B.舞蹈病 C.皮下小
最新回复
(
0
)