假设要动态分配的地址段是:192.168.0.1/24—192.168.0.254/24,路由器网关地址:192.168.0.1。请填写以下Cisco路由器配置DHCP命令的描述。
ip dhcp excluded—address 192.168.0.1 192.168.0.50 (1)
ip dhcp pool test (2)
network 192.168.0.0 255.255.255.0 (3)
default—router 192.168.0.1 (4)
dns—server***,***,***,*** (5)
第1题:
在路由器的DHCP配置过程中,配置IP地址池的缺省网关命令default—router address中,网关地址最多允许配置——个。
A.4
B.6
C.8
D.10
第2题:
以下哪个命令是配置口地址池名称的?——
A.ip dhcp excluded—address
B.dns—server address
C.default—router address
D.ip dhcp pool<name>
第3题:
以下哪个命令是配置1P地址池的子网地址和子网掩码的?——
A.ip dhcp excluded—address
B.network address mask
C.default—router address
D.ip dhcp pool<name>
第4题:
● 客户机通过代理服务器 Server 访问Internet 的连接方式如下图所示。在Linux 操作 系统中,为代理服务器中IP 地址为 192.168.0.1 的网卡分配IP 地址并激活该网络接口,应 执行 (55) ;为IP 地址为 192.168.0.100 的PC 机配置默认网关,应执行 (56) 。配置完成后,运行 (57) 命令重启计算机,通过 (58) 命令显示当前 DNS 服务器 的地址和域名。
(55)
A .ifconfig –up eth1 192.168.0.1/24
B.ifconfig eth1 192.168.0.1 255.255.255.0 up
C.ifconfig eth1 192.168.0.1 up netmask 255.255.255.0
D.ifconfig 192.168.0.1/24 eth1 netmask 255.255.255.0 up
(56)
A .route add default 192.168.0.1
B.route add up 192.168.0.1
C.route add –net 0.0.0.0/32 gw 192.168.0.1
D.route add –host 192.168.0.100/24 gw 192.168.0.1
(57)
A .reboot
B .shutdown
C.init 0
D.poweroff
(58)
A .resolv
B .ping
C .nslookup
D .testdns
第5题:
在路由器上建立一个名为test的DHCP地址池,并为其分配IP地址202.112.7.0/24,子网地址中的202.112.7.2~202.112.7.10作为静态地址分配,正确的DHCP配置是______。
A.Router(config) #ip dhcp pool test Router(config) #ip dhcp excluded-address 202.112.7.2-10 Router(dhcp-config) #network 202.112.7.0-255.255.255.0
B.Router(config) #ip dhcp excluded-address 202.112.7.2-202.112.7.10 Router(config) #ip dhcp pool test Router(dhcp-config) #network 202.112.7.0/24
C.Router(config) #ip dhcp exclude&address 202.112.7.2-202.112.7.10 Router(config) #ip dhcp pool test Router(dhcp-config) #network 202.112.7.0-0.0.0.255
D.Router(config) #ip dhcp excluded-address 202.112.7.2-202.112.7.10 Router(config) #ip dhcp pool test Router(dhcp-config) #network 202.112.7.0-255.255.255.0
第6题:
配置IP地址池的名称采用的命令是______。
A.ip dhcp pool<name>
B.ip dhcp excluded-address
C.default-router address
D.dns-server address
第7题:
某单位客户机通过代理服务器Server访问Internet的连接方式如图2-3所示。在Linux操作系统中,为代理服务器中IP地址为192.168.0.1的网卡分配IP地址并激活该网络接口,应执行(68);为IP地址为192.168.0.100的PC配置默认网关,应执行(69)。配置完成并重启计算机后,运行(70)命令可显示出当前DNS服务器的地址和域名。
A.ifconfig eth1 192.168.0.1 255.255.255.0 up
B.ifconfig eth1 192.168.0.1 up netmask 255.255.255.0
C.ifconfig 192.168.0.1/24 eth1 netmask 255.255.255.0 up
D.ifconfig-up eth1 192.168.0.1/24
第8题:
配置DHCP服务器IP地址池的地址为193.45.98.0/24,其中193.45.98.10~193.45.98.30用做静态地址分配,正确的配置语句是______。
A.ip dhcp excluded-address 193.45.98.10.193.45.98.30 network 193.45.98.0 255.255.255.0
B.ip dhcp excluded-address 193.45.98.10.193.45.98.30 network 193.45.98.0/24
C.ip dhcp excluded-address 193.45.98.10 193.45.98.30 network 193.45.98.0 0.0.0.255
D.ip dhcp excluded-address 193.45.98.10 193.45.98.30 network 193.45.98.0 255.255.255.0
第9题:
在某台Cisco路由器中定义一个名为test的DHCP地址池(192.168.3.0/26),并保留192.168.3.62/29的IP地址。下列正确的配置语句是(29)。
A.Router(config)#ip dhcp pooltest Router(dhcp-config)#network 192.168.3.00.0.0.63 Router(dhcp-config)#ip dhcp excluded-address192.168.3.62
B.Router(config)#ip dhcp poo1 test Router(dhcp-config)#network 192.168.3.0255.255.255.192 Router(dhcp-config)#ip dhcp excluded-address 192.168.3.62255.255.255.248
C.Router(config)#ip dhcp poo1 test Router(dhcp-config)#network 192.168.3.0/26 Router(dhcp-config)#ip dhcp excluded-address 192.168.3.62/29
D.Router(config)#ip dhcp excluded-address 192.168.3.56192.168.3.62 Router(config)#ip dhcp pool test Router(dhcp-config)#network 192.168.3.0/26
第10题:
在路由器上执行如下配置命令:[Router]dhcpenable[Router]serverforbidden-ip192.168.1.10[Router]serverforbidden-ip192.168.1.254[Router]dhcpserverip-pool0[Router-dhcp-pool-0]network192.168.1.0mask255.255.255.0[Router-dhcp-pool-0]gateway-list192.168.1.254[Router-dhcp-pool-0]dns-list192.168.1.10[Router-dhcp-pool-0]expiredday5完成以上配置后,如下哪些说法是正确的?()
第11题:
在路由器RTA上启用DHCP后,需要设定地址池的地址范围为192.168.1.0/24,给主机分配的默认网关地址是192.168.1.254。下列哪些配置能够满足这些要求?()。
第12题:
Router(config)#ip dhcp pool zw246
Router(dhcp-config)#ip dhcp excluded-address 176.115.246.2 176.115.246.10
Router(dhcp-config)#network 176.115.246.0 255.255.255.0
Router(dhcp-config)#default-router176.115.246.1
Router(dhcp-config)#domain-name tj.edu.ca
Router(dhcp-config)#dns-server address 176.115.129.26
Router(dhcp-config)#lease 0 6 30
Router(config)#ip dhcp excluded-address 176.115.246.2-10
Router(config)#ip dhcp pool zw246
Router(dhcp-config)#network 176.115.246.0 255.255.255.0
Router(dhcp-config)#default-router 176.115.246.1
Router(dhcp-config)#domain-name tj.edu.cn
Router(dhcp-config)#dns-server address 176.115.129.26
Router(dhcp-config)#1ease 0 6 30
Router(config)#ip dhcp excluded-address 176.115.246.2 176.115.246.10
Router(config)#ip dhcp pool zw246
Router(dhcp-config)#network 176.115.246.0 255.255.255.0
Router(dhcp-config)#default-router 176.115.246.1
Router(dhcp-config)#domain-name tj.edu.cn
Router(dhcp-config)#dns-server address 176.115.129.26
Router(dhcp-config)#lease 0 6 30
Router(config)#ip dhcp excluded-address 176.115.246.2 176.115.246.10
Router(config)#ip dhcp pool zw246
Router(dhcp-config)#network 176.115.246.0 255.255.255.0
Router(dhcp-config)#default-router 176.115.246.1
Router(dhcp-config)#domain-name tj.edu.cn
Router(dhcp-config)#dns-server address 176.115.129.26
Router(dhcp-config)#lease 3 0 60
第13题:
( 23 ) 配置 DHCP 服务器 IP 地址池的地址为 193.45.98.0/24 。 其中 193.45.98.10 至 193.45.98.30 用作静态地址分配,正确的配置语句是
A ) ip dhcp excluded-address 193.45.98.10,193.45.98.30
network 193.45.98.0 255.255.255.0
B ) ip dhcp excluded-address 193.45.98.10,193.45.98.30
network 193.45.98.0/24
C ) ip dhcp excluded-address 193.45.98.10,193.45.98.30
network 193.45.98.0 0.0.0.255
D ) ip dhcp excluded-address 193.45.98.10 193.45.98.30
network 193.45.98.0 255.255.255.0
第14题:
配置IP地址池的名称采用的命令是( )。
A) dns-Server address
B) ip dhcp excluded-address
C) default-routeraddress
D) ip dhcp pool<name>
第15题:
(24)下面是某路由器的DHCP配置信息
ip dhcp excluded-address 182.105.246.2 182.105.246.10
!
ip dhcp poll 246
network 182.105.246.0 255.255.255.0
default-router 182.105.246.1
domain-name pku.edu.cn
dns-sever 182.105.129.26 182.105.129.27 222.112.7.13
lease 0 5
根据上述信息,DHCP客户端不可能从服务器获得的IP地址是
A、182.105.246.5
B、182.105.246.11
C、182.105.246.192
D、182.105.246.254
第16题:
下面是某路由器的DHCP配置信息: ip dhcp excluded-address 182.105.246.2 182.105.246.10 ! ip dhcP Pool 246 network 182.105.246.0 255.255.255.0 default-router 182.105.246.1 domain-name pku.edu.cn dns-server 182.105.246.26 182.105.246.27 222.1
A.182.105.246.5
B.182.105.246.11
C.182.105.246.192
D.182.105.246.254
第17题:
在配置路由器上DHCP数据库代理时,取消地址冲突记录日志的命令是——。
A.ip dhcp conflict logging
B.ip dhcp pool
C.no ip dhcp conflict logging
D.dns—server address
第18题:
IP地址192.168.0.1/255.255.255.252,请指出:该IP地址的网络地址为192.168.0.0,广播地址为192.168.0.3,可以作为主机配置的IP为192.168.0.1和192.168.0.3,这种配置常常用于两台路由器之间点对点的互连。
此题为判断题(对,错)。
第19题:
在Cisc0路由器上建立-个名为zw246的DHCP地址池,地址池的IP地址是176.115.246.0/24,其中不用于动态分配的地址有176.115.246.2-176.115.246.10,缺省网关为l76.115.246.1,域名为tj.edu.en,域名服务器地址为l76.115.129.26,地址租用时间设定为6小时30分钟。下列DHCP地址池的配置,正确的是( )。
A.Router(config)#ip dhcp pool zw246Router(dhcp-eonfig)#ip dhep excluded-address l76.1 15.246.2 176.1 15.246.10Router(dhcp-eonfig)#network l76.115.246.0 255.255.255.0Router(dhcp-config)#default-router l76.115.246.1Router(dhcp-config)#domain-name tj.edu.enRouter(dhcp-config)#dns-server address 176.1 15.129.26Router(dhcp-config)#lease 0 6 30
B.Router(config)#ip dhcp excluded-address 176.115.246.2-10Router(config)#ip dhcp pool zw246Router(dhcp-config)#network l76.1 15.246.0 255.255.255.0Router(dhcp-config)#default-router l76.115.246.1Router(dhcp-config)#domain-name tj.edu.caRouter(dhcp-config)#dns-server address l76.115.129.26Router(dhcp-config)#lease 0 6 30
C.Router(config)#ip dhcp excluded-address l76.115.246.2 176.115.246.10Router(config)#ip dhcp pool zw246Router(dhcp-config)#network 176.115.246.0 255.255.255.0Router(dhcp-config)#default-muter l76.115.246.1Router(dhcp-config)#domain -name tj.edu.anRouter(dhcp-config)#dns-server address 176.115.129.26Router(dhcp-config)#lease 0 6 30
D.Router(config)#ip dhcp excluded-address 176.1 15.246.2 176.1 15.246.10Router(config)#ip dhcp pool zw246Router(dhcp-config)#network 176.1 15.246.0 255.255.255.0Router(dhcp-config)#default-router 176.1 15.246.1Router(dhcp-config)#domain-name tj.edu.cnRouter(dhcp-config)#dns-server address 176.115.129.26Router(dhcp-config)#lease 30 6 0
第20题:
下列选项中,属于配置IP地址池的名称的命令是( )。
A.ip dhcp pool
B.dns-server address
C.default-router address
D.ip dhcp excluded-address
第21题:
配置DHCP服务器IP地址池的地址为193.45.98.0/24,其中193.45.98.10至193.45.98.30用作静态地址分配,正确的配置语句是
A.ip dhcp excluded-address 193.45.98.10,193.45.98.30 network 193.45.98.0 255.255.255.0
B.ip dhcp excluded-address 193.45.98.10,193.45.98.30 network 193.45.98.0 /24
C.ip dhcp excluded-address 193.45.98.10 193.45.98.30 network 193.45.98.0 0.0.0.255
D.ip dhcp excluded-address 193.45.98.10 193.45.98.30 network 193.45.98.0 255.255.255.0
第22题:
根据网络拓扑和要求说明,完成(或解释)路由器R1 的配置: R1#config R1(config)# interface FastEthernet 0/1 R1(config-if)#ip address (1) (2) R1(config-if)#no shutdown R1(config-if)#exit R1(config)#ip dhcp pool vlan 3 R1(dhcp-config)#network 192.168.3.0 255.255.255.0 R1(dhcp-config)#default-router 192.168.3.254 255.255.255.0 ; (3) R1(dhcp-config)#dns-server 192.168.2.1 ; (4) R1(dhcp-config)#lease 0 8 0 ; (5) R1(dhcp-config)#exit R1(config)#ip dhcp pool vlan 4 R1(dhcp-config)#network (6) (7) R1(dhcp-config)#default-router 192.168.4.254 255.255.255.0 R1(dhcp-config)#dns-server 192.168.2.1 R1(dhcp-config)#lease 0 8 0 R1(dhcp-config)#exit R1(config)#ip dhcp excluded-address (8) (9) R1(config)#ip dhcp excluded-address 192.168.3.254 //排除掉不能分配的IP 地址 R1(config)#ip dhcp excluded-address 192.168.4.254 R1(config)# (10) 192.168.3.0 255.255.255.0 FastEthernet0/1 //在以太网接口和VLAN3 间建立一条静态路由
第23题:
ip dhcp excluded-address 193.45.98.10,193.45.98.30
Network 193.45.98.0 255.255.255.0
ip dhcp excluded-address 193.45.98.10 193.45.98.30
Network 193.45.98.0/24
ip dhcp excluded-address 193.45.98.10 193.45.98.30
Network 193.45.98.0 0.0.0.255
ip dhcp excluded-address 193.45.98.10 193.45.98.30
Network 193.45.98.0 255.255.255.0