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

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

  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Wei-Chih Chen <wcchen.tw@xxxxxxxxx>
  • Date: Thu, 16 Jun 2011 11:34:20 +0800
  • Cc: Todd Deshane <todd.deshane@xxxxxxx>
  • Delivery-date: Wed, 15 Jun 2011 20:36:02 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=vYgoLEPh7526Gf0qCstFR9xNLkBpxeGTVkbu6J1QFxKM9lW7CePvXVU+r2jYigcdmW u6NF+DkoFrsXWbHJW8Dte6u/WeUxlEB7PURWNKeGbccVFzpXhTpfjsStzrJuiy5mEsgE FHDf/yaSn25cFj5nabYCywWCx2IVxa+E4/46M=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello Everyone,

Citrix provides vSwitch Controller to manage network across hosts.
However, it seems requiring XenServer Advanced edition, and downloading vSwitch Controller requires My Citrix account.
Is vSwitch Controller essential for XCP to control and use full functions of Open vSwitch?

The point is that I can not figure out the relationship of
  • XCP vs XenServer Free/Advanced Edition
  • On XCP, original Linux network vs Open vSwitch
  • For configuring network, XenCenter vs xe commands vs ovs- commands
  • For using Open vSwitch, ovs- commands vs vSwitch Controlle
Sorry for so many questions.



On Thu, Jun 16, 2011 at 9:53 AM, Wei-Chih Chen <wcchen.tw@gmail.com> wrote:

On Thu, Jun 16, 2011 at 8:08 AM, Todd Deshane <todd.deshane@xxxxxxx> wrote:
On Wed, Jun 15, 2011 at 6:13 AM, Wei-Chih Chen (éåå)
<wcchen.tw@gmail.com> wrote:
> 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
> 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?

You are going to want to use the xe commands related to networking.

See http://docs.vmd.citrix.com/XenServer/5.6.0fp1/1.0/en_gb/reference.html#networking-concepts

Hope that helps.


> Thanks a lot. :)
> Regards,
> Wayne
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

Todd Deshane

Thank you, Todd.Â
The document helps a lot for XenServer network concepts and xe command control.

However, I would like to try Open vSwitch because it supports more features like OpenFlow, NetFlow.
It is possible for me to use these features in the future.
Is it able to use full features of Open vSwitch in XCP 1.0?
Or XCP has not included and combined Open vSwitch completely, and it is not suggested to use Open vSwitch in XCP 1.0?




Xen-users mailing list



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