"device eth0 does not seem to be present delaying initialization"

Is the one error which i was getting while i was trying to install  CentOS6  on KVM on my rhel6 host. I installed it no GUI installed because i wanted to be it as SQUID server so i left it on RUNLEVEL 3, there was no eth0 there only loopback showing. I edited /etc/sysconfig/network-scripts/ifcfg-eth0 but no use. finally used /var/log/dmesg log to know some thing.


[root@CentOS ~]# cat /var/log/dmesg  |grep -i eth

Then i came to know that there was some issue with MAC address, so i compared both the MAC addresses, like the one in the /etc/sysconfig/network-scripts/ifcfg-eth0 and the one at virtual NIC in the KVM. That's the thing both are not the same. So i changed it as it was on virtual NIC in the KVM. Then i restarted the network service and assigned the IP address. That's all man,

Wait , wait i forgot to tell you that in the dmesg log i also noticed that dev has changed the eth to eth1, so i edited the /etc/sysconfig/network-scripts/ifcfg-eth0 and also renamed it to /etc/sysconfig/network-scripts/ifcfg-eth1.