Resolving VirtualBox-based Vagrant boxes IP collisions

How to solve collisions of VirtualBox with virtual bridges on Fedora (e.g. when running Vagrant).

The problem occurs when trying to start VirtualBox-based Vagrant box due to IP collision with such a bridge. Vagrant would report something along the lines:

Vagrant actually runs /usr/bin/VBoxManage list bridgedifs command to determine the collision, but you will see it with ip addr show command as well.

One of the virtual bridges occupies 10.1.2.1 address which is used by VirtualBox. In my case it’s virbr3.

To get rid of the interface you need to first bring it down and then remove:

Of course make sure you don’t need the interface anymore before doing that.

Leave a comment

Your email address will not be published. Required fields are marked *