在linux系统中,为本机以太网卡配置IP地址为172.10.5.9,子网掩码为255.255.255.0,应执行()命令。
第1题:
某单位客户机通过代理服务器Server访问Internet的连接方式如图2-3所示。在Linux操作系统中,为代理服务器中IP地址为192.168.0.1的网卡分配IP地址并激活该网络接口,应执行(68);为IP地址为192.168.0.100的PC配置默认网关,应执行(69)。配置完成并重启计算机后,运行(70)命令可显示出当前DNS服务器的地址和域名。
A.ifconfig eth1 192.168.0.1 255.255.255.0 up
B.ifconfig eth1 192.168.0.1 up netmask 255.255.255.0
C.ifconfig 192.168.0.1/24 eth1 netmask 255.255.255.0 up
D.ifconfig-up eth1 192.168.0.1/24
第2题:
在Linux操作系统中,为一块设备名为eth1的网卡分配IP地址和子网掩码的命令是(38)。
A.ipaddress eth1 192.168.2.3 mask 255.255.255.0
B.config eth1 192.168.2.3 mask 255.255.255.0
C.serserial eth1 192.168.2.3 mask 255.255.255.0
D.ifconfig eth1 192.168.2.3 mask 255.255.255.0
第3题:
在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
第4题:
在Linux中,给计算机分配IP地址正确的方法是( )。
A、ipconfig eth0 166. 111. 219.150 255. 255. 255.0
B、ifconfig eth0 166. 111. 219.150 255. 255. 255.0
C、ifconfig eth0 166. 111. 219.150 netmask 255.255.255.0
D、在Linux窗口配置中配置
第5题:
在linux系统中,为本机添加到192.168.1.0/25的路由信息,网关地址为172.16.1.1,应执行()命令。
第6题:
与”ifup eth0”命令功能相同的命令是哪个?()
第7题:
有的时候,需要系统管理员手工更改网卡的硬件地址(MAC地址)。在RedHatLinux9系统中,更改正在工作的网卡eth0的硬件地址,一般需要使用下列()命令来完成。
第8题:
修改eth0网卡的IP地址为172.18.48.56和子网掩码255.255.255.128的命令:()
第9题:
在UNIX系统中,查看IP地址的命令为:()
第10题:
How should TCP/IP be configured on the ent0 network adapter?()
第11题:
ifconfigeth0192.168.1.1mask255.255.255.0
ifconfig192.168.1.1mask255.255.255.0up
ifconfigeth0192.168.1.1mask255.255.255.0up
ifconfig192.168.1.1255.255.255.0
第12题:
ifconfig 172.10.5.9
ifconfig 172.10.5.9 netmask 255.255.255.0
ifconfig eth0 172.10.5.9
ifconfig eth0 172.10.5.9 netmask 255.255.255.0
第13题:
阅读以下利用Linux主机实现TCP/IP网络互联的技术说明,请将以下(1)~(15)空缺处的内容填写完整。
【说明】
某实验室4台Linux主机通过图6-14所示的拓扑方式互连。请将以下(1)~(15)空缺处填写完整以实现主机PC1与主机PC4之间的相互访问。
1.运行(1)命令关闭主机PC2和主机PC3,分别在这两台主机上添加第二块网卡(eth1)。
2.在Linux操作系统下安装网卡,如果操作系统没有内置的驱动程序,那么用户必须(2),才能完成驱动程序的安装。
3.在主机PC2与PC3上为第二块网卡分配IP地址,并激活该网络接口:对于主机PC2应执行的配置命令是(3);对于主机PC3应执行的配置命令是(4)。
【供选择的答案】
(1) A.reboot B.shutdown C.init 1 D.init 6
(2) A.用ifconfig命令配置网卡 B.手工修改“/dev/eth0”文件
C.手工安装驱动程序且重新编译Linux内核 D.重启操作系统
(4) A.ifconfig -up eth1 218.5.120.2/24
B.ifconfig eth1 218.5.120.2 255.255.255.0 up
C.ifconfig eth1 218.5.120.2 up netmask 255.255.255.0
D.ifconfig eth1 218.5.120.2/8;ifconfig eth1 up
第14题:
在Linux 中,可以使用( )命令为计算机配置 IP地址。
A. ifconfig B. config C. ip-address D. ipconfig
第15题:
与“ifup eth0”命令功能相同的命令是( )。
A、ifdown eth0 up
B、ipconfig up eth0
C、ifconfig up eth0
D、ifconfig eth0 up
第16题:
第17题:
在linux系统中,查看本机网卡eth0的IP地址,可以执行()命令。
第18题:
修改eth0网卡的IP地址为172.18.48.65和子网掩码255.255.255.128的命令:()
第19题:
如果我想要查看eth0的子网掩码需要用到的命令不可能是()?
第20题:
要想关闭掉eth0网卡需要的命令是()
第21题:
在Linux系统中,使用ifconfig设置接口的IP地址并启动该接口的命令是()。
第22题:
How should TCP/IP be configured on the ent0 network adapter?()
第23题:
route add -net 192.168.1.0 netmask 255.255.255.128 dev eth0
route add 192.168.1.0 netmask 255.255.255.128 gw 172.16.1.1 dev eth0
route add -net 192.168.1.0 netmask 255.255.255.0 gw 172.16.1.1 dev eth0
route add 192.168.1.0 netmask 255.255.255.192 gw 172.16.1.1 dev eth0