Closed ecsimsw closed 1 year ago
ref, https://blog.jeffli.me/blog/2017/04/22/vagrant-networking-explained/
We assume that Vagrant is running in the laptop whose IP address is 192.168.1.10
.
The word public
does not mean that the IP addresses have to be public routable IP addresses. Hence it is kind of confusing. The doc also states that bridged networking
would be more accurate. In fact, public networking
is called bridged networking
in the early days—see the doc of old version. Just keep one simple rule in mind—if the VM’s assigned IP is in the same subnet of the host, then it is a public networking configuration.
port forwarding without router
https://blog.jeffli.me/blog/2017/04/22/vagrant-networking-explained/