News:

Tekforums.net - The improved home of Tekforums! :D

Main Menu

DD WRT VLANS (Long shot question...)

Started by DeltaZero, October 05, 2010, 22:20:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DeltaZero

Has anyone been able to encourage DD-WRT to make its admin interface available untagged after configuring a virtual wireless interface to be on the same bridge as a tagged virtual wired interface?

It feels like a bug but nobody else seems to have the same problem. There's loads of pages for people having problems with vlans on dd-wrt....just not this problem..

Sadly buying a real (by which I mean enterprise class....please nobody say 'Linksys') access point isn't an option this time round :-(

soopahfly

I gave up on ddwrt, and started using tomato.  Seems more stable.
Got it in a couple of commercial environments now, for basic but monitorable use.

bear

I used DD-WRT on my linksys but now tomato :D

DeltaZero

I dunno how useful this is to anyone here...but on the off-chance it is or if Google starts indexing the forum...

ebtables -t broute -A BROUTING -i ixp0 --vlan-id xx -j DROP -p 802_1Q

Is the command that configures the relevant kernel module to allow packets tagged for a particular vlan to arrive at the appropriate interface (where xx is the vlan tag)

The etables, etable_broute and ebt_vlan modules need to be loaded for this to work.

I'm most certainly not an expert on DD-WRT. In fact I'm irritated that it's taken me over 2 days to get this oh-so-simple config working – on a Cisco or HP ProCurve AP (which I usually use) this would be a 30 second operation. Anyway, that's a rant for another time.

I mention I'm not a DD-WRT expert as the following bit comes with a disclaimer. In order to get the above command to execute on each bootup I've used the 'Startup Commands' section in the GUI with the following script:

insmod ebtables
insmod ebtable_broute
insmod ebt_vlan
ebtables -t broute -A BROUTING -i ixp0 --vlan-id xx -j DROP -p 802_1Q


However, I'm far from sure this is a reliable solution. DD-WRT seems to load and unload modules at various points (assumedly to save memory) and if your setup doesn't use ebtables there's a chance it'll get unloaded at some point during the bootup or re-configuration process (if you make a  change once it's live). Re-booting should get it going again...but that stinks of a poorly engineered solution to me.

I've already invested too much time in getting it working to this point...so I leave the info here with the above disclaimer. If somebody wanted to dig deep into the source code and find an appropriate place to configure the commands such that they wouldn't be over-ridden by another process that'd be great.