Versions Compared

Key

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

Image RemovedImage Added

1- add  a second interface  ( Public Network )

...

3- if more then one bridge interface is available


edit Vagrantfile

config.vm.network "public_network", bridge: [
  "en1: Wi-Fi (AirPort)",
  "en6: Broadcom NetXtreme Gigabit Ethernet Controller",
]

4- add  a second interface  ( Private Network )

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


Vagrant.configure("2") do |config|
  config.vm.network "private_network", type: "dhcp"
end

From the vagrantfile:



Select an "host-only" interface  with ip address ( name did not work!! )

...