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] Dom0-Domu Communication

To: Digimer <linux@xxxxxxxxxxx>
Subject: Re: [Xen-users] Dom0-Domu Communication
From: David Cemin <davidcemin@xxxxxxxxx>
Date: Mon, 22 Nov 2010 16:04:52 -0200
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 22 Nov 2010 10:06:35 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=N3BE1cukvUVv8qz6Mhh2WKKLE65d5XXEPFULvA76f7w=; b=V+3sEnC2H1wcSAak49CyT1Fc+9QbLOpuJ5AxZjLwPO40ilFESnqA9jwKa+hhrT0tpt 8RfS+BYEkv/kkc3x6e+Cn08EBYvwDCPX6gl0nbHRu2IuWANWJkkXgY0Jv4ai5DSEDlkP 2rX/i65rPOZmHGWRoju9DIpAyqIehj3M5J4PI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Ix+Vghgui0RT0/hM+Ft6lsvUpH4CQKwCB6kFHy835QRQWcRBHz6IsDbmWdZhl/a746 HRzqMZOTZ6xHI6wDl8pgOxzwN0fZ5vXHnZIAeeHmiFzRMHIgS0ujxA1+2X3zU+MeNKWV Zh3spt5DIeE4U6E7Q9y1n0QG/eHbC3zAdtguo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4CEAAEC9.8080402@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: <AANLkTi=RGRFqTw=yX2jEY0D_yAcp6OaZme0rap9U+ZOY@xxxxxxxxxxxxxx> <4CEAA507.3070400@xxxxxxxxxxx> <AANLkTike8xvDz5HhkzNKcodzicbTGGu9upRL3p9QFTqQ@xxxxxxxxxxxxxx> <4CEAAD0E.9040006@xxxxxxxxxxx> <AANLkTin55gg2cWDxXvJvr6QaWGbo-1uOEtBhE4mpEKN5@xxxxxxxxxxxxxx> <4CEAAEC9.8080402@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
dom0:
# iptables-save
# Generated by iptables-save v1.4.4 on Mon Nov 22 16:06:31 2010
*filter
:INPUT ACCEPT [1324:790913]
:FORWARD ACCEPT [3389:341110]
:OUTPUT ACCEPT [1656:273098]
-A FORWARD -m state --state RELATED,ESTABLISHED -m physdev --physdev-out vif2.0 -j ACCEPT 
-A FORWARD -m physdev --physdev-in vif2.0 -j ACCEPT 
-A FORWARD -m state --state RELATED,ESTABLISHED -m physdev --physdev-out vif1.0 -j ACCEPT 
-A FORWARD -m physdev --physdev-in vif1.0 -j ACCEPT 
COMMIT
# Completed on Mon Nov 22 16:06:31 2010


dom1:
root@xen-hypervisor:~# iptables-save
# Generated by iptables-save v1.4.4 on Mon Nov 22 18:03:46 2010
*filter
:INPUT ACCEPT [4002:941999]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [198:10662]
COMMIT
# Completed on Mon Nov 22 18:03:46 2010


dom3:
root@xen-hypervisor:~# iptables-save
# Generated by iptables-save v1.4.4 on Mon Nov 22 18:05:16 2010
*filter
:INPUT ACCEPT [504:496131]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [217:11648]
COMMIT
# Completed on Mon Nov 22 18:05:16 2010

Thank you!

--
David



2010/11/22 Digimer <linux@xxxxxxxxxxx>
On 11/22/2010 12:52 PM, David Cemin wrote:
Yes, I´ve done that:

root@xen-hypervisor:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:3e:63:29:ab

But it appears that the link to dom1 inside dom0 is wrong:

vif1.0    Link encap:Ethernet  HWaddr fe:ff:ff:ff:ff:ff
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link

Am I right? If yes, it is configurable through xend-config.sxp ?

Thank you!

Sorry, vifX.Y devices are 'fe:ff:ff:ff:ff:ff'. So long as the eth0 inside each domU is unique, you are ok.

Do you have any firewalls running? What does 'iptables-save' show on dom[013]?


--
Digimer
E-Mail: digimer@xxxxxxxxxxx
AN!Whitepapers: http://alteeve.com
Node Assassin:  http://nodeassassin.org



--
David Cemin
mobile: +55 51 93523097
home:   +55 51 32763785
email: davidcemin@xxxxxxxxx
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users