Thiago Camargo Martins Cordeiro
2009-Feb-25 02:54 UTC
[Xen-users] Xen Networking and VDE2.
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@lists.xensource.com http://lists.xensource.com/xen-users