I've been reading a little bit about double NAT... where you have a network NAT'd behind another network that is NAT'd to the 'Net, or similar. Supposedly it causes some problems with packets in certain circumstances.
I've seen a few references to it here someone hooked a router to a cable modem, and I can kinda see how that could cause headaches. Other examples I've seen are where network A is behind a NAT firewall/router, and one of the machines on that network acts as a gateway/router to *another* network. Sometimes the IPs overlap, which again I could see as being a massive problem, and other times they don't. In the end... I'm not really sure when it is and isn't a huge issue or not.
Whats this have to do with Virtualbox? Well, if I use a NAT connection for my network adapter on a virtual machine, it connects to an internal NAT scheme, does it not? ( I realize that being software it may not behave exactly as a physical LAN would) So is that machine then double NAT'd? I haven't experienced any major problems with just using a guest vm over a NAT connection; they can connect to the LAN and the Internet, get updates, surf the web, etc. I've not yet tried port forwarding or anything like that, so I don't know how well that works out.
And then there's the scenario where I create a virtual LAN, by having several guest VMs all attached to 'intnet', and one of them has two NICs and eth0 is connected to the physical LAN via a bridged connection - essentially acting as a gateway/router for between that internal network and the physical LAN... is that considered 'double NAT' as well? Are there serious pitfalls that I'm headed for going that route? I primarily want to have a 'sandbox' that I can run the guest OSs through their paces while being somewhat isolated from the physical LAN - so I can cut that tie if needed and keep the outside world out, and any mistakes I make in
Here' is a drawing of what I'm envisioning:
