Solved

Communication between VMs on the same Vstwitch

Posted on 2016-10-22
7
94 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

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 121

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
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.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

623 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