Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-03-2007, 06:10 AM   #1
Registered: Jan 2006
Location: India
Distribution: Ubuntu, RHEL, Debian
Posts: 49

Rep: Reputation: 20
How to change the MAC address of an NIC card.

Is it possible to change the MAC address of an NIC card? If yes, how? I saw some postings in some other websites regarding this on Windows platform.
Old 01-03-2007, 06:06 PM   #2
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
A quick search on google pointed to this link.
Use the command ' /sbin/ifconfig eth0 hw ether xx.xx.xx.xx.xx.xx '

Old 01-03-2007, 07:35 PM   #3
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Technically speaking, that only changes the MAC address of the interface as recognized by the operating system. The MAC address of the hardware itself is unchanged (since it's built-in). You can, howerver, setup a script to execute the ifconfig statement every time the machine is booted (as described in the link from Brian1).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MAC address change of WD8013 NIC turnovg Linux - Networking 3 10-30-2009 11:27 AM
Intel dual port nic - uses same mac address walts65 Linux - Networking 2 10-04-2006 12:32 PM
modify nic mac-address mfran2002 Linux - Networking 4 10-19-2005 02:52 AM
changing nic mac address bishal Linux - Hardware 4 07-16-2004 05:44 PM
NIC gets different MAC address after each reboot?? BrianG Linux - Networking 1 04-09-2001 12:10 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration