if you run:/etc/init.d/network restart
and occur:Bringing up interface eth0: Error: Connection activation failed: Device not managed by NetworkManag
the solution is:
command fllows:
chkconfig NetworkManager off
chkconfig network on
service NetworkManager stop
service network start
then,everything is ok。