Internet is not working after using VirtualBox

Discussions related to using VirtualBox on Linux hosts.
Post Reply
ranga
Posts: 1
Joined: 1. Feb 2018, 07:38

Internet is not working after using VirtualBox

Post by ranga »

Dear Team,

I have installed virtual box 5.1 in my fedora-26 pc , where i have made successful installation of vagrant inside virtual box , then docker inside vagrant by which i am trying to install ansible via docker.

my host machine ip is : 192.168.2.6
my virtual box ip is : 192.168.2.150

setup is as follows
Host > Virtual box > Vagrant > Docker > Ansible
Default Gateway for both Host and Virtual box is 192.169.2.1

i am able to ping Default Gateway 192.168.2.1 inside virtual box as well as 8.8.8.8 also where as from host am unable to ping default gateway 192.168.2.1 but sometimes i can ping 8.8.8.8 from host pc

Can any one help me in this

Thank you.
Last edited by socratis on 1. Feb 2018, 09:33, edited 2 times in total.
Reason: Fixed formatting.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Internet is not working after using VirtualBox

Post by socratis »

  1. Nested Virtualization is not supported.
  2. Vagrant is a program that relies on VirtualBox but modifies its configuration files in unknown ways to us. It is not supported on these VirtualBox user forums, they have their own Vagrant support channels. If you are having this problem with a standalone version of VirtualBox, then we can continue this discussion.
  3. Docker is a program that relies on VirtualBox but modifies its configuration files in unknown ways to us. It is not supported on these VirtualBox user forums, they have their own Docker support channels. If you are having this problem with a standalone version of VirtualBox, then we can continue this discussion.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply