I had a centos VM that I hadn’t used in a while, I think I cloned it from another version.
When I came to use it again I had no network andtrying to start the network I got the error message in the title.
There seem to be a few issues
Firstly netowrking isn’t endabled by default
Secondly the cloned image appears to get a different mac address for the network card, but theconfig doesn’t auto detect this
Thirdly the new machine seemed to have eth1 instead of eth0
and finally I needed to enable dhcp
What this meant was copying the new mac address from the virtualbox network settings tab (inserting a colon every second charecter to match the format required)
I placed this in both
Where I also set
Finally /etc/init.d/networking restart got my network up