题目详情

在大型网络中,通常采用DHCP完成基本网络配置会更有效率。

【问题1】(1分)

在Linux系统中,DHCP服务默认的配置文件为(1)。

(1)备选答案:

A./etc/dhcpd.conf

B./etc/dhcpd.config

C./etc/dhcp.conf

D./etc/dhcp.config

【问题2】(共4分)

管理员可以在命令行通过(2)命令启动DHCP服务;通过(3)命令停止DHCP服务。

(2)、(3)备选答案:

A.service?dhcpd?start

B.service?dhcpd?up

C.service?dhcpd?stop

D.service?dhcpd?down

【问题3】(10分)

在Linux系统中配置DHCP服务器,该服务器配置文件的部分内容如下:

subnet?192.168.1.0?netmask?255.255.255.0{

option?routers?192.168.1.254;

option?subnet-mask?255.255.255.0;

option?broadcast-address?192.168.1.255;

option?domain-name-servers?192.168.1.3;

range?192.168.1.100?192.168.1.200;

default-lease-time?21600;

max-lease-time?43200;

host?webserver{

hardware?ethernet?52:54:AB:34:5B:09;

fixed-address?192.168.1.100;

在主机webserver上运行ifconfig命令时显示如下,根据DHCP配置,填写空格中缺少的内容。

中级网络工程师,历年真题,2009年下半年(下午)《网络工程师》案例分析真题

该网段的网关IP地址为(7),域名服务器IP地址为(8)。

正确答案及解析

正确答案
解析

【问题1】(1分)

(1)A或/etc/dhcpd.conf

【问题2】(4分)

(2)A或service?dhcpd?start(2分)

(3)C或service?dhcpd?stop(2分)

【问题3】(10分)

(4)52:54:AB:34:5B:09(2分)

(5)192.168.1.100(2分)

(6)255.255.255.0(2分)

(7)192.168.1.254(2分)

(8)192.168.1.3(2分)

本题考查Linux下的DHCP服务配置相关问题。

【问题1】

在Linux系统中,DHCP服务默认的配置文件为/etc/dhcpd.conf。

【问题2】

在Linux系统中,可以在命令行下通过service?dhcpd?start和service?dhcpd?stop进行

DHCP服务的启动和停止。

【问题3】

问题(4)~(6)是webserver的MAC地址、IP地址和网络掩码。在/etc/dhcpd.conf中有如下相关内容:

option?subnet-mask255.255.255.0;

host?webserver{

hardware?ethernet?52:54:AB:34:5B:09;

fixed-address?192.168.1.100;

因此可以知道webserver的MAC地址是52:54:AB:34:5B:09,IP地址是192.168.1.100,网路掩码为255.255.255.0。

从dhcpd.conf中可以看到如下内容:

option?routers192.168.1.254;

option?domain-name-servers?192.168.1.3;

因此该网段的网关IP地址为192.168.1.254,DNS为192.168.1.3。

包含此试题的试卷

你可能感兴趣的试题

单选题

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
查看答案

相关题库更多 +