This question already has an answer here:
I've just download and installed the latest version of CentOS inside a VirtualBox VM. Installation went OK, but when I start the VM and log in, if I try and ping anything I get an error due to lack of network interface.
if I try and issue the
ifup eth0 command, I'm told
network is unreachable
. If I list the network interfaces using
ip link show the interfaces that are listed are:
I know what the loopback interface is for, but what is the latter? I was expecting eth0 or wlan0.
Inside virtual box I've set my network adapter to NAT, Bridged and Host Only but it makes no difference to the resultant Linux machine
As you can guess, I'm a tad new to all this, so any help on getting networking working inside my VM is appreciated.
****edit**: so now I know the new (rather confusing) naming convention, thats good. Been a while since i used Linux. I followed this guide: http://blog.zwiegnet.com/linux-server/configuring-network-centos-6/ but when I run
service network restart it fails. Looking at the log it says:
Failed to start LSB: Bring up/down networking.