[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 17:31:08 +0800
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 11 Aug 2009 02:31:49 -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=PsP/uIGQDmHHSFzQdyJx1n2SdsB7tQ+CK//44I2vZNMnH10QmdT/Ptn+07U3cMkVTo BM+tZNEvjRgLaFIIrUp4Ho3PgWI5yl1N4ad+dYikYdBiw2y4DnDbfto34NG9ba+m/sOs Exdc9tRX8WUn81J08CS1E9/mEYUGnnj9NY2AI=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi, Fajar

> 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.

I tried the way you told me, every thing is OK. eth0.100 works, br100
works and I tell domU to use br100.
And then assign one IP ADDRESS to it. it can't ping the address of
outside internet.

Another question, does the domain U must need the 8021Q? When one
DomainU send one frame to another, will the bridge add the tag to the
frame with 8021Q?

I have some experiment here:

If domain U use the 8021Q module, it will add the tag to the frame by
itself and the vlan is setup, bridge doesn't need to add tag. But if
domain U doesn't use 8021Q module, I think the bridge will add the tag
to the frame, the problem of I have told still exists.  I am confused.

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).
>
>>
>> But questions is that: I can't get the 8021q packages with ethereal
>> tool.
>
> Which interface did you run ethereal on?
>
>>  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.
>
> --
> Fajar
>



-- 
Best regards
--Li

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


 


Rackspace

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