歡迎您光臨本站 註冊首頁

Ubuntu 7.10 Linux系統綁定IP及MAC地址

←手機掃碼閱讀     火星人 @ 2014-03-12 , reply:0
   

一.修改/etc/network/interfaces,註釋自動獲取IP,並添加自動從網卡獲取地址。

 

#auto lo

 

#iface lo inet lockloop

 

auto eth0

 

二. 修改/etc/network/interfaces,添加靜態IP信息

 

iface eth0 inet static

 

address ***.***.***.***

 

netmask 255.255.255.0

 

gateway ***.***.***.254

 

三.修改/etc/resolv.conf,設置DNS

 

namaserver ***.***.***.***

 

nameserver ***.***.***.***

 

四.重啟網路

 

管理員身份執行 /etc/init.d/networking restart

 

五.重新啟動網路,enjoy Ubuntu。

(責任編輯:A6)



[火星人 ] Ubuntu 7.10 Linux系統綁定IP及MAC地址已經有451次圍觀

http://coctec.com/docs/net/show-post-68284.html