Versions Compared

Key

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

1- add  a second interface 

...

  config.vm.network "public_network", adapter: "2", bridge: "Intel(R) Ethernet Connection I219-LM" , ip: "1""192.168.0.101"


config.vm.network "public_network", :adapter=>1 ,bridge: "Intel(R) Ethernet Connection I219-LM" , ip: "192.168.0.101"


adapter: "2"    create the second interface

adapter=>"1"  override he first one

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",
]