Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.




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)"