Thanks a lot  Alvaro
that works fine.

I've read the doc and the ebook 'Vagrant Up and Running" but I didn't find 
this configuration option

Have a nice day

Bruno


Le mercredi 12 octobre 2016 18:50:16 UTC+2, Alvaro Miranda Aguilera a 
écrit :
>
> hello
>
> Vagrant doesn't create the network, its VirtualBox.
>
> Try this:
>
> Vagrant.configure(2) do |config|
>
>   config.vm.box = "hashicorp/precise64"
>
>   config.vm.provider "virtualbox" do |v|
>
>     v.customize ["modifyvm", :id, "--natnet1", "10.0.3/24"]
>
>   end
>
> end
>
>
> Alvaro.
>
> On Wed, Oct 12, 2016 at 4:29 PM, Bruno Ricci <br91...@gmail.com 
> <javascript:>> wrote:
>
>> Hello
>> when I create a new VM with vagrant for VirtualBox, Vagrant create a 
>> forwarded port 22 -> 2222 in subnet 10.0.2.0/24. it is a problem for me 
>> since 10.0.2.0/16 is already is the current subnet of my local network
>>
>> Is there a way/parameter  to change the subnet in which the first network 
>> (to communicate via ssh with the guest) is created ?
>>
>> Thanks in advance
>>
>> -- 
>> This mailing list is governed under the HashiCorp Community Guidelines - 
>> https://www.hashicorp.com/community-guidelines.html. Behavior in 
>> violation of those guidelines may result in your removal from this mailing 
>> list.
>>  
>> GitHub Issues: https://github.com/mitchellh/vagrant/issues
>> IRC: #vagrant on Freenode
>> --- 
>> 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+...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/vagrant-up/435162ab-3721-4e6f-ab0b-4f1b11b1a42f%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/vagrant-up/435162ab-3721-4e6f-ab0b-4f1b11b1a42f%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Alvaro
>
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/9a41f03c-cfb9-4bd0-8de2-db0615076eff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to