….[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

最新回复(0)