Ethernet Bridge development
 help / color / mirror / Atom feed
From: Daniele Palumbo <daniele@retaggio.net>
To: bridge@lists.osdl.org
Subject: [Bridge] tagged vlan + bridge: good with xen bad otherwise
Date: Tue, 30 Jan 2007 14:08:21 +0100	[thread overview]
Message-ID: <200701301408.22029.daniele@retaggio.net> (raw)

hi.

first of all, this is not xen-related, but i found the problem managing with 
xen.
so, knowledge of xen is only suggested.

the problem:
i want two type of bridge:
xenbr1 (with eth1 and other interfaces added later)
xenbr1.14 (with eth1.14 and other interfaces added later)

xenbr1 must have all the traffic tagged.
xenbr1.14 must have untagged traffic for vlan 14.

i did the following (with eth1 unconfigured)
brctl addbr xenbr1
brctl addif xenbr1 eth1
ifconfig xenbr1 up
ifconfig eth1 up

and xenbr1 is working.
but, when i do a
vconfig add eth1 14
xenbr1 stop working.

if i build up xenbr1.14, with eth1.14, xenbr1.14 works and xenbr1 no.

i have found this: http://ebtables.sourceforge.net/brnf-faq.html
but also setting bridge-nf-filter-vlan-tagged to 0 doesn't help.

but, if i do a xend start, same parameter as my manual config, both xenbr1 and 
xenbr1.14 is working.

there are two notable difference (better, that i noted) between the setup:
- xen rename the interface eth1 in peth1, than it create bridge xenbr1 with 
peth1 and vif0.1, that is a loopback connected to a new interface called eth1 
(that is virtual, not real). 
to understand xen networking: 
http://wiki.xensource.com/xenwiki/XenNetworking?highlight=%28network%29#head-602e26cd4a03b992f3938fe1bea03fa0fea0ed8b
anyway, /proc seems the same between my and xen config, and ifconfig, 
brctl, ... also seems the same.

- in xenbr1, when i setup vconfig add eth1 14, after a while, seems to send 
eth1 in "disabled" mode (brctl showstp xenbr1)

many thank you in advance!

bye
d.

             reply	other threads:[~2007-01-30 13:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-30 13:08 Daniele Palumbo [this message]
2007-01-30 17:07 ` [Bridge] tagged vlan + bridge: good with xen bad otherwise Daniele Palumbo
2007-01-30 20:23 ` Daniele Palumbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200701301408.22029.daniele@retaggio.net \
    --to=daniele@retaggio.net \
    --cc=bridge@lists.osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox