首页
登录
从业资格
….[Router1]interface g0/0/0[Router1-Giga
….[Router1]interface g0/0/0[Router1-Giga
题库
2022-08-02
37
问题
….[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
随机试题
Ifitwereonlynecessarytodecidewhethertoteachelementarysciencetoe
IntheBritishtheateryoungpeopleunderthirty-fivehavenothadmuch____get
[audioFiles]audio_eusm_j01_043(20099)[/audioFiles]A、Georgehimself.B、George’s
下面不属于电力负荷中的一级负荷的是( )。A.中断供电将造成人身伤亡者 B.
在隧道施工监控量测中,收敛计是用来量测( )。 A、拱顶下沉 B、地表下
1,2,4,4,7,6,(),8A.7 B.8 C.9 D.1
()包括行为者所处的各种环境和机遇、所从事的工作特点和难度,以及工作与人的相互
基本年薪=企业本年度职工人均收入×()。A.经营者岗位系数 B.员工岗位系数
应当先履行债务的当事人,有确切证据证明对方有下列()的,可以中止履行不安抗辩权
图式从低级向高级发展是通过()两种形式的。 (A)整合(B)同化 (C)
最新回复
(
0
)