可以在CentOS下更改網卡的MAC值嗎? - Linux

Table of Contents

※ 引述《[email protected] (andy)》之銘言:
: ==> 在 [email protected] (...) 的文章中提到:
: > 不好意思剛接觸Linux,想請教各位大大!
: > 是否在CentOS 4.4的作業系統,可去變更網卡的MAC值?
: > 類似在Windows系列中
: > 執行『裝置管理員』 -> 選擇網卡 -> 『進階』 -> 『設定MAC』(假設網卡有支援此功能)
: > 如果有的話,步驟應該如何去進行設定?
: > 謝謝各位大大的解答。
: 改 mac 除非是要讓多台電腦 使用
: 非法 tool
: 因為一般 軟體都鎖 mac
: 但是 linux 不連網路不是很怪嗎

我知道的方法 :p


1. 先把網卡停用 # /sbin/ifconfig eth0 down

2. 看要改成什麼 # /sbin/ifconfig eth0 hw ether 00:00:00:01:02:03

3. 接著啟用網卡 # /sbin/ifconfig eht0 up

===========================================

以下可以不用看:

若在suse,進yast 會發現多了一張網卡

卡號是剛改成的那"假MAC"網卡

configure一下即可。 XD


--
為什麼天上的星星像人群一樣擁擠,

又為什麼地上的人們像星星一樣疏離。




--

All Comments

Catherine avatarCatherine2007-01-29
老大~ CentOS 沒有 YaST 吧 XDDDD :P
Freda avatarFreda2007-02-02
難怪我看了半天...覺得怪怪的...YaST不是只有SuSE有嗎?
Audriana avatarAudriana2007-02-07
獨門絕技呢 :P
Vanessa avatarVanessa2007-02-08
不要看yast那段就好了 XD
Zanna avatarZanna2007-02-09
謝謝愛西毛大大的提醒 :p