Hello

the documentation is just an example, different OS will require a different
route.

are you doing a macOS guest and you want to override the default gw there?

The first point will be check the documentation and came with the commands
you need

once you get the commands, Vagrant can run them for you. but came with the
commands require some trial try/error.

Alvaro.

On Mon, Nov 20, 2017 at 9:40 AM, <mich...@kinvolk.io> wrote:

> Hello,
>
> I change the default route in a VM as described here:
> https://www.vagrantup.com/docs/networking/public_
> network.html#default-router (i.e. `route add default gw <new> && route
> del default gw <old>`).
>
> This works fine on Linux but not for macOS users: they loose connectivity
> to the internet with the change (host and guest can still connect though).
>
> Somebody knows the problem and a solution?
>
> Thanks,
> Michael
>
> --
> 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 vagrant-up+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/vagrant-up/d03310ea-a817-407c-a525-997cbed904c9%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/d03310ea-a817-407c-a525-997cbed904c9%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 vagrant-up+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0ezV%2BqK1VV5aK0ZW0JZgoeOpqBQDDX3_NdV3wd2gkA%3DXUQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to