The MAC address shown in the /etc/sysconfig/network/ifcfg-ethX files is just the address of what was detected at the time of installation.  This is done to make sure the configuration is applied to the correct NIC.  It does not auto-generate every time you reboot the system.<br>
<br>You will need to manually change that to the MAC address displayed by ifconfig, and add that to the list of things you need to update after cloning a system.<br><br><br><div class="gmail_quote">On Wed, Jun 9, 2010 at 8:03 AM,  <span dir="ltr"><<a href="mailto:premrajm@digilink.in">premrajm@digilink.in</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><font face="sans-serif" size="2">Hi,</font>
<br>
<br><font face="sans-serif" size="2">I have x86 system and have used <b>clonezilla</b>
to clone the entire hardisk of system A and restored it on another x86
system, system B.</font>
<br><font face="sans-serif" size="2">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</font>
<br><font face="sans-serif" size="2">is having the MAC address of system
A.</font>
<br>
<br><font face="sans-serif" size="2">The interesting part is that if i do
an <b>ifconfig </b>from the bash prompt, the MAC address of the system
B is correctly displayed, but </font>
<br><font face="sans-serif" size="2">in ifcfg-eth0 script it is different.
I had disabled kudzu, since i was always getting eth1 activated on System
B, </font>
<br><font face="sans-serif" size="2">even though i had used eth0 on system
A. eth0.bak was getting created instead on system B. Disabling kudzu resolved
it.<br>
</font><font face="Tahoma" size="2"> </font>
<br><font face="Tahoma" size="2">My question is that how could i get the
same MAC address for system B from ifconfig and in  </font>
<br><font face="sans-serif" size="2">/etc/sysconfig/network-scripts/ifcfg-eth0.
Is there any script to do it ?</font>
<p><font color="#808080" face="Arial" size="1">Thanks and Regards | Premraj 
M | Sr.Engineer - Hardware | Tel: +91 080-67274900 | Cell: +91 9741231739
| Email: <a href="mailto:premrajm@digilink.in" target="_blank">premrajm@digilink.in</a></font><font size="3"><br>
</font><img src="cid:_2_09C1F2D409C1EDCC004291286525773D"></p><div><font color="black" face="Times New Roman" size="1"><span style="font-size: 10pt; color: black;">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.</span></font></div>


<div style="border-top: 1px solid black; border-bottom: 1px solid black; margin: 20px 0pt; padding: 10px 0pt; font-size: 9pt; font-family: Verdana,Arial,Helvetica,sans-serif;">This email has been
 scrubbed for your protection by SecureMX. For more information visit
 <a href="http://securemx.in/" target="_blank">securemx.in</a></div>

<br>_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
<br></blockquote></div><br>