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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/a51409c3-b2f6-4ec9-8395-4eb9b103cbe9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to