iBabajan / tomato-sdhc-vlan

Automatically exported from code.google.com/p/tomato-sdhc-vlan
0 stars 0 forks source link

3-digit VLAN tagging #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Dear Sir, may I know how to enable the 3-digit VLAN tagging under version 
"tomato-WRT54G_WRT54GL-1.28.0021Teaman-VLAN-Std" please?

I would like to add vlan500 and vlan600 as VLAN tagging.

Thank you in advance for your great help!

Anson

Original issue reported on code.google.com by ngchnch...@gmail.com on 18 Feb 2012 at 2:46

GoogleCodeExporter commented 8 years ago
by the way, I'm using WRT54GL

Original comment by ngchnch...@gmail.com on 18 Feb 2012 at 2:46

GoogleCodeExporter commented 8 years ago

Original comment by augu...@bott.com.br on 4 Mar 2012 at 11:34

GoogleCodeExporter commented 8 years ago
There's some good news (as well as a fair chunk of not-so-good news...).

Good news: it /is/ possible to use pretty much any value for VLAN IDs, even on 
such 'ancient' devices like those WRT54GL of yours/mine ;) 

There's quite a bit of work already done by Fedor and lly on the 'base' 
tomatoUSB branch (vlan0tag support VLAN initialization fixes, originally from 
wl500g.googlecode.com). 

http://repo.or.cz/w/tomato.git/commit/ccc88db8be972dc19d2098258d1ee065bd0f5a42
http://repo.or.cz/w/tomato.git/commit/cdb1732b4152c468cca0e9debf0bd46e380cc6ca
http://repo.or.cz/w/tomato.git/commit/fb902699a0c536b9845f3768b7b2ff621b393365
http://repo.or.cz/w/tomato.git/commit/f4721cd364a31cdfad4fa7515eabcbe95873451c
http://repo.or.cz/w/tomato.git/commit/210561790cd1148b1832d8e6f0b016df705ae94d
http://repo.or.cz/w/tomato.git/commit/9cb949b81a03304bca41362d2df0400c8c99d06a

This so-called 'vlan0tag' thing is actually the name of a very special NVRAM 
var: when/if set, its value will be used as a 'base VID' - sorta like a 
'prefix' or a 'starting point' for mapping vlanX interfaces to a different set 
of VLAN tags/IDs.

Not-so-good news: if set, vlan0tag must be a multiple of 16 (or zero/unset) and 
you're still restricted to have/use a maximum of 16 VLANs (which will be 
assigned to a contiguous block of 16 VIDS, just 'shifted' a few bits). This 
seems to be related to HW limitations (BCM5325, if I'm not mistaken).

Then... there's been quite a few new models since our devices, like the E3000 
(which seems to have a BCM53115 switch). For many of those (more 
recent/new-ish) devices, it seem to be actually /possible/ to assign and use 
pretty much any kind of config/settings you could think of ;)

Some references:
http://www.linksysinfo.org/index.php?threads/vlan-tags-work-for-you.34478/
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=86919
http://www.freqoflife.com/technology/linksys-wrt54gl-vlan-tagging/

Original comment by augu...@bott.com.br on 11 Apr 2012 at 4:24

GoogleCodeExporter commented 8 years ago

Original comment by augu...@bott.com.br on 11 Apr 2012 at 4:25

GoogleCodeExporter commented 8 years ago
thank you very much! :)

Original comment by ngchnch...@gmail.com on 11 Apr 2012 at 7:57

GoogleCodeExporter commented 8 years ago
Hi its glad that tomato the favourite of mine now support 3digit vlan. It's 
there a simple step by step to do so ? Or I just meet to flash the firmware and 
it will all there ? Thanks for advance.

Original comment by harlem....@gmail.com on 31 May 2012 at 5:34

GoogleCodeExporter commented 8 years ago
Completed, sources published, firmware images uploaded/released (v24, v25).

Original comment by augu...@bott.com.br on 15 Jun 2012 at 7:03