Access internet on VirtualBox VM with Host-only adapter setting

This article is in continuation of story Ping Virtual Box(Guest) from Windows(Host).

We will add the super power capabilities [Access Internet] which were lost when we tried to ping our virtual machine from the host machine.

No more talking now!!!! Let start.

Add network adapater i.e. NAT Network adapter

NAT network adapter gives the virtual machine the super power to communicate with the network. Adding this is very easy. Just got to Oracle VM VirtualBox Manager and add Adapter.

Now, I have 2 adapters configured.

  • Adapter 2 :- Used to make VM communicate over the Internet.
  • Adapter 1:- Used to make our VM accessible from the host machine

Your final configuration should like below:-

All set!!!! We are on top of the world now. Internet is waiting for us to get explored. Check now on browser if you are able to Rock n Roll or not.

If this post was helpful, please click the clap 👏 button below a few times to show your support! ⬇⬇

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store