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

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

To: Wei-Chih Chen (陳偉志) <wcchen.tw@xxxxxxxxx>
Subject: Re: [Xen-users] [XCP] XCP network and VLAN by Open vSwitch
From: Todd Deshane <todd.deshane@xxxxxxx>
Date: Wed, 15 Jun 2011 20:08:37 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 15 Jun 2011 17:10:36 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=2yB9ulmBUAG9uI6zdMZdFvD8rUFF7Ggrhe1w9/9abY8=; b=Ck0ovpR/TlY2f0dGVB6ktawohJVuo4yT8q1zNM/KL0/xVvyxNWwUsr08xiSY3W8adA eCCS7f69NcILvVIuVIil/ibn10z2lNGTpf4rYBtipeJm8tB8p0qSbEezROPjqM7btq4H nMbl9TsJOto6lwCnRjJ1fAg3ou/Yw3PCXAucw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=NvCaRCjXNCS6NW7kGMgi0syJ9G7dw9tW++c2APz9/3jsa5eP8aVEE7xTPx+3cIkmsJ kbmYhOHsdwJBDdUHcVdauvk7gqAsDfBXzwu63sEkj3IdOPnuYgPLijaXilNQkdURkomp B+qMH3FlwoeIReHRmavzQxWW8mbOQqx7uXxMI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTimdsxyfce+iuxv7wL0zQK+owUJrNg@xxxxxxxxxxxxxx>
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>
References: <BANLkTimdsxyfce+iuxv7wL0zQK+owUJrNg@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Jun 15, 2011 at 6:13 AM, Wei-Chih Chen (陳偉志)
<wcchen.tw@xxxxxxxxx> 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 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?
>

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,
Todd


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



-- 
Todd Deshane
http://www.linkedin.com/in/deshantm
http://www.xen.org/products/cloudxen.html
http://runningxen.com/

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