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

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

  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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



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