问题 单项选择题

局域网的网络地址192.168.1.0/24,其网关地址是192.168.1.1。主机192.168.1.20访问172.16.1.0/24网络时,其路由设置正确的是()。

A.route add–net 192.168.1.0 gw 192.168.1.1netmask 255.255.255.0metric1

B.route add–net 172.16.1.0 gw 192.168.1.1netmask 255.255.255.255metric1

C.route add–net 172.16.1.0 gw 172.16.1.1netmask 255.255.255.0metric1

D.route adddefault 192.168.1.0 netmask 172.168.1.1metric1

答案

参考答案:B

选择题
填空题