Previously in Ubuntu 12.04 with Apt-get installed VirtualBox 4.1, and then installed the XP SP3. But there is no network card, Ipconfig also have no information.
So in the VirtualBox main interface to find, in file->preferences find network, added a virtual network card vboxnet0.
Run to the Device Manager look, Nic to drive No, Ethernet played exclamation. Then right click to update the network card driver, has always chosen to find their own file installation, and later XP listed a bunch of drivers to choose.
But I do not know VirtualBox virtual that a network card, in fact, this is in the main interface to the right side can be found, but also in the Settings->network->advanced->adapter type of their own select a virtual network card type. I chose Intel pro/1000 T Server, so I can find the installation in XP later.
Then the network card with bridge can ping the host.
Note: Some VirtualBox can be virtual network adapter type, XP may not be found in the drive.