Latest LQ Deal: Latest LQ Deals
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 09-02-2003, 02:57 PM   #1
LQ Newbie
Registered: Jan 2003
Location: Stavanger, Norway
Posts: 21

Rep: Reputation: 15
Change my MAC addr

I have a need to change my Mac address, and I thought this should work:

ifconfig eth0 down
ifconfig eth0 hw ether 00:50:74:E6:60:E4
ifconfig eth0 up

but when I do an ifconfig -a eth0 I get the same old mac ..

what's wrong?
Old 09-02-2003, 03:19 PM   #2
Registered: Apr 2002
Distribution: Ubuntu, Arch, freeBSD, Slackware
Posts: 210

Rep: Reputation: 30
I wasn't aware that the mac adress can be changed...
Old 09-02-2003, 03:23 PM   #3
LQ Newbie
Registered: Jan 2003
Location: Stavanger, Norway
Posts: 21

Original Poster
Rep: Reputation: 15
Well, you can't change the actual MAC, but I think you can change the one that is being sent to the DHCP server.

I have deleted my dhcp .leases file of course... so it shouldn't be able to find something there.
Old 09-02-2003, 03:23 PM   #4
LQ Newbie
Registered: Aug 2003
Posts: 8

Rep: Reputation: 0
I've never done this, but I'd imagine that your driver (if not your NIC as well) would need to support the change. It wouldn't be a permanent change anyway, for that I'd think you'd need to
make a firmware upgrade/change on the NIC itself.
I'd check out the docs on your device driver.

Sorry ... not much help ...
Old 09-02-2003, 06:33 PM   #5
Registered: Jul 2003
Location: England
Distribution: Debian Jessie, FreeBSD 10.1 anything *nix to get my fix
Posts: 329

Rep: Reputation: Disabled
I'm 99.9 % sure that a Mac address cant be changed using eqipment that is available to the public - Sliptwixt is right in saying its coded into the firmware. You would probably need expensive custom made stuff to achieve it...


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
how to change MAC address cain_eve Linux - Software 11 02-05-2009 01:52 PM
Obtain IP addr. from MAC addr? Ryand833 Linux - Wireless Networking 3 06-30-2005 01:59 PM
change mac address possible? kahn Linux - Networking 4 04-22-2005 04:43 AM
MAC address change? w9q Linux - Networking 3 09-10-2004 02:42 AM
change MAC Cubiq Linux - Networking 5 08-22-2002 02:50 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:04 PM.

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
Open Source Consulting | Domain Registration