"NAT network" is a simple to configure thing. It includes a shared NAT
across many VMs.
"NAT network":
Internet
|
+-------+------+
| | |
VM1 VM2 VM3
"NAT" is this:
Internet
| | |
| | | <--- good-old "NAT" for every VM. They can't
speak to each other.
| | |
VM1 VM2 VM3
Every VM for itself.
-or- You can use Internal + gateway, which would require an extra VM.
"Internal" network alone is insufficient, because it lacks Internet capability.
And would result in this:
+-------+------+ <-- Internal network.
| | |
VM1 VM2 VM3
"Internal" + "Gateway VM"
Internet
| <--- vNIC1: good-old "NAT"
Gateway VM
| <--- vNIC2: connected to "internal" network.
+-------+------+ <-- Internal network.
| | |
VM1 VM2 VM3
This would work, assuming you configure NAT + DHCP properly on
"Gateway VM" and run a full-blown OS on it, but it will result in more
overhead (esp. RAM, and boot-time).
More complex would be to learn VDE - Virtual Distributed Ethernet. It
achieves the same thing, and available since VirtualBox 3.2.x.
VDE switch provides for shared NAT. (install "vde2" package first)
$
vde_switch -s /tmp/switch1
slirpvde -s /tmp/switch1 --dhcp
VBoxManage modifyvm "VM name" --nic<x> generic
VBoxManage modifyvm "VM name" --nicgenericdrv<x> VDE
VBoxManage modifyvm "VM name" --nicproperty<x> network=/tmp/switch1
The real professionals can go a step further, and use GNS3 - Graphical
Network Simulator.
https://forums.virtualbox.org/viewtopic.php?f=32&t=47775
This is the absolutely limitless way to do VirtualBox networks. Pure
ecstasy (@_@)
Best wishes.
-Technologov
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
Unsubscribe:
mailto:[email protected]?subject=unsubscribe