From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4A668C49.7080209@superduper.net> Date: Tue, 21 Jul 2009 20:49:29 -0700 From: Simon Barber MIME-Version: 1.0 References: <4A6638A5.208@ipfire.org> In-Reply-To: <4A6638A5.208@ipfire.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Bridge] Bridging untagged and tagged VLANs List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tremer Cc: bridge@lists.linux-foundation.org To do this seamlessly you need a VLAN aware bridge - the kernel has separate support for VLAN and bridging, but not integrated. I posted a patch a while back to fix this - see here: http://www.mail-archive.com/bridge@lists.osdl.org/msg01440.html It was for a 2.4 kernel, but shouldn't take too much work to port to 2.6. Simon Michael Tremer wrote: > Hello everybody, > I got a weird problem but don't know if it is expected to work. > > brctl addbr br0 > vconfig add eth0 30 > brctl addif br0 eth0.30 > > Until here, everythink works well... I can access the VLAN with id 30. > But when I run the following: > > brctl addif br0 eth0 > > Then, I can't access the VLAN any more but the untagged LAN. > But instead of adding eth0: > > vconfig add eth0 40 > brctl addif br0 eth0.40 > > It works. > > It would be nice if you can me give a short advice... > Is it not possible to bridge an untagged LAN with a tagged VLAN or > is this a bug? > > Sincerely, > > Michael > > Kernel 2.6.29, brctl 1.4 > > _______________________________________________ > Bridge mailing list > Bridge@lists.linux-foundation.org > https://lists.linux-foundation.org/mailman/listinfo/bridge >