Re: linux bridging vlans?

Linux Advanced Routing and Traffic Control

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

 



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@xxxxxxxxx
40033 Casalecchio di Reno    Bologna (Italia)
**********************************************************************
--- 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;
 }
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux