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/
Home Products Support Community News


[Xen-users] Xen Networking and VDE2.

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Xen Networking and VDE2.
From: Thiago Camargo Martins Cordeiro <thiagocmartinsc@xxxxxxxxx>
Date: Tue, 24 Feb 2009 23:54:29 -0300
Delivery-date: Tue, 24 Feb 2009 18:55:17 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=+XKm4qiWHbAeK82Tucs4cv8Q147OeGhduGBiFStEChs=; b=bo+UGKRWnCOl5ofwiMo6XUkeE4YR5Uvb6hNBL3rbP52cP57eIUG3hwPVCwJpocGQFT hT47YuuYKJZeaQMenvaAwFY4ulxXvXC/N2UKk60SesTBcOJn9IRBv/aJNdr0IGuFceGp VDT/bd68NM8d2o9VMULTSdNEUvwS8iiYUispc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=udD912T0IKGqnxQJla9KCeHroKtyKysL2Y1g2gz+tS0/vFcf0zydTNlvQmVNmcO+6m HVa2NrbJubAzGLZQ9IHbb/czWM0EMXT7olDFm5CgUkZ3/yIz30LQTFt4/ahlWAKqnfxV OkVCacABNhnP510GzTIeBCVQSlBlxAdqkg8zQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

I'm with Ubuntu 8.10 running KVM with VDE2, VDE2 is used to create a virtual switch for my guests, let me show:

KVM with VDE:

On ubuntu-8.10:

sudo -s
vde_switch -tap tap0 -daemon
ifconfig tap0
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
vdekvm -hda /dev/mapper/HyperVG01-test--disk1 -cdrom livecd-xen-3.2-0.8.2-i386.iso -m 512 -boot d

And in the guest live section:
xenalive# ifconfig eth0 netmask up
xenalive# ip r add default
xenalive# echo "nameserver > /etc/resolv.conf"
xenalive$ ping wordweb.com.br
PING worldweb.com.br ( 56(84) bytes of data.
64 bytes from srv05.worldweb.com.br ( icmp_seq=1 ttl=51 time=403 ms

If I boot another KVM guest on the same vde_switch, both can ping each other and the external network...

Now I have a virtual switch for my client's virtual machines and its own VLANs. That's what I need for my Xen Networking! But how?

How to connect my paravirtual (PV) domU with the vde_switch running in my dom0?

 I have read the folloing docs:

I want a "VM Xen" on this diagram:
Someone can help me?

And on Eucalyptus presentation at page 12, you can see that it uses VDE and, has I know, Eucalyptus controls Xen, so... how they do it?

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Xen Networking and VDE2., Thiago Camargo Martins Cordeiro <=