Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am learning about virtualization. I have been managing real Linux servers for some time but this is the very first time I virtualize, so sorry if I am missing something.

My setup is like a small-company simulation: one firewall, one web server and one client (office). Everything is set up correctly, and all of them are working under NAT mode, according to VirtualBox.

Machine A: (firewall, gateway) & vbox dhcp ip (for internet) Machine B: (gateway is Machine A) Machine B: (gateway is Machine A also)

Running all of them at the same time, I try to ping or access Machine B from C, or Machine A from B... but they're not communicating with each other, which is kind of strange, because they are sharing netmask, network and everything.

Left to say that firewall has been disabled and right now I am just trying with nothing as "protection", so it should be other kind of problem.

Any idea about what could be happening will be appreciated (maybe another networking mode would work for this?).

Thank you!

share|improve this question
Get rid of that NAT-mode crap and go bridged. BTW, workstation virtualization is a lot different from what you would do with bare-metal hypervisors (ESXI,Xen, KVM, Hyper-V). Most of which do not support NAT. – Zoredache Oct 26 '12 at 17:29
If you're just trying to "learn" virtualization, workstation virutalization is alright... but for a business environment, use a business hypervisor, even for learning. It's what you will (or better be) using for business purposes, so save yourself some time and effort and learn on the platform you plan to use. – HopelessN00b Oct 26 '12 at 17:33
up vote 1 down vote accepted

This is actually a status-by-design situation.

In NAT mode, your VMs all have their own virtual router, and aren't supposed to be able to connect to each other. If you want to communicate between the VMs, use a host-only or bridged networking mode.

share|improve this answer
So I was wrong with that point... I understand it now. Thank you very much! – Raj Oct 26 '12 at 17:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.