I have a VirtualBox virtual machine. The host machine runs Ubuntu. The guest (virtual) machine runs Windows XP.
I googled this problem, and people claim that they fixed it by changing adapter type to NAT, but there is no such option for me:
It didn't work either, after just switching it to NAT. Here are the current settings (with all details shown):
Here's a screenshot of the guest showing some networking information:
(Please note that this question is about how to give a VM Internet access in VirtualBox, so the presence of a picture of Windows doesn't automatically make this off-topic!)