使用ifconfig命令临时给eth0设置IP地址后发现不能够使用,需要用命令ifconfigupeth0来激活网卡。

题目

使用ifconfig命令临时给eth0设置IP地址后发现不能够使用,需要用命令ifconfigupeth0来激活网卡。

参考答案和解析
正确答案:错误
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

在Linux系统中,使用ifconfig设置接口的IP地址并启动该接口的命令是( )。

A.ifcorffig eth0 192.168.1.1 mask 255.255.255.0B.ifconfig 192.168.1.1 mask 255.255.255.0 upC.ifconfig eth0 192.168.1.1 mask 255.255.255.0 upD.ifconfig 192.168.1.1 255.255.255.0


正确答案:C

第2题:

Solaris使用什么命令查看主机IP地址?()。

A.ifconfig-a

B.netstate-la

C.route-a

D.ls-IP


参考答案:A

第3题:

● 在Linux系统中,把本机IP地址更改为192.168.1.1的正确命令是 (46) 。

(46)A. [/root]#ipconfig eth0 192.168.1.1 up

B. [/root]#ifconfig eth0 192.168.1.1 up

C. [/root]#ipconfig 192.168.1.1 up

D. [/root]#ifconfig 192.168.1.1 up


在linux系统中,可以用ifconfig的命令查看网络接口的配置或者对网络接口进行配置,查看网络接口配置的命令格式是“ifconfig 【interface】”,A、C是windows中的命令,D没有指定本机网络接口名称,都是错误的

第4题:

关于ifconfig命令,下列说法正确的是()

  • A、ifconfig可设置网络设备的状态,或是显示目前的设置
  • B、ifconfig命令使用UP参数启动指定的网络设备
  • C、ifconfig命令可以监视网络流量
  • D、ifconfig命令可以设置IP层数据包过滤规则
  • E、ifconfig命令使用down参数关闭指定的网络设备

正确答案:A,B,E

第5题:

在linux系统中,为本机以太网卡配置IP地址为172.10.5.9,子网掩码为255.255.255.0,应执行()命令。

  • A、ifconfig 172.10.5.9
  • B、ifconfig 172.10.5.9 netmask 255.255.255.0
  • C、ifconfig eth0 172.10.5.9
  • D、ifconfig eth0 172.10.5.9 netmask 255.255.255.0

正确答案:D

第6题:

快速启动网卡“eth0”的命令是( )。

A、ifconfig eth0 noshut

B、ipconfig eth0 noshut

C、ifnoshut eth0

D、ifup eth0


参考答案:D

第7题:

Linux系统中为一块设备名为eth0的网卡分配IP地址和子网掩码的命令是(请作答此空),如果不打算使用DNS进行地址解析,则可以将所有的主机名都放入文件( )中

A.serserial eth0 192.168.1.1 netmask 255.255.255.0
B.ifconfig eth0 192.168.1.1 netmask 255.255.255.0
C.minicom eth0 192.168.1.1 netmask 255.255.255.0
D.mount eth0 192.168.1.1 netmask 255.255.255.0

答案:B
解析:
Linux与windows中的基本命令是常考的内容,需要对常用的命令及参数了解。这里考的查看和配置接口命令。用的是ifconfig。
不用dns进行解析,则主机名和IP对应的关系应该存入/etc/hosts文件中。

第8题:

下列提法中,不属于ifconfig命令作用范围的是()。

A.配置本地回环地址

B.配置网卡的IP地址

C.激活网络适配器

D.加载网卡到内核中


正确答案:D

第9题:

在linux系统中,查看本机网卡eth0的IP地址,可以执行()命令。

  • A、ifconfig
  • B、ifconfig eth0
  • C、ipconfig
  • D、ipconfig eth0
  • E、ipconfig/all

正确答案:A,B

第10题:

修改eth0网卡的IP地址为172.18.48.65和子网掩码255.255.255.128的命令:()

  • A、ifconfigeth0172.18.48.65netmask255.255.255.128
  • B、ifconfig172.18.48.65netmask255.255.255.128
  • C、ipconfigeth0172.18.48.65netmask255.255.255.128
  • D、ifconfigup172.18.48.65netmask255.255.255.128

正确答案:A

更多相关问题