Varying Vagrant IPs

One of the biggest problems when creating new vagrant VMs is finding a free IP address to use.

Enter the auto_network plugin. This plugin will assign addresses to the VMs for you from the provided subnet.

$ vagrant plugin install vagrant-auto_network

Install the plugin via the vagrant command line. Then add these lines to your Vagrantfile.

AutoNetwork.default_pool = ""
Vagrant.configure("2") do |config| "private_network", :auto_network => true