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

internal network only ( between VM only) selected by name

vqfx.vm.network 'private_network', auto_config: false, nic_type: '82540EM', virtualbox__intnet: "#{UUID}_reserved-bridge"

Host only ( VM to VM and host ), selected by ip address

vqfx.vm.network 'private_network', auto_config: false, nic_type: '82540EM', ip: "1#{seg_id}.0.1.1#{seg_id}"


"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