單項選擇題

在Solaris下,對于增加路由網(wǎng)關的方法,以下錯誤的是()。

A.編輯/etc/defaultrouter文件,在文件中增加網(wǎng)關ip地址,重啟服務器
B.編輯/etc/network/router文件,在文件中增加網(wǎng)關ip地址,重啟服務器
C.route add –net<目標網(wǎng)絡地址><網(wǎng)關ip地址>
D.將命令:route add –net<目標網(wǎng)絡地址><網(wǎng)關ip地址>寫入/etc/rc2.d/S99addroute文件,重啟服務器

微信掃碼免費搜題