一起答
单选

●四台 Linux 主机通过图1所示的方式互联起来,则实现 PC1 与 PC4 之间互访的步骤为:

1.运行 (46) 命令关闭计算机,在 PC2 与 PC3 上添加第二块网卡(ethl),重新启动;

2.在 PC2 与 PC3 上为第二块网卡分配 IP 地址,并激活该网络接口,对于 PC3,应执行 (47) ;

3.如果使用 routed 作为路由器进程,则作为路由器的 PC2 与 PC3 仅支持路由协议 (48) ;如果在 PC2 与 PC3 上设置静态路由信息并开启路由功能,对于 PC2 则应执行 (49) ;

4.在 PC1 和 PC4 上配置各自的默认网关,对于 PC1,应执行 (50) 。

图1

(46) A.reboot

   B.shutdown

   C.init 0

   D.init 6

(47) A.ifconfig -up eth1 10.1.1.2/8

   B.ifconfig ethl 10.1.1.2 255.0.0.0 up

   C.ifconfig ethl 10.1.1.2 up netmask 255.0.0.0

   D.ifconfig ethl 10.1.1.2/8;ifconfig eth1 up

(48) A.RIP

   B.BGP

   C.OSPF

   D.EGP

(49) A.route add -net 202.114.100.0/24 gw 10.1.1.1

   B.route add -net 202.114.100.0/24 gw 10.1.1.2

   C.route add-net 202.114.100.0/24 gw 10.1.1.2

echo "1">/proc/sys/net/ipv4/ip_forward

   D.route add-net 202.114.110.0/24 gw 10.1.1.1;

echo "1">/proc/sys/net/ipv4/ip_forward

(50) A.route add default 202.114.110.254

   B.route add default 202.114.100.254

   C.route add-host 202.114.100.1/24 gw 202.114.110.254

   D.route add-net 0.0.0.0/32 gw 202.114.100.254

参考答案
查看试卷详情
相关试题
  1. ●The Simple Network M

    • anagement Protocol (SNMP)is an&n
    • bsp;(71) proto
    • col that facilitates the exchange of management information between (72) .It is part of the Transmission Control Protocol/Internet Protocol(TCP/IP) protocol suite.SNMP enables network (73) to manage network performance, fin
    • d and sole network problems,and plan for (74) .An SNMP-managed network consists of three key components:managed devices , (75) ,and network-management systems .    (71) A.Physical Layer
    • B.Link Layer
    • C.Network Layer
    • D.Transport Layer    (72) A.network stations
    • B.network clients
    • C.network devices
    • D.network servers    (73) A.servers
  2. ●In the following ess

    • ay,each
    • blank has four
    • choices.Choose the most suitable one from the four choices an
    • d write down in the answer sheet.    The key to SNMP (66) is its simplicity.It has a small command set that does a good job of collecting information from (67) any network device.In a SNMP environment, (68)&nbs
    • B.function
    • C.efficiency
    • D.power    (67) A.many
    • B.almost
    • C.a lot of
    • D.nearly    (68) A.most
  3. ●发展容错技术可提高计算机系统的可靠性。利用元件冗余可保证在局部有故障的情况下系统正常工作。带有热备份的系统称为 (61) 系统。它是 (62) ,因此只要有一个子系统能正常工作,整个系统仍能正常工作。

    当子系统只能处于正常工作和不工作两种状态时,可以采用如图2(a)所示的并联模型,若单个子系统的可靠性都为0.8时,图2所示的三个子系统并联后的系统可靠性为 (63) 。若子系统能处于正常和不正常状态时,我们可以采用如图2(b)所示的表决模型,若图中有任何两个以上子系统输出相同时,则选择该输出作为系统输出。设单个子系统的可靠性为0.8时,整个系统的可靠性为 (64) ;若单个子系统的可靠性为0.5时,整个系统的可靠性为 (65) 。

    图2

    (61) A.并发

       B.双上

       C.双重

       D.并行

    (62) A.两子系统同时同步运行,当联机子系统出错时,退出服务,由备份系统接替

       B.备份系统处于电源开机状态,一旦联机子系统出错,立即切换到备份系统

       C.两子系统交替处于工作和自检状态,当发现一子系统出错时,它不再交替到工作状态

       D.两子系统并行工作,提高机器速度,一旦一个子系统出错,放弃并行工作

    (63) A.0.9

       B.0.94

       C.0.992

       D.0.996

    (64) A.0.882

       B.0.896

       C.0.925

       D.0.94

    (65) A.0.5

       B.0.54

       C.0.62

       D.0.65

  4. ●将本地网络与一个远程工作站相连,需要 (59) 网桥(桥接器)。

    (59)

    • A.在互连两端各装一个    &n
    • bsp;  B.在远程安装一个    
    • C.在本地网络安装一个远程    
    • D.在本地网络安装一个本地
  5. ●SNMP实体由一个或多个 (60) 组成。

    (60)

    • A.引擎和SNMP应用    &n
    • bsp;  B.引擎    
    • C.SNMP应用    
    • D.原语
  6. ●linux下在安装了Web服务器后,当在inted下启动时,在系统文件/etc/services中要添加 (54) , 在单独运行时,命令是 (55) 。Web系统的系统配置文件 (56) ,它定义了服务器在DNS数据库中注册的主机名,这是通过 (57) 命令定义的。测试WWW服务是否运行可以通过命令 (58) 。

    (54)

    • A.http<80>/tcp    &n
    • bsp;     B.http stream t
    • cp
    • C.Server Type inte
    • d
    • D.Port 80    (55) A.httpd
    • B. init 0
    • C.inted
    • D.init 6    (56) A.httpd.conf
    • B.srm.conf
  7. 下面关于sniffer的说法中不正确的是 () 。

    • A.sniffer是一种常用的收集有用数据的方法,这些数据可以是用户的账号和密码,可以是一些商用机密数据等   
    • B.sniffer程序可以监听不同网段的主机   
    • C.必须以root的身份使用sniffer程序   
    • D.以太网sniffing是指对以太网设备上传送的数据包进行侦听,发现感兴趣的包
  8. ●WindowsNT和NetW

    • are相比&n
    • bsp;(52) 。    (52) A.文件服务功能更强
    • B.占用服务器资源更少    
    • C.提供的目录服务器更好    
    • D.价格低,安全性好
  9. ●四台 Linux 主机通过图1所示的方式互联起来,则实现 PC1 与 PC4 之间互访的步骤为:

    1.运行 (46) 命令关闭计算机,在 PC2 与 PC3 上添加第二块网卡(ethl),重新启动;

    2.在 PC2 与 PC3 上为第二块网卡分配 IP 地址,并激活该网络接口,对于 PC3,应执行 (47) ;

    3.如果使用 routed 作为路由器进程,则作为路由器的 PC2 与 PC3 仅支持路由协议 (48) ;如果在 PC2 与 PC3 上设置静态路由信息并开启路由功能,对于 PC2 则应执行 (49) ;

    4.在 PC1 和 PC4 上配置各自的默认网关,对于 PC1,应执行 (50) 。

    图1

    (46) A.reboot

       B.shutdown

       C.init 0

       D.init 6

    (47) A.ifconfig -up eth1 10.1.1.2/8

       B.ifconfig ethl 10.1.1.2 255.0.0.0 up

       C.ifconfig ethl 10.1.1.2 up netmask 255.0.0.0

       D.ifconfig ethl 10.1.1.2/8;ifconfig eth1 up

    (48) A.RIP

       B.BGP

       C.OSPF

       D.EGP

    (49) A.route add -net 202.114.100.0/24 gw 10.1.1.1

       B.route add -net 202.114.100.0/24 gw 10.1.1.2

       C.route add-net 202.114.100.0/24 gw 10.1.1.2

    echo "1">/proc/sys/net/ipv4/ip_forward

       D.route add-net 202.114.110.0/24 gw 10.1.1.1;

    echo "1">/proc/sys/net/ipv4/ip_forward

    (50) A.route add default 202.114.110.254

       B.route add default 202.114.100.254

       C.route add-host 202.114.100.1/24 gw 202.114.110.254

       D.route add-net 0.0.0.0/32 gw 202.114.100.254

  10. ●在UNIX操作系统中,若用户键入的命令参数的个数为1时,执行c

    • at$1命令;若用户键入的命令参数的个数为2时,执行cat>>$2<$1命令。请将下面所示的Shell程序的空缺部分补齐。
    • case&n
    • bsp;(51) in    1)
    • cat$1;;    2)cat>>$2<$1;;    *)echo# '
    • default……'
    • esac    (51) A.$$
    • B.$@
    • C.$#
    • D.$*