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.