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 = "172.16.0.0/24"
Vagrant.configure("2") do |config|
config.vm.network "private_network", :auto_network => true
end