Machine: VirtualBox is configured with multiple host-only adapters with the same IP

Created on 16 Jul 2016  路  7Comments  路  Source: docker/machine

Hi,

I started trying "docker-machine" in linux and hit by the error in the create step. Error

$ docker-machine -v
docker-machine version 0.7.0, build a650a40

$ docker-machine create --driver virtualbox dev
Running pre-create checks...
Error with pre-create check: "VirtualBox is configured with multiple host-only adapters with the same IP \"172.28.128.1\". Please remove one."

Any idea? I have already two VMs in stopped state.

$ VBoxManage list vms                          
"win7" {ade478d8-3080-409b-999f-a32f1cf40797}
"vagrant-service-manager_default_1467614255243_88024" {78929938-435f-4713-bb96-b1b0538494ad}

Most helpful comment

oc cluster up --create-machine
gave me similar Error with pre-create check: "VirtualBox is configured with multiple host-only adapters with the same IP \"192.168.56.1\". Please remove one"

searched duplicated hostonly interfaces on 192.168.56.1:
VBoxManage list -l hostonlyifs

found vboxnet0 and vboxnet1 both on 192.168.56.1; deleted only the second one:
VBoxManage hostonlyif remove vboxnet1
now: oc cluster up --create-machine works fine

All 7 comments

I am getting this issue in Fedora 24. Windows 10 is working fine.

What this error is telling you is that you have more that one host-only network adapter with the same same IP 172.28.128.1
If you open VirtualBox Panel and go to Settings/Network/Host-only Networks section, you can delete adapaters with duplicated IP addresses.

@bormansquirrel Thank you. I opened VB and after removing all host-only networks in File>preferences>network>host-only networks, minikube was able to start

@bormansquirrel : this issue can happen with minikube as well. thanks for the solution.

oc cluster up --create-machine
gave me similar Error with pre-create check: "VirtualBox is configured with multiple host-only adapters with the same IP \"192.168.56.1\". Please remove one"

searched duplicated hostonly interfaces on 192.168.56.1:
VBoxManage list -l hostonlyifs

found vboxnet0 and vboxnet1 both on 192.168.56.1; deleted only the second one:
VBoxManage hostonlyif remove vboxnet1
now: oc cluster up --create-machine works fine

@rondinif , that is a good solution as well. all done through the vboxmanage cli.

Thanks @rondinif. I had the same issue and the solution you proffered fixed it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jrz picture jrz  路  5Comments

jimfleming picture jimfleming  路  5Comments

perj picture perj  路  5Comments

AlexZeitler picture AlexZeitler  路  4Comments

BretFisher picture BretFisher  路  5Comments