

Then, in the network settings for the virtual machine ( machine tools icon - hammer), set up two adapters:Īlso don't forget to click on refresh mac address of both adaptersīoot the virtual machine and log in through the console VirtualBox provides.

of the network interface on VM)Ģ) Set up the adapter in network settings of VM This will make you virtual machine part of your main network. On a fresh installation of VBox 3.1.8, it creates a new interface named 'VirtualBox Host-Only Network' with a static IP address of : 192.168.56.1/24. In virtual box go to the settings for your machine->Network->Adapter 1 and select Bridged Adapter. You can set IP address whatever you like, but make sure that other options are also set to appropriate address (DHCP server address, Lower/upper address bound, conf. If you want to communicate with your VMs with 192.168.56.XXX IP, you need the host Virtual Box interface to have an IP on the same range. On the command line, enter VBoxManage modifyvm 'vmname -nic x hostonly. In newer versions of VirtualBox select from File menu > Host network manager.Ĭreate new adapter, and set the following options: Go to the Network page in the virtual machines Settings dialog and select Host-Only Networking. So I decided to provide a step-by-step guide from my personal notes. You can find many tutorials about how to setup host-only adapter, but most of them are incomplete, something is missing. In the Oracle VM VirtualBox graphical user interface, you can configure all these items in the global settings by choosing File, Preferences, Network.
