[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Xen Networking and VDE2.


  • To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi!

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 192.168.1.254
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 192.168.1.1 netmask 255.255.255.0 up
xenalive# ip r add default 192.168.1.254
xenalive# echo "nameserver 192.168.1.254 > /etc/resolv.conf"
xenalive$ ping wordweb.com.br
PING worldweb.com.br (200.155.1.204) 56(84) bytes of data.
64 bytes from srv05.worldweb.com.br (200.155.1.204): 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:
http://wiki.virtualsquare.org/index.php/VDE_Basic_Networking
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?
http://eucalyptus.cs.ucsb.edu/documents/eucalyptus-slides-wolski-cloud_computing_group-november_2008.ppt

Thanks!
Thiago
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.