Discussion:
[vagrant-up] Can you access vagrant private network from host?
John S
2018-11-28 01:16:58 UTC
Permalink
I have a windows 10 host working with centos/7 guest. I set up vagrant file to use private_network. I can browse to the site when I use forwarded ports but it doesn't resolve from host when using private network. What could be wrong? Can you access private network guest from host?
--
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+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/afd6a67e-4b35-4e1a-b238-dbf4d93f43b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Alvaro Miranda Aguilera
2018-11-28 22:16:38 UTC
Permalink
hello there

i am not sure i can understand what you need help with.

let ask few questions.

what you have built so far? - share vagrant file
what do you see? - share an screenshot

if you also share what you want to happen, and describe what is happening
will help.

As is today, i may understand something different.

So let me try

when you use a private_network, the VM gets an ip.

you can set a fixed ip, lets say 192.168.56.56

And then the guest will have that ip set.

if you got a webserver, then you can use 192.168.56.56


What do you mean by resolve from host?
dns?

what do you want to resolve? to what?


thanks!
Post by John S
I have a windows 10 host working with centos/7 guest. I set up vagrant
file to use private_network. I can browse to the site when I use forwarded
ports but it doesn't resolve from host when using private network. What
could be wrong? Can you access private network guest from host?
--
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
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/afd6a67e-4b35-4e1a-b238-dbf4d93f43b0%40googlegroups.com
.
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+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ex5JccUyCGDPx0KYPjFtcr-RWRhrsLtd7tpkBKzV5EYbQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...