软考初级

Every host and router on the Internet has an IP address, which encodes its(12).A.host numberB.network numberC.host number and socketD.host number and network number

题目

Every host and router on the Internet has an IP address, which encodes its(12).

A.host number

B.network number

C.host number and socket

D.host number and network number

如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

在路由器上建立一个名为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-10 Router(config)#ip dhcp pool test Router(dhcp-config)#network 202.112.7.0/24

C.Router(config)#ip dhcp excluded-address 202.112.7.2-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-10 Router(config)#ip dhcp pool test Router(dhcp-config)#network 202.112.7.0 255.255.255.0


正确答案:D

第2题:

在路由器上建立一个名为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


正确答案:D
解析:静态地址分配Router(config) #ip dhcp excluded-address 202.112.7.2 202.112.7.10
  配置IP地址池的域名Router(config) #ip dhcp pool test
  为test的DHCP地址池分配IP地址Router(dhcp-config) #network202.112.7.0 255.255.255.0

第3题:

【问题1】(8分)

请填写host1的Internet协议属性参数。

IP地址: (1) ;

子网掩码: (2) ;

默认网关: (3) ;

其中,host1 默认网关为图中接口 (4) 处的 IP地址。


正确答案:
(1)118.165.3.178      (2分)
(2)255.255.255.192      (2分)
(3)118.165.3.190      (2分)
(4)2(或 接口2)      (2分)

第4题:

在某台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


正确答案:D
解析:子网地址是DHCP服务器可以分配给DHCP客户的有效IP地址范围。在DHCP Pool配置模式下,使用命令“networknetwork-number>[mask|/prefix-length]”配置IP地址池的子网地址和子网掩码。其中,子网掩码参数允许以两种形式表达,一种形式常见的点分十进制数表达形式(如 255.255.255.192),另一种形式是给出掩码前缀的长度,即掩码位为“1”的个数,如“255.255.255.192”可以写成“/26”。本试题中,配置DHCP地址池192.168.3.0/26的语句如下:
  Router(dhcp-config)#network192.168.3.0255.255.255.192
  或Router(dhcp-contig)#network192.168.3.0/26
  可以在全局配置模式“Router(config)#”下,使用“ip dhcp excluded-address low-address[high-address]”命令将要保留的地址从IP地址池中排除,使之成为不能动态分配的地址。本试题中,需要排除的IP地址范围是192.168.3.62/29。其中,“/29”是子网掩码255.255.255.248的前缀的长度。由于IP地址192.168.3.62的二进制表示是“1100 0000 1010 1000 0000 0011 1110”,其中阴影部分是子网掩码覆盖的比特范围,因此192.168.3.62/29所表达的IP地址范围是192.168.3.56-192.168.3.63。再由于192.168.3.63是 192.168.3.0/26网段的直接广播地址,需要排除,因此保留IP地址范围192.168.3.62/29的配置语句如下:
  Router(config)#ip dhcp excluded-adclress 192.168.3.56 192.168.3.62
  本试题选项A的“ip dhcp excluded-address192.168.3.62”仅排除单个IP地址192.168.3.62。选项B和选项C保留IP地址配置命令所在的配置模式有误,且不允许出现选项B的“ip dhcp exclude_address192.168.3.62 255.255.255.248”和选项C的“ip dhcp excluded-address 192.168.3.62/29”等带有子网掩码的格式。

第5题:

若host2的IP地址设为192.168.0.188,其发送到Internet上的IP数据包的源IP地址为(9)。


正确答案:(9)168.112.198
(9)168.112.198 解析:若host2发送数据包在到达host1之前应为192.168.0.188,到达Internet后应转换为 host1外网卡的地址,故为61.168.112.198。

第6题:

【问题4】(2分)

根据图1-5,在主机host3上对网络1进行了连通性测试时所经过的路径是(9)。

(9)备选答案:

A.host3→Router3→Router2→网络1

B.host3→Router3→Router1→Router2→网络1


正确答案:

1-5Router3路由表中学习到202.117.113.0/30的路由,其下一条为202.117.112.1/30Router2S1接口地址),所以主机host3上对网络1进行连通性测试时所经过的路径:

host3Router3Router2网络1

【问题4】(2分)

(9)A或host3Router3Router2网络 1


第7题:

A Windows Communication Foundation (WCF) service is self-hosted in a console application. The service implements the IDataAccess contract, which is defined in the MyApplication namespace. The service is implemented in a class named DataAccessService which implements the IDataAccess interface and also is defined in the MyApplication namespace. The hosting code is as follows. (Line numbers are included for reference only.)01 static void Main(string[] args)02 {03 ServiceHost host;04 ...05 host.Open();06 Console.ReadLine();07 host.Close();08 }You need to create a ServiceHost instance and assign it to the host variable. You also need to instantiate the service host.Which line of code should you insert at line 04?()

A. host = new ServiceHost("MyApplication.DataAccessService");

B. host = new ServiceHost("MyApplication.DataAccess");

C. host = new ServiceHost(typeof(IDataAccess));

D. host = new ServiceHost(typeof(DataAccessService));


参考答案:D

第8题:

在Cisco路由器上建立一个名为zw246的DHCP地址池,地址池的IP地址是176.115.246.0/24,其中不用于动态分配的地址有176.115.246.2~176.115.246.10,缺省网关为176.115.246.1,域名为tj.edu.cn,域名服务器地址为176.115.129.26,地址租用时间设定为6小时30分钟。下列DHCP地址池的配置,正确的是

A)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-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

B)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)#lease 0 6 30

C)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

D)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 30 6 0


正确答案:C
C
解析:Cisco路由器DHCP地址池的配置:
步骤一:首先排除不用于动态分配的地址(config)#ip dhcp excluded-address 176.115.246.2 176.115.246.10
步骤二:配置一个名为zw246的DHCP地址池(config)#ip dhcp pool zw246
步骤三:配置动态分配的地址段(dhcp-config)#network 176.115.246.0 255.255.255.0
步骤四:配置缺省网关(dhcp-config)#default-router 176.115.246.1
步骤五:为客户机配置域后缀(dhcp-config)#domain-name tj.edu.cn
步骤六:为客户机配置DNS地址(dhcp-config)#dns-server address 176.115.129.26
步骤七:配置租借期为6小时30分钟(dhcp-config)#lease 0 6 30,格式为lease 天数 小时数 分钟数

第9题:

YouhaveanExchangeServer2010organization.YouneedtocreatearesourcerecordinDNStosupportAutodiscoverfromtheInternet.Whattypeofresourcerecordshouldyoucreate?()

A.Host(A)

B.Text(TXT)

C.Pointer(PTR)

D.Mailexchange(MX)


参考答案:A

第10题:

下面选项中, user表的用户列包括

A.Host列

B.User列

C.Password列

D.email列


Host列;User列;Password列