hello

Can you do vagrant halt, then turn the VM on using the Virtualbox Gui and
try the pings from inside?

I don't think this is a Vagrant issue..

>From the VM, whats the output of route -n

other option is from virtualbox gui, power the VM off, and check settings
of the 2nd network card and test different network cards

[image: Inline image 1]

perhaps there is one that runs better.

Alvaro.

On Fri, Nov 24, 2017 at 6:54 AM, <[email protected]> wrote:

> I set up several VMs via Vagrant.
>
>     # Machine
>     config.vm.box = "ubuntu/xenial64"
>     config.vm.provider "virtualbox" do |vb|
>         vb.memory = "2048"
>         vb.cpus = "2"
>     end
>
>     # Networking
>     config.vm.hostname = "domain.com"
>     config.vm.network "public_network", ip: "10.10.2.29", bridge: "p1p1"
>
>     # default router
>     config.vm.provision "shell",
>     run: "always",
>     inline: "route add default gw 10.10.2.1"
>
> Now the vagrants can ping each other without packet loss because they are
> on the same subnet, but when its going through the switch from my
> machine(10.10.13.XX) there is about 3-10% packet loss. Weirdly enough I can
> start a screen instance and ping the default gateway continuously so that
> the loss is negated. I am not a network administrator so I am not sure if
> there is anything I can do or if I missed something, can someone help?
>
> Thanks!
>
>
>
>
> --
> 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/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> 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 [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/vagrant-up/0c904570-2aec-4fa0-a99d-ca9889f46d5d%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/0c904570-2aec-4fa0-a99d-ca9889f46d5d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
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/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0eyKXp2n%2BNNa6%3D9imfpEwc8XyJXOsani3doMtkNm%3DSzTPw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to