Normally you would just set the network to 'NAT' configuration in VirtualBox.
To set the IP address, log in as the user account you created during setup and run:
Code:
sudo nano /etc/network/interfaces
Enter your account's password when prompted.
Look near the bottom of that file for "iface eth0 inet auto"
Change it to look something like this, but change IP addresses etc to suit your setup.
Code:
iface eth0 inet static
address 192.168.0.66
netmask 255.255.255.0
gateway 192.168.0.254 To save and exit: Ctrl + O, Enter, Ctrl + X
To restart networking:
Code:
sudo /etc/init.d/networking restart