• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 128
  • Last Modified:

Communication between VMs on the same Vstwitch

In the scenario where VMs are in the same Vswitch but in different Vlans, when they communicate between each other, does the traffic go out to the Router then back to another VM ?

Thank you
0
jskfan
Asked:
jskfan
4 Solutions
 
Senior IT System EngineerIT ProfessionalCommented:
It depends, if the vSwitch has an uplink port or not ?
if it is yes, then it depends on the Gateway setting on your Guest OS within the VM rule.
0
 
jskfanAuthor Commented:
Based on the concept of Vlans, they are Layer2.
in order for traffic to move between Vlans they need L3 device.
Seeing that Vswitch is not Layer 3, then I thought VM traffic from one Vlan, will have to go out of the ESX host to the Router then back to the other Vlan.
0
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
Correct that you need a Layer 3 (or at least 2.5) device for VLAN routing, and vSwitches do not operate at that level. You need a router, but it could be a virtual one (inside another VM) on the same VM host. That has the advantage that traffic does not have to leave the vSwitch, operating at 10GB/s (theoretically).
1
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
jskfanAuthor Commented:
You need a router, but it could be a virtual one (inside another VM) on the same VM host. That has the advantage that traffic does not have to leave the vSwitch, operating at 10GB/s (theoretically).

I do not think that idea is common.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
It might not be common in your environment.....but there are plenty of virtual router options...

1. Freesco
http://www.freesco.org/

2. Monowall
http://m0n0.ch/wall/index.php

3. Broacade Virtual Router
http://www.brocade.com/en/products-services/software-networking/network-functions-virtualization/vrouter.html

and Brocade, purchased and acquired Vyatta...

and now you've also got VMware NSX, software delivered networking! SDDC - Software Defined DataCentre, everything you need to implement a datacentre, delivered by software! (running on a bit of bare metal tin, the cleverness, is not in the tin, but in the software)
0
 
Kylo RenSystem EngineerCommented:
the short answer is yes.

traffic from different vlans will always need to be routed by some kind of a router. virtual or not
0
 
jskfanAuthor Commented:
Thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now