【问题1】(3分,每空1.5分)
Linux服务器中DHCP服务程序/usr/sbin/dhcpd对应的配置文件名称是(1),该文件的缺省目录是(2)。
【问题2】(6分,每空1分)
某网络采用Linux DHCP服务器为主机提供服务,查看某主机的网络连接详细信息如图2-1所示。
请根据图2-1中补充完成Linux DHCP服务器中DHCP配置文件的相关配置项。
…
subnet 192.168.1.0 netmask255.255.255.0{
range 192.168.1.10 192.168.1.200;
default-lease-time(3);
max-lease-time 14400;
option subnet-mask(4);
option routers(5);
option domain-name"myuniversity.edu.cn";
option broadcast-address(6);
option domain-name-servers(7),(8);
}
【问题3】(6分,每空2分)
如果要确保IP地址192.168.1.102分配给图2-1中的PC,需要在DHCP配置文件中补充以下语句。
(9)pcl{hardware ethernet(10);fixed-address(11);}
正确答案及解析
正确答案
解析
【问题1】(3分,每题1.5分)
(1)dhcpd.conf
(2)/etc
【问题2】(6分,每题1分)
(3)7200
(4)255.255.255.0
(5)192.168.1.1
(6)192.168.1.255
(7)218.30.19.50
(8)61.134.1.4
【问题3】(6分,每题2分)
(9)host
(10)00:24:D2:DF:37:F3
(11)192:168.1.102
【问题1】
Linux服务器中DHCP服务程序/usr/sbin/dhcpd对应的配置文件名称是dhcpd.conf,也是DHCP服务器的主配置文件,其默认在/etc目录下。
【问题2】
配置DHCP服务器,其中(3)空为默认租约期限,从图2-1中看出为2小时,所以第(3)空为7200,默认单位为秒。(4)子网掩码为255.255.255.0。(5)空为option routers配置网关,地址为192.168.1.1。(6)空为配置广播地址为192.168.1.255。(7)(8)配置域名服务器地址分别为218.30.19.50和61.134.1.4。
【问题3】
配置MAC和IP地址192.168.1.102的绑定,答案为host,00:24:D2:DF:37:F3,192:168.1.102。
你可能感兴趣的试题
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
- 查看答案