Configuring a local network in Virtualbox
You've installed virtualbox, installed your host server OS, done updates on the server OS, installed any extra software, but found that the host adapter is not on your local network's correct subnet. By default the network adapter in VirtualBox is set to NAT, Network Address Translation. The simple way to fix this is to go into the Settings for your virtual machine instance and change the network settings to "Bridged Adapter." Because VirtualBox also assigns a MAC address to this bridged adapter you can to go into your router and set a static IP for this virtual device based on the MAC address assigned in VirtualBox.