Solved

How do you change your MAC address in Linux?

Posted on 1997-06-19
9
350 Views
Last Modified: 2010-03-17
Just Curious on how you would go about altering your MAC address. I have seen it done with dos real-mode ipx drivers by putting an entry into the 'net.cfg' file.....

Is this possible in linux?

I'm aware that the MAC address is burned into your NIC. When you are using Novell's real-mode ODI drivers for DOS based machines you can change your MAC address By typing in your NET.CFG something like this...

Link Driver smc8000
    Node Address 10ba5e2

This will make your Make Address  02:00:01:0b:a5:e2
The '02' in the first octect is because we locally assigned the MAC address...

I'm merely just looking for a way to alter the MAC address
using software under linux...
0
Comment
Question by:reinbull
9 Comments
 
LVL 2

Expert Comment

by:e4monsch
ID: 1584952
When you mean Ethernet-Adress(00-00-c0-33-81-a4) by Mac-Adresse then I have an answer:

You cannot, as far as I know, change the Ethernet-Adresse of your Network-card. Every Eth-Card has its own worldwide unique Eth-Adr which is hardcoded by the manufactur.

Regards Ian

0
 

Author Comment

by:reinbull
ID: 1584953
Edited text of question
0
 

Author Comment

by:reinbull
ID: 1584954
I know you can't physically change your MAC address on your NIC short of an EPROM burner ( only on the older cards ).. I'm trying to find out a way to do it using software at run-time, like Novell's real-mode drivers...
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 2

Expert Comment

by:e4monsch
ID: 1584955
Why do you need to change the addres?
0
 
LVL 2

Expert Comment

by:e4monsch
ID: 1584956
You can change the extention but you cannot delete it. You could change 'ice' to 'icex'. May be this does the trick.

Regards Ian

0
 
LVL 2

Expert Comment

by:e4monsch
ID: 1584957
Sri. This was the wrong one... Forget the last answer.

0
 
LVL 3

Expert Comment

by:vinniew
ID: 1584958
hard code it.  recompile the kernel.
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 50 total points
ID: 1584959
ifconfig hw 0x10ba5e2 ether

see man ifconfig

Ciao
Achim
0
 

Author Comment

by:reinbull
ID: 1584960
Thanx for jogging my memory!
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to add a new SAN disk to a linux vmware box 8 37
Layer 7 Transparent cookie checker 22 65
What antennae works with Linux? 7 92
ifconfig 4 72
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question