更多“What are the usable hosts on the 192.168.1.24/29 network?() ”相关问题
  • 第1题:

    WhichofthefollowingClassAnetworksisreservedfor"privatenetworks"useonly?()

    A.network10.0.0.0

    B.network127.0.0.0

    C.network129.135.0.0

    D.network192.168.0.0


    参考答案:A

  • 第2题:

    在某台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”等带有子网掩码的格式。

  • 第3题:

    关于修改主机名,下面那些说法是正确的

    A.需要修改/etc/sysconfig/network文件

    B.需要修改/etc/hosts文件

    C.需要修改/etc/sysconfig/network-scripts/ifcfg-eth0文件

    D.需要重启系统,让修改生效


    可以使用 nmcli general hostname 命令来修改主机名;可以使用 hostname 命令来修改主机名;可以通过修改 /etc/hostname 文件来修改主机名

  • 第4题:

    Whichfilescanbeusedtogethertoallowremotecommandexecutiononaserver?()

    A./etc/.rhostsand$HOME/hosts.equiv

    B./etc/hosts.equivand$HOME/.rhosts

    C./etc/rhosts.equivand$HOST/.rhosts

    D./etc/hosts.equivand$HOME/.hosts.equiv


    参考答案:B

  • 第5题:

    29. What's the purpose of the passage?

    A. To give some advice on how to lose weight.

    B. To advise people to eat apples every day.

    C. To tell people how to enjoy a better life.

    D. To advise people to give up bad habits.


    正确答案:A
    29.A【解析】由全文可知“这篇文章主要介绍了减肥的一些方祛、建议”,故选A。