Ubuntu 7.04 設定固定 IP
作者: 不小心被逼到會 日期: 2007-11-14 21:51
Ubuntu 是另一種 Linux 套件,
其設定IP方法有別於 Redhat 系列,
我搜尋到這個網頁 [Ubuntu]使用固定IP上網 設定排除 (公司適用)
得到以下解法:
vi /etc/network/interfaces
CODE:
auto eth0
iface eth0 inet static
address 192.168.0.1
network 192.168.0.0
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.254
/etc/init.d/networking restart
完成!!
發表評論
訂閱
上一篇
返回
下一篇