I'm trying to use vagrant with Windows as guest.
When I use config.vm.network to configure a host only network with static ip, the setting won't work.
Here is my Vagrantfile
# -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| config.vm.box = "win08r2" config.vm.guest = :windows config.ssh.max_tries = 1 config.ssh.timeout = 10 config.vm.provider :virtualbox do |vb| vb.gui = true end config.vm.network :private_network, ip :"192.168.56.10" config.vm.network :public_network end
The ip of vm is something like 196.254.xx.xx or other, just not same with 192.168.56.10.
Is there any problems with my vagrantfile?