Fixed using *vagrant-auto-network* plugin 
https://github.com/adrienthebo/vagrant-auto_network

and the following line in vagrantfile :

config.vm.network :private_network, :ip =>'0.0.0.0', :auto_network => true  

Have to define a DHCP pool if required , there is one by default.

cheers.


Le jeudi 20 mars 2014 09:53:30 UTC+13, Nic' a écrit :
>
> Just for following up , yes it works well when an IP is specified.
> so ok , no dhcp in private network.
>
> Cheers,
> Nic'
>
>
> Le mardi 18 mars 2014 13:35:43 UTC+13, Alvaro Miranda Aguilera a écrit :
>>
>>
>> On Tue, Mar 18, 2014 at 12:10 PM, Nic' <houil...@gmail.com> wrote:
>>
>>> uillet 2013
>>
>>
>>
>> Hello,
>>
>> you did reply an email from 2013.. taking vagrant move very fast, best is 
>> just create a new one.
>>
>> Are you using virtualbox or vmware?
>>
>> for virtualbox, it should work.. for vmware, I have been reading some 
>> times there is no DHCP in the network and that cause to fail.
>>
>> in that private network, you need to pass the IP as an argument, 
>> otherwise, if you get any random ip, how you will use it?
>>
>> Try this:
>>
>> config.vm.network :private_network, ip: "192.168.33.10"
>>
>> and replace the IP, with one suit what you want to test.
>>
>> let me know how it goes (and provide more information, what os, version of 
>> vagrant and vmware/virtualbox)
>>
>> Alvaro.
>>
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vagrant-up+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to