Super User is a question and answer site for computer enthusiasts and power users. 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 have 4 windows VMs and a Mikrotik router vm as guest on an ESXI 5 host server. I want to set up a network so that i can assign private IPs on the windows VM and make the Mikrotik router VM their default gateway. I know how to create a virtual switch for the physical NICs on the ESXI host. How do I create a network of the VMs where the windows VMs will sit behind the Mikrotik router?

share|improve this question

In ESXi, create a virtual switch, not connected to the outside world and one that is connected to the outside world. On the MikroTik Router, give it 2 network connections, one to the internal and one to the external connections. All your Windows boxes should just connect to the internal. In the Mikrotik router, tell it to give IPs (DHCP server) to the internal boxes, and setup the external link however you need... Since the Windows boxes are not connected to the outside world, their only way out is though the Router.

share|improve this answer

I know this is old post, but still it might be useful for any one. How to create virtual switch and connect it with wan/lan.

share|improve this answer
Please consider expanding your answer with some excerpt from the linked article. See How To Answer for why it is important. – bytebuster Jan 11 '13 at 6:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .