LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Change my MAC addr (https://www.linuxquestions.org/questions/linux-networking-3/change-my-mac-addr-88526/)

borbjo 09-02-2003 02:57 PM

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?

sqn 09-02-2003 03:19 PM

:|
I wasn't aware that the mac adress can be changed...

borbjo 09-02-2003 03:23 PM

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.

Sliptwixt 09-02-2003 03:23 PM

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

neilcpp 09-02-2003 06:33 PM

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


All times are GMT -5. The time now is 11:47 AM.