EFForg / OpenWireless

The official home of the EFF OpenWireless Project
Other
732 stars 80 forks source link

Vagrant DHCP conflict #295

Closed r4d1n closed 9 years ago

r4d1n commented 9 years ago

I am seeing the following error when I run vagrant up after downloading the repo:

"A host only network interface you're attempting to configure via DHCP already has a conflicting host only adapter with DHCP enabled. The DHCP on this adapter is incompatible with the DHCP settings. Two host only network interfaces are not allowed to overlap, and each host only network interface can have only one DHCP server. Please reconfigure your host only network or remove the virtual machine using the other host only network."

I have used vagrant to run one prior VM, just following the vagrant getting started instructions (https://docs.vagrantup.com/v2/getting-started/index.html), but I have run vagrant destroy and this box no longer shows up in my VirtualBox gui.

My host machine is a Thinkpad running Xubuntu 14.10. Any help resolving this problem would be much appreciated.

Was able to figure it out. If anyone else has this problem in a fresh VirtualBox install you need to run:

VBoxManage dhcpserver remove --netname HostInterfaceNetworking-vboxnet0

per explanation at: http://curtjen.com/2014/08/17/vagrant-up-conflicting-host-only-adapter-with-dhcp-enabled/ https://github.com/mitchellh/vagrant/issues/3083

"VirtualBox ships with an initial dhcpserver seeded in its config"