Hello

Does vboxnet0 have a dhcp?

open virtualbox, preferences, network and check

be sure you are in the latest virtualbox version and latest vagrant version

Alvaro

On Fri, Aug 11, 2017 at 12:29 PM, Gerhardus Geldenhuis <
gerhardus.geldenh...@gmail.com> wrote:

> Hi
> I have actually change the configuration to config.vm.network
> "private_network", :type => 'dhcp', :name => 'vboxnet0 but it still fails.
> I created a bug report https://github.com/mitchellh/vagrant/issues/8878
> which gives more detail.
>
> Regards
>
> On Friday, 11 August 2017 11:23:17 UTC+1, Alvaro Miranda Aguilera wrote:
>>
>> Hello
>>
>> Not sure from where you got the last part but per documentation should be
>>
>> config.vm.network "private_network", :type => 'dhcp'
>>
>> Vagrant first network will be always nat and its by design that way  for
>> vagrant be able to login to the VM and configure
>>
>>
>>
>> Alvaro
>>
>>
>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>>  Virusvrij.
>> www.avast.com
>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>> <#m_5232159900709391182_CAHqq0ey16qDrxFZHfUOA68gGEBUr8EXOmQqsTMEsn6Sq4N11uQ@mail.gmail.com_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> On Fri, Aug 11, 2017 at 8:57 AM, Gerhardus Geldenhuis <
>> gerhardus....@gmail.com> wrote:
>>
>>> Hi
>>> I seem unable to create a Host-Only adapter for my second network
>>> interface in vagrant.
>>>
>>> I have the following line for networking:
>>> config.vm.network "private_network", :type => 'dhcp',
>>> virtualbox__intnet: "vboxnet0",
>>>
>>> Instead of creating a network attached to "Host-Only adaptor" it creates
>>> a network attached to the "internal network" named vboxnet0.
>>>
>>> The documentation is a bit sparse on network settings for the virtualbox
>>> provider. Any pointers would be appreciated.
>>>
>>> I am trying to create a box with two network cards, NAT for enabling the
>>> box to talk to the world and Host-Only adaptor to enable me to ssh to the
>>> box. I don't want to do port forwarding because I would like a generic
>>> solution that allows me to access any port because my host machine is on
>>> the same network.
>>>
>>> Regards
>>>
>>> --
>>> 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.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/vagrant-up/a51409c3-b2f6-4ec9-8395-4eb9b103cbe9%40googlegroups.com
>>> <https://groups.google.com/d/msgid/vagrant-up/a51409c3-b2f6-4ec9-8395-4eb9b103cbe9%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/db7b41d9-9804-4df9-b4de-154b03825ac2%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/db7b41d9-9804-4df9-b4de-154b03825ac2%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/CAHqq0eypPu%3DaDCQX5Pxq0pzd%2BhwQVOSe_dRid9G4p2hwV9ZuwQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to