WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Inter VM communication

To: Digimer <linux@xxxxxxxxxxx>
Subject: Re: [Xen-users] Inter VM communication
From: Rudi Ahlers <Rudi@xxxxxxxxxxx>
Date: Wed, 1 Jun 2011 19:59:07 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Achala Aryal <arya2595@xxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 01 Jun 2011 11:03:32 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=softdux.com; h=MIME-Version:Reply-To:In-Reply-To:References:From:Date:Message-ID:Subject:To:Cc:Content-Type:X-Assp-ID:X-Assp-Version:X-Source:X-Source-Args:X-Source-Dir; b=faj5jLHZw/ljn7QgLP2EtWLUpqgAs/Q2HCEZlhQByI3Pz0Q1stXwU2oFAlBMZzVJg9tl8SA7DJZOsXE8uUJP3e6vFID9ZNGa6enLMX8GCH98plOkL7wxgDdWE8llu7rS;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DE67C98.6050104@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <BAY166-w3194EA20D3BE5556D87305F37D0@xxxxxxx> <BANLkTimHc9yYehm-ksMkeggc+uTX_1fHpw@xxxxxxxxxxxxxx> <4DE67C98.6050104@xxxxxxxxxxx>
Reply-to: rudi@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx


On Wed, Jun 1, 2011 at 7:53 PM, Digimer <linux@xxxxxxxxxxx> wrote:
On 06/01/2011 01:48 PM, Rudi Ahlers wrote:


On Wed, Jun 1, 2011 at 7:15 PM, Achala Aryal
<arya2595@xxxxxxxxxxxxxxxxxx <mailto:arya2595@xxxxxxxxxxxxxxxxxx>> wrote:


   Hi:
   I have two HVM domU ubuntu 10.04 Lts and Window XP running. I have
   assigned PCIe device to each of this domU. I would like to
   communicate these two VM. Can anyone give me some idea on how to do.
   I did some research on IVC but unable to get answer. Anything will
   be appreciated.


   Anju


Simply setup an extra interface on each VM, on the same IP subnet and
they'll communicate to each other :)
i.e. something like:
ifconfig eth0:0 192.168.2.1
and then on the other VM
ifconfig eth0:0 192.168.2.2

This works, but it shares the network traffic with the same network as the existing traffic. This is possibly a security issue if the existing network is not fully trusted.


--
 
 
If the 2 VM's are on the same Hypervisor, and they're using a IP subnet which other hosts don't use then it doesn't get "shared".
Use VLAN if you need security :) 


--
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users