Anand Suresh
Anand Suresh

Reputation: 113

Vagrant and SmartOS networking

I am attempting to create a Vagrant (VirtualBox) VM running SmartOS, with the following constraints/requirements:

I have searched the interwebs for a while to find any kind of documentation that would allow me to get this done, but there isn't a lot of support available out there.

I have managed to get to a point where I have the global zone spun up, with an account for the vagrant user (I had to lofs-mount /etc/passwd, /etc/group (for the vagrant group) and /etc/shadow to achieve this). I have 3 nics on my VM: - NIC 1 (admin nic) is setup as a NAT'd nic in vagrant - NIC 2 (external nic) is setup as in bridged mode in vagrant - NIC 3 (internal nic) is setup as a private (host-only in virtualbox terminology) nic in vagrant

Because of the NAT'd admin nic, I have connectivity to the internet in the global zone. But no matter what configuration I try, I cannot get internet connectivity in the zones I create.

Any assistance would be appreciated. Also, feel free to ask me more questions about my configuration so far.

Thanks

Upvotes: 1

Views: 235

Answers (0)

Related Questions