Solved

Communication between VMs on the same Vstwitch

Posted on 2016-10-22
7
62 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
7 Comments
 
LVL 7

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 68

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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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 118

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now