Steps to do port forwarding in VirtualBox and Connecting Machine Using Putty.ġ- Start your VirtualBox from the menu as we have learnt from previous post.Ģ- Navigate to Virtual Machine Created for UbuntuĤ- Navigate to Network Option On Ubuntu Setting Window and Click and Again navigate to Adapter 1 (As in Snapshot)ĥ- Now Click on Advanced (As we can see in above Image).
What are Web Services, Types And Its Advantages?īut there is one disadvantage which keeps this Virtual machine under a private network and this machine can’t be access from other machine outside this network and this is only possible through port forwarding. This is only because this router in between Virtual machine and Host Machine. Due to this Virtual Machines doesn’t talk to other Virtual Machine. This router works between host machine and VirtualBox. Here Oracle VM VirtualBox networking engine acts as router and maps traffic to and fro transparently. Due to this VirtualBox provides this network setting by default.Ī VM enabled with NAT, acts like a real time computer which access internet/network through an router. The best thing tagged with this setting is that nothing needs to be changed on host(Parent Machine Where VM is deployed) or guest (Operating System Installed on VirtualBox) machines. This is the easiest way of accessing network of host machine inside Virtual Machine.
Second Thing is to bring this virtual machine in network and this can be done by two ways. But if you are on Unix/Linux terminal then only thing you need to do is SSH this machine. First thing is installation of Putty if you are working on Windows. So for this we need to perform some initial house keeping. But what if you want to access your Ubuntu on VirtualBox.
#INSTALL UBUNTU ON VIRTUALBOX WINDOWS 10 COMMAND LINE INSTALL#
In the previous post, We have learned to install Ubuntu on VirtualBox.