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

[Xen-users] [XCP] XCP network and VLAN by Open vSwitch

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] [XCP] XCP network and VLAN by Open vSwitch
From: Wei-Chih Chen (陳偉志) <wcchen.tw@xxxxxxxxx>
Date: Wed, 15 Jun 2011 18:13:23 +0800
Delivery-date: Wed, 15 Jun 2011 03:14:44 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=v5k2ihQmz/EfbJTTtQf3BHavMipIlU+K67fGnl793t0=; b=aAOAI0pf+ohKUS+9wFTbOnh1Y4Nh0cxbxCm7uAVX6LktnETybJyFGo4NNyx1DLB7Bw EHPC3wI9emlyEBJvHXQOXGSdmwLcyOwEn32lBSyxb22qcPhTkYfqDMABwloLXrvDqh3p qojLJmcyLQUF6VR+mQLGTdlN/6UlWHvXG5dqM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=DHPXYvL6zNXMQZ7oX8I3r7Fo7NYV//1ld4W5JGWgEC8TYyUjVx8cESZY7FEA4ITlFg aM7pjISxCuiUpu5stgrQAXJXkw7VVccltBhUiKkUgjPIjNblqaEwbQCM0lDMAOwsR8AG q0fPusQNIbFKccu79mGOMjEy+f3uXJfnCSeNs=
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
Hello Everyone,

I am new with XCP.
I've setup several hosts with XCP 1.0 and manage it through XenCenter and command console.
Each host has two NICs, one (xenbr0) connected to a physical switch for Internet (said sw1), the other (xenbr3) connected to a physical switch for internal network (said sw2).

I am trying to setup VMs and VLANs on xenbr3.
I created a virtual bridge by "ovs-vsctl add-br brvlan2 xenbr3 2"
Then add a port (portvlan2) to brvlan2:
     ovs-vsctl add-port brvlan2 portvlan2 tag=2
     ifconfig vlan2 192.168.33.200
Now the problem is that I do know how to attach portvlan2 to VM.
Could someone give me simple steps to setup VLANs using Open vSwitch and attach them to VMs?

Moreover, the newly created bridges are not shown in XenCenter.
If I use xe network-create, the newly created network can be shown in XenCenter.
Is this because XenCenter uses xe command and does NOT support to show Open vSwitch?
The question I wonder most is what is the difference to configure XCP network using xe and ovs- commands?

Thanks a lot. :)

Regards,

Wayne

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