Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »




From the vagrantfile


"private_network",

# Create a private network, which allows host-only access to the machine
# using a specific IP.
# config.vm.network "private_network", ip: "192.168.33.10"




"public_network"

https://www.vagrantup.com/docs/networking/public_network.html

# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
# config.vm.network "public_network"

Static IP address:

config.vm.network "public_network", ip: "192.168.0.17"

Chose a bridge:

config.vm.network "public_network", bridge: "en1: Wi-Fi (AirPort)"




  • No labels