It is a problem I met since Virtualbox 5.0.4. I can not make the guest OS communicate with Internet or Host, even the IP address is correct. It is similar to the Virtualbox bug of bridged connection, which is fixed in Virtualbox 5.0.6. So, installed the latest version of Virtualbox on my Windows 7 64bit.
The guest OS is Ubuntu 14.04 64bit. I upgrade my installation to Virtualbox 5.0.6. So the following are based Virtualbox 5.0.6.
When I tried to run yum update to do a update, it can not connect to the repos. And the wired thing is it is using IPv6 address. And actually I don’t have IPv6 implement in my LAN.
The network adapter information as below, looks normal.
The first time I run the command of yum update, it said another app is currently holding the yum lock. I don’t know why, and saw no process in memory by top command. So I just delected the lock file /var/run/yum.pid.
For testing purpose, I need a CentOS 6.3. So I download CentOS DVD image. Installed it in VirtualBox as web server.
Note: The network of guest system is using bridged, which allow the guest access internet, and also allow the computer in Lan can access the guest system.
The installation is simple, no problem. I would like to share my experience I met later.
1) Prepare the network
Only lo, or loopback is active. I can not access Internet from the CentOS.
eth0 is not showing when I run ifconfig command.