Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

Skip to main content

My Subscriptions

Loading

Knowledge Base

Configuring a Virtual Machine Communication Interface on a vSphere ESX/ESXi host (1010806)

Last Updated: 10/6/2016Categories: How toTotal Views: 82196Language:
Chinese (Simplified)JapaneseEnglish

4 like this article

Subscribe to get an email
newsletter with new updates

4 people found this helpful Please provide article feedback:

Purpose

This article provides steps to configure the Virtual Machine Communication Interface (VMCI).

Resolution

Note: ESXi 5.1 has deprecated virtual machine to virtual machine communication part of Virtual Machine Communication Interface. The virtual machine to host part Virtual Machine Communication Interface is still enabled by default. For more information, see the VMCI Sockets 5.1 Release Notes.

The Virtual Machine Communication Interface (VMCI) is an infrastructure that provides fast and efficient communication between a virtual machine and the host operating system and between two or more virtual machines on the same host. The VMCI SDK facilitates development of applications that use the VMCI infrastructure. Without VMCI, virtual machines communicate with the host using the network layer. Using the network layer adds overhead to the communication. With VMCI communication overhead is minimal and different tasks that require that communication can be optimized. An internal network can transmit an average of slightly over 2Gbit/s using vmxnet3, VMCI can go up to nearly 10Gbit/s with 128k sized Queue pairs.

There are two types of communication:

Datagrams: connectionless – Similar to UDP Queue Pairs

Connection oriented – Similar to TCP

VMCI provides Socket APIs, which is similar to what is already used for TCP/UDP applications. IP addresses are replaced with VMCI ID numbers. For example, it is possible to port net perf to use VMCI sockets instead of TCP/UDP.

To enable communication between virtual machines that run on the same host:

Note: Before performing these steps, ensure that the virtual machine is using hardware version 7.

In the vSphere Client Inventory, right-click the virtual machine and click Edit Settings.

Click the Hardware tab.

Select VMCI device and select Enable VMCI Between VMs.

Click OK. The other virtual machines running on the same host can now communicate with this unrestricted virtual machine.

This line is automatically added to the virtual machine configuration file (.vmx):

vmci0.present = "TRUE"

You can also enable VMCI by manually adding this line to the .vmx file. For more information, see Tips for editing a .vmx file (1714).

Note: The VMCI component of VMware Tools must also be installed inside the virtual machine.

Optionally, you can add this line to the .vmx file to define a communication interface:

vmci0.id = "num"

Note: num is a positive integer that is unique for each virtual machine on your host. That is, for any virtual machine, you can choose a number, such as 1, 2, 3, but two virtual machines must not have the same number as their vmci0.id.

Related Information

For more information, see:

The Configure the Virtual Machine Communication Interface section in the vSphere Virtual Machine Administration Guide for ESX/ESXi 4.X.

The Configure the Virtual Machine Communication Interface in the vSphere Web Client section in the vSphere Virtual Machine Administration Guide for ESXi 5.X.

vSphere ESX/ESXi ホスト上での仮想マシン コミュニケーション インターフェイスの構成
在 vSphere ESX 主机上配置虚拟机通信接口

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Additional Resources

KB
•
vNetwork Distributed Switch 上のプライベート VLAN (PVLAN) - コンセプトの概要 (1010691)

KB
•
显示 VMkernel 网络接口的 ARP 和邻居发现缓存 (2000130)

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

Results 1-3 of 3

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

VMware ESX Server

Related Versions:

VMware vSphere ESXi 5.0

VMware ESXi 4.1.x Installable

VMware ESXi 4.1.x Embedded

VMware ESXi 4.0.x Installable

VMware ESXi 4.0.x Embedded

VMware ESX 4.1.x

VMware ESX 4.0.x

Take Our Survey

Copyright © 2024 VMware, Inc. All rights reserved.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant