If you are using CentOS 6, the ethernet devices are no longer known as eth0, eth1, eth2, etc. they are em em1 em2.. etc. You may be able to change some stuff inside the script you're running.. or you could install CentOS 5.
you can verify this by running ifconfig -a