In my previous article Virtual Box – ping unknown host, it provides a solution to connect to the Internet in VirtualBox by using DHCP.

However, it may not work if Bridged Adapter is used.

For such case, you can try to run the commands below.

# sudo ifconfig eth0 up
 # sudo dhclient -v eth0
 # ping -c3