In the virutal box UI, Global Tools tab > create vboxnet0
host network with DHCP disabled (untick Enable Server).
Select the VM (it must be shut down to add a 2nd network adapter) > Settings > Network tab > Adapter 2 > Attach Host-only adapter and vboxnet0
Start the VM.
Edit /etc/network/interfaces