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/
Home Products Support Community News


Re: [Xen-users] can't add vlans successfully

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] can't add vlans successfully
From: Zhang Li <cindy.zhangli@xxxxxxxxx>
Date: Tue, 11 Aug 2009 13:08:31 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 10 Aug 2009 22:09:11 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=QSB0ppaVzXXQfrNbxTbmq/6eg38r9hjVClkOX2XAS9k=; b=QPhvHcU9YWHgnDTpf954esCfsihI4gpHBcyqrW5swxeU23AiAeKNcl4cdyHJ11pUNm R0mH1zkdKdTf3E0ZZCWhOd5V8qe6qkrEGyCvymU+zeR0QPrQ7vcdfFbdqIQ7QBnn5b8s DbiiSAhylKEDBT2MBc39ijz/q2g6j1Z/LR0wU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=jViGST0czCjCoDuvllYGad7rf5/RAHF2pvep1Ue5FFyqBEWeC2SjhIVcHViwuwjKGn mklCGzE3ZgjvytzlZ1mV0UJTl4uajWwWYZXsOOEtkHCN15zL55qccCAUnwOxE0N5APDe r7LsEHWsiNWl4z5HTFgjM9sujLNmewdpEDZGI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0908102146t40548690s2a1d1fbc068f1c3f@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: <790b14c90908102056o3a091803w793b4e861584da57@xxxxxxxxxxxxxx> <7207d96f0908102146t40548690s2a1d1fbc068f1c3f@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Aug 11, 2009 at 12:46 PM, Fajar A. Nugraha<fajar@xxxxxxxxx> wrote:
> On Tue, Aug 11, 2009 at 10:56 AM, Zhang Li<cindy.zhangli@xxxxxxxxx> wrote:
>> Then we use brctl show, we can see eth0.100 and eth0.101 bridges is
>> start up.  Then we start 4 xenU, 2 xenUs on each bridges.
> Can you paste the output of brctl show? I doubt the built-in
> network-bridge works for vlan interfaces as it involves some interface
> renaming (e.g. eth0 -> peth0).

The brctl show output:

bridge name     bridge id               STP enabled     interfaces
eth0.100                8000.0024e827dae4       no              peth0.100


eth0.101                8000.0024e827dae4       no              peth0.101


eth0            8000.0024e827dae4       no              peth0

>> But questions is that: I can't get the 8021q packages with ethereal
>> tool.
> Which interface did you run ethereal on?

    I run ethereal on eth0.

>>  I doubt that I don't setup the vlans successfully. And xenU in
>> the vlans can't connect the outside by using ping address.
> For starters, for complex configurations like this I find it easier to
> simply use the OS configuration scripts to setup bridge/vlans (on
> redhat this would be /etc/sysconfig/network-scripts/ifcfg-*) and
> comment-out nwtroking scripts on /etc/xen/xend-config.sxp.
> After that, I'd test whether vlan works before throwing in bridge and
> Xen to mix. For example, I'd create eth0.100 on top of eth0, and test
> it. If it works, I create br100 on top of eth0.100 and move the IP
> address to br100. After it works, I tell domU to use br100 as bridge.

   Thanks for your suggestion, I will have a try.
> --
> Fajar

Best regards

Xen-users mailing list