Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-25-2005, 03:59 AM   #1
LQ Newbie
Registered: Nov 2005
Posts: 10

Rep: Reputation: 0
MAC Cloning

Hello All,

When I try to change my mac address to 01:02:03:04:05:06 in My RHEL4
(AS) box I use the command,

#ifconfig eth0 down
#ifconfig eth0 hw ether 01:02:03:04:05:06 up

It comes up with an error that device is busy and I am not able to
change the MAC.

I edited /etc/sysconfig/network-script/ifcfg-eth0 as

As well as added "ifconfig eth0 hw ether 01:02:03:04:05:06"
to /etc/rc.d/rc.local file but no use I am not able to change
my MAC address.

Any Solution????

P.S. arp -s host 01:02:03:04:05:06 pub is not working too.
Old 12-25-2005, 06:21 AM   #2
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
Try this...

service network stop

nameif eth0 01:02:03:04:05:06

or this

ifconfig eth0 hw ether 01:02:03:04:05:06

service network restart


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
cloning cpvjagadeesh Linux - Software 1 04-11-2005 05:09 AM
Cloning OS madetheswitch Linux - Software 4 01-03-2005 03:09 PM
cloning with DD and NC scoob8000 Linux - Software 3 11-12-2004 11:34 AM
Mac Address Cloning spiritwing Linux - Networking 3 02-25-2004 06:00 PM
MAC address cloning in Linux sb73542 Linux - Security 1 08-02-2003 07:38 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration