Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing MAC address

Status
Not open for further replies.

amitatharkar

IS-IT--Management
Jul 8, 2002
42
IN
Hi all,
Is there any way in linux to change the MAC address.
I need this because i have cable net at home and the ethernet card is provided by ISP. I want to change that one. And the connection is based on the MAC address. I tried with new card but it is not allowing me to login.
 

Do like this:

ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx

It only works if the driver supports it though.

Cheers


Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
I thought MAC addresses were set in the hardware of the ethernet card? You sure you can do this at the OS level?
 
Wonboodoo is right. That is not possible to change MAC address.MAC address provided by hardware(NIC).Each hardware(NIC) has unique MAC address.Let me know if you can change it.Good Luck....:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top