Check whether your eth0 interface is up or not (you can
check by running ifconfig) in your guest OS. If not bring it up as follows:
ifconfig eth0 <-Guest OS IP address-> netmask <-Guest
OS Subnet Mask-> up
Find the screen shot below:
If it is running, just restart it as shown in the above
screen shot.