Solved

Communication between VMs on the same Vstwitch

Posted on 2016-10-22
7
86 Views
Last Modified: 2016-10-22
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
Comment
Question by:jskfan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 8

Assisted Solution

by:Senior IT System Engineer
Senior IT System Engineer earned 30 total points
ID: 41854917
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
 

Author Comment

by:jskfan
ID: 41854944
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
 
LVL 70

Accepted Solution

by:
Qlemo earned 270 total points
ID: 41855140
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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:jskfan
ID: 41855334
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
 
LVL 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 110 total points
ID: 41855379
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
 
LVL 5

Assisted Solution

by:Kylo Ren
Kylo Ren earned 90 total points
ID: 41855454
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
 

Author Closing Comment

by:jskfan
ID: 41855614
Thank you
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
veeam restore 10 76
Creating a partition in VMware 20 50
SSIS on VMWare 5.01 9 33
Esxi nic speed 7 34
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question