Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: "m.innocenti@cineca.it" <m.innocenti@cineca.it>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] linux bridging vlans?
Date: Thu, 30 Mar 2006 09:01:30 +0000	[thread overview]
Message-ID: <442B9E6A.7000301@cineca.it> (raw)
In-Reply-To: <1143679385.16301.17.camel@localhost>

[-- Attachment #1: Type: text/plain, Size: 826 bytes --]

Andraz Sraka wrote:
> but still no data is forwarded from one interface to another? Is there
> any sysctl stuff, that I need to set up like 'ip_forwarding' when doing
> routing? Is there something bridging parameter for forwarding or am I
> misconfigured things above?

I think that the bridge device don't support vlan.
The attached patch could add that support (mind that I haven't compiled
nor tested the patch).
Let me know if it works.


-- 
**********************************************************************
Marco Innocenti              Gruppo Infrastruttura e Sicurezza
CINECA                       phone:+39 0516171553 / fax:+39 0516132198
Via Magnanelli 6/3           e-mail: innocenti@cineca.it
40033 Casalecchio di Reno    Bologna (Italia)
**********************************************************************

[-- Attachment #2: bridge.diff --]
[-- Type: text/x-patch, Size: 487 bytes --]

--- linux-source-2.6.16/net/bridge/br_device.c	2006-03-20 06:53:29.000000000 +0100
+++ linux-source-2.6.16/net/bridge/br_device.c.new	2006-03-30 10:53:25.000000000 +0200
@@ -186,5 +186,7 @@
 	dev->priv_flags = IFF_EBRIDGE;
 
  	dev->features = NETIF_F_SG | NETIF_F_FRAGLIST
- 		| NETIF_F_HIGHDMA | NETIF_F_TSO | NETIF_F_IP_CSUM;
+ 		| NETIF_F_HIGHDMA | NETIF_F_TSO | NETIF_F_IP_CSUM
+		| NETIF_F_HW_VLAN_FILTER | NETIF_F_HW_VLAN_RX 
+		| NETIF_F_HW_VLAN_TX | NETIF_F_VLAN_CHALLENGED;
 }

[-- Attachment #3: Type: text/plain, Size: 143 bytes --]

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  reply	other threads:[~2006-03-30  9:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-30  0:43 [LARTC] linux bridging vlans? Andraz Sraka
2006-03-30  9:01 ` m.innocenti [this message]
2006-03-30 13:24 ` Piotr Chytla

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=442B9E6A.7000301@cineca.it \
    --to=m.innocenti@cineca.it \
    --cc=lartc@vger.kernel.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