未分类题
● 客户机通过代理服务器 Server 访问Internet 的连接方式如下图所示。在Linux 操作 系统中,为代理服务器中IP 地址为 192.168.0.1 的网卡分配IP 地址并激活该网络接口,应 执行 (55) ;为IP 地址为 192.168.0.100 的PC 机配置默认网关,应执行 (56) 。配置完成后,运行 (57) 命令重启计算机,通过 (58) 命令显示当前 DNS 服务器 的地址和域名。
(55)
A .ifconfig –up eth1 192.168.0.1/24
B.ifconfig eth1 192.168.0.1 255.255.255.0 up
C.ifconfig eth1 192.168.0.1 up netmask 255.255.255.0
D.ifconfig 192.168.0.1/24 eth1 netmask 255.255.255.0 up
(56)
A .route add default 192.168.0.1
B.route add up 192.168.0.1
C.route add –net 0.0.0.0/32 gw 192.168.0.1
D.route add –host 192.168.0.100/24 gw 192.168.0.1
(57)
A .reboot
B .shutdown
C.init 0
D.poweroff
(58)
A .resolv
B .ping
C .nslookup
D .testdns
A.168.0.1
B.168.0.100
C.ifconfig
D.168.0.1/24
E.ifconfig
F.168.0.1
G.255.255.0
H.ifconfig
I.168.0.1
J.255.255.0
K.ifconfig
L.168.0.1/24
M.255.255.0
N.route
O.168.0.1
P.route
Q.168.0.1
R.route
S.0.0.0/32
T.168.0.1
U.route
V.168.0.100/24
W.168.0.1
X.reboot
Y.shutdown
Z.init
[.poweroff
.resolv
].ping
^.nslookup
_.testdns
【参考答案】
C,A,A,C