Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 114
  • 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
 
QlemoC++ DeveloperCommented:
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

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