LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to change the MAC address of an NIC card. (https://www.linuxquestions.org/questions/linux-networking-3/how-to-change-the-mac-address-of-an-nic-card-515844/)

vishnu_sreekumar 01-03-2007 05:10 AM

How to change the MAC address of an NIC card.
 
Hi,
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.
Thanks
Vishnu.

Brian1 01-03-2007 05:06 PM

A quick search on google pointed to this link. http://whoozoo.co.uk/mac-spoof-linux.htm
Use the command ' /sbin/ifconfig eth0 hw ether xx.xx.xx.xx.xx.xx '

Brian

chort 01-03-2007 06:35 PM

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).


All times are GMT -5. The time now is 01:43 AM.