How can I do NAT in VirtualBox
I'm using VirtualBox 4 on OpenSuse 11.3.
I've 6 vm with different OS.
My company uses a net in 10.x.x.x. But I can't use IP of that range (only one for the host). I use IP for my vm in the range 192.168.x.x.
I need my vm to communicate each other, to the host and outside. From outside (10.x.x.x), don't need to access 192.x.x.x.
How do I have to configure Virtualbox?
- Tried with host-only. VM can see each other, but not the outside.
- Tried with NAT. Then VM can't see each other.
- Tried with bridge. Then can't see outside.