are you using wifi on any of those host ?


On Thu, May 13, 2021 at 9:14 PM Raghu H <hragh...@gmail.com> wrote:

> I am not able to ping between two virtual machines on different Host, But
> can ping between two virtual machines if they are in the same Host machine,
> using a Bridge network to communicate between the two different VM’s.
>
> Vagrantfile look like this on both VM,
> ENV['VAGRANT_NO_PARALLEL'] = 'yes' Vagrant.configure(2) do |config|
> config.vm.provision "shell", path: "bootstrap.sh" MasterCount = 1
> (1..MasterCount).each do |i| config.vm.define "kmaster2" do |masternode|
> masternode.vm.network "forwarded_port", guest: "80", host: "5050",
> auto_correct: "true" masternode.vm.box = "bento/ubuntu-20.04"
> masternode.vm.hostname = "kmaster2.example.com" masternode.vm.network
> "public_network", ip: "172.16.16.50", bridge: "ens160"
> masternode.vm.provider "virtualbox" do |v| v.name = "kmaster2" v.memory =
> 2048 v.cpus = 2 end end end
>
> please refer to the text diagrams below Ping between the Physical machine
> (241) and Physical machine (242) works ping between VM-11 and VM-12 within
> the same physical machine works. Ping from VM-21 in Physical machine (242)
> to Physical machine (241) works But ping between VM-11 and VM-21 does not
> work. Also, ping from Physical machine 241 to VM-21 (in Phy machine 242)
> does not work
>
> Any leads would help.
>
> Physical machine (241)
> -------------------- | ----------- | | |VM-11 | | | ----------- | | | | 
> -----------
> | | |VM-12 | | | ----------- | |------------------|
>
> Physical machine (242)
> -------------------- | ----------- | | |VM-21 | | | ----------- | | | | 
> -----------
> | | |VM-22 | | | ----------- | |------------------|
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/hashicorp/vagrant/issues
> Discuss: https://discuss.hashicorp.com/c/vagrant/24
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to vagrant-up+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/36a404c2-b788-41ba-adbe-24c811470e5cn%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/36a404c2-b788-41ba-adbe-24c811470e5cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Alvaro

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/hashicorp/vagrant/issues
Discuss: https://discuss.hashicorp.com/c/vagrant/24
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vagrant-up+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezGDJBsVK4Q7vdDqihTTgkJSA4mPKmAw1GZTY48ZLe16w%40mail.gmail.com.

Reply via email to