netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problem with vlan bridge
@ 2013-05-30  6:40 Molaei
  2013-06-01  7:02 ` kermani
  0 siblings, 1 reply; 3+ messages in thread
From: Molaei @ 2013-05-30  6:40 UTC (permalink / raw)
  To: netdev

i have fedora 19 with kernel 3.9 and want to use iproute for adding vlan
bridge. i do this configuration but vlan bridge not work.

ip link add dev br type bridge
ip link set dev br up
ip link add link eth0 name eth0.20 type vlan id 20
ip link set dev eth0.20 up
ip link add link eth1 name eth1.30 type vlan id 30
ip link set dev eth1.30 up

bridge vlan add dev eth0.20 vid 20 
bridge vlan add dev eth1.30 vid 30 

when i sen broadcast message from systemtha connected to eth0, systam
connected to eth1 get broadcast message with vid 200.

please help me
thanks

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem with vlan bridge
  2013-05-30  6:40 Problem with vlan bridge Molaei
@ 2013-06-01  7:02 ` kermani
  2013-06-10  2:23   ` Cong Wang
  0 siblings, 1 reply; 3+ messages in thread
From: kermani @ 2013-06-01  7:02 UTC (permalink / raw)
  To: netdev

Molaei <zohrehmolaei <at> gmail.com> writes:

> 
> i have fedora 19 with kernel 3.9 and want to use iproute for adding vlan
> bridge. i do this configuration but vlan bridge not work.
> 
> ip link add dev br type bridge
> ip link set dev br up
> ip link add link eth0 name eth0.20 type vlan id 20
> ip link set dev eth0.20 up
> ip link add link eth1 name eth1.30 type vlan id 30
> ip link set dev eth1.30 up
> 
> bridge vlan add dev eth0.20 vid 20 
> bridge vlan add dev eth1.30 vid 30 
> 
> when i sen broadcast message from systemtha connected to eth0, systam
> connected to eth1 get broadcast message with vid 200.
> 
> please help me
> thanks
> 
> 

I have same problem and configuration is as a follow:

ip link add dev br type bridge
ip link set dev br up
ip link add link eth0 name eth0.20 type vlan id 20
ip link set dev eth0.20 up
ip link add link eth1 name eth1.30 type vlan id 30
ip link set dev eth1.30 up

ip link set eth0.20 master br
ip link set eth1.30 master br

bridge vlan add dev eth0.20 vid 20 
bridge vlan add dev eth1.30 vid 30 

I can't find any document or example to perform that. 
I appreciate your reply.
Regards

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem with vlan bridge
  2013-06-01  7:02 ` kermani
@ 2013-06-10  2:23   ` Cong Wang
  0 siblings, 0 replies; 3+ messages in thread
From: Cong Wang @ 2013-06-10  2:23 UTC (permalink / raw)
  To: netdev

On Sat, 01 Jun 2013 at 07:02 GMT, kermani <somayeh.kermani@gmail.com> wrote:
> Molaei <zohrehmolaei <at> gmail.com> writes:
>
>> 
>> i have fedora 19 with kernel 3.9 and want to use iproute for adding vlan
>> bridge. i do this configuration but vlan bridge not work.
>> 
...
>> 
>> when i sen broadcast message from systemtha connected to eth0, systam
>> connected to eth1 get broadcast message with vid 200.
>> 
>
> I have same problem and configuration is as a follow:
>

Did you set /sys/class/net/br0/bridge/vlan_filtering to 1? It is 0 by
default, and this is expected behavior if it is 0.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-10  2:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-30  6:40 Problem with vlan bridge Molaei
2013-06-01  7:02 ` kermani
2013-06-10  2:23   ` Cong Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).