[CentOS] MAC address changes after cloning

Wed Jun 9 12:03:07 UTC 2010
premrajm at digilink.in <premrajm at digilink.in>


I have x86 system and have used clonezilla to clone the entire hardisk of 
system A and restored it on another x86 system, system B.
After the cloning process, i notice that the MAC address of the system B 
in the /etc/sysconfig/network-scripts/ifcfg-eth0 is changed and
is having the MAC address of system A.

The interesting part is that if i do an ifconfig from the bash prompt, the 
MAC address of the system B is correctly displayed, but 
in ifcfg-eth0 script it is different. I had disabled kudzu, since i was 
always getting eth1 activated on System B, 
even though i had used eth0 on system A. eth0.bak was getting created 
instead on system B. Disabling kudzu resolved it.
My question is that how could i get the same MAC address for system B from 
ifconfig and in 
/etc/sysconfig/network-scripts/ifcfg-eth0. Is there any script to do it ?
Thanks and Regards | Premraj  M | Sr.Engineer - Hardware | Tel: +91 
080-67274900 | Cell: +91 9741231739 | Email: premrajm at digilink.in
Disclaimer : This message is proprietary to Smartlink Network Systems Ltd. and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. The company accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus.


This email has been scrubbed for your protection by SecureMX.
For more information visit http://securemx.in

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100609/b13f2bea/attachment-0004.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 31194 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20100609/b13f2bea/attachment-0004.jpe>