In this post we will learn about Oracle VM VirtualBox. How to setup network configuration so that internet connection is available from host.
What is Oracle VirtualBox
Virtual box helps to create multiple guest operating systems under a single host operating system. Its an open source hypervisor and can be installed on many operating systems such as Linux, Windows, Mac, Solaris etc.,VitualBox creates an emulated environment in which you can manage each guest virtual server created independently. You can spin multiple VMs and simulate network virtualization.
Follow below steps to setup Oracle VM Virtual Box network adapters so that host internet connection is available to guest OS VM servers.
Where to download latest version?
You can download latest version from official site and select platform of your choice.
Step 1: Open Oracle VM Virtual Box
Step 2: Go to File Menu and click Preferences
Step 3: Select Network in VirtualBox preferences box
Step 4: Click on Add new Nat Network icon (right side)
Step 5: Once the NatNework is installed, click on the edit icon to Edit settings
Make sure that Enable Network check box is selected as shown below and click OK
Step 6: Go to Host-only Networks Tab
Step 7: Click on Add new host only network icon right side, it will start installing adapter as shown below
After installation is done, click on settings icon and you should see IPv4 address. If not just add your host OS IP Address.
Step 8: Now, go to DHCP server tab and make sure enable server option is checked. If you do not see the IP adress, you can add as below. Click OK to save changes
That' it, we have now configured our Oracle VM VirtualBox so that host operating system internet will be accessible on all new guest OS VM servers.
In the next post, I will show how we can test the above network configurations and make sure that we have internet access on Guest OS VM Server.