单选题
在Linux系统中,不能为网卡eth0添加IP:192.168.0.2的命令是( )。
A、
ifconfig eth0 192.168.0.2 netmask 255.255.255.0 up
B、
ifconfig eth0 192.168.0.2/24 up
C、
ip addr add 192.168.0.2/24 dev eth0
D、
ipconfig eth0 192.168.0.2/24 up
【正确答案】
D
【答案解析】
Linux系统中没有IPconfig这个指令,很显然D选项不可能。
提交答案
关闭