ubuntu904固定ip設定會亂跑 - Linux

By Catherine
at 2009-08-13T21:09
at 2009-08-13T21:09
Table of Contents
爬文後參考網路上設定固定IP的方法
即設定/etc/network/interfaces
裡面改為
iface eth0 inet static
address 192.168.1.5 /*固定IP*/
netmask 255.255.255.0 /*子遮罩*/
gateway 192.168.1.1 /*通訊閘道*/
auto eth0
然後/etc/resolv.conf
加上nameserver DNSip
接著restart網路
可是怪事發生了 resolv.conf裡的dnsip他會一直給我自動改掉
然後抓到的ip也不是我要的 我明明是要固定ip阿><
可以請教一下該怎麼辦嗎 感謝!
--
Tags:
Linux
All Comments

By Adele
at 2009-08-14T05:13
at 2009-08-14T05:13

By Belly
at 2009-08-14T15:03
at 2009-08-14T15:03

By Aaliyah
at 2009-08-16T07:00
at 2009-08-16T07:00
Related Posts
請問裝了Fedora 11一陣子後,先再裝winxp嗎?

By David
at 2009-08-13T20:10
at 2009-08-13T20:10
Samba分享目錄無法進入

By Sierra Rose
at 2009-08-13T19:00
at 2009-08-13T19:00
可以把.vmdk 虛擬成 USB 裝置來使用嗎?

By Gilbert
at 2009-08-13T17:52
at 2009-08-13T17:52
Fedora 11硬碟問題

By Quintina
at 2009-08-13T16:56
at 2009-08-13T16:56
rpmbuild

By Tristan Cohan
at 2009-08-13T15:29
at 2009-08-13T15:29