Hello, This is how its designed. first nic in virtualbox will be set to NAT on vagrant up.
You can use public or private network to add 2nd nic for other IP assigment. and using a shell provisioner you can override the default gw if you require send all the traffic over a public network. Can you share a bit more on whats the issue you are having with the current setup? Thanks alvaro. On Thu, Mar 10, 2016 at 10:10 AM, Charles Llewellyn < [email protected]> wrote: > Hi, > > Apologies if this has been answered before....I have had good hunt but > couldn't find a solution. > > Is it possible to tell vagrant to assign the primary NAT address via DHCP > from virtualbox? It seems its possible to do this outside vagrant. > > Cheers > > Charlie > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/198d1422-9f09-4d22-ad7d-2d9cf6a4a364%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/198d1422-9f09-4d22-ad7d-2d9cf6a4a364%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ey6z8_66fZzgbt_RkamahFyn__aFKr8ikhB3BSXhkmNmg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
