superuser.com
Connect to the host machine from a VirtualBox guest OS?
find the ip address of host and guest if you are on windows, run ipconfig and get the ip address; if you are on Linux, Unix, or Mac OS, run ifconfig | grep 'inet' and get ip address; the ip address is like 192.168.1.1; if you want to access host, run browser in guest and enter ip address of host
Assign a Static IP Address to a VirtualBox Guest with a NAT Network ...
Currently, intnet has a DHCP server (set up by VirtualBox) that automatically assigns dynamic IP's to the guests. This works fine, but I would like the DHCP server to assign static IP's to specific guests based on their network interface's MAC address. Static IP's can be set inside the guests, but that takes time and is guest OS dependent.