QoS / rate limiting with WAN disabled

Discussion in 'Tomato Firmware' started by meeotch, Feb 26, 2010.

  1. meeotch

    meeotch Addicted to LI Member

    I've been trying to do some rate limiting by MAC using tomato's QoS features. However, the QoS graph is showing that all packets are ending up "unclassified". My setup was simply: enable QoS, leave the default rules in there, and add a class & a rule for a particular MAC.

    I'm wondering if this has anything to do with the fact that I've got WAN set to "disabled". (My wired router handles all the WAN stuff, DHCP, etc. The wireless router is simply a WAP, and is connected to the wired router via a LAN port.) Would this disable QoS, in that there's no real routing going on?

    Any ideas how I can achieve rate limiting by MAC within my current setup?
  2. Azuse

    Azuse LI Guru Member

    Qos is wan to lan/wlan, you want tomatoes qos it has to go between the modem and the rest of the lan.
  3. meeotch

    meeotch Addicted to LI Member

    Thanks for the reply. I found an article online that suggested it's possible to enable iptables functionality even when the WAP isn't a WAN gateway, using "ebtables" - link

    insmod ebtables
    insmod ebtable_filter
    insmod ebt_ip.o
    Might that be a solution? Or alternately, figuring out how to set up the WAP as a router for its own subnet?
  4. Toastman

    Toastman Super Moderator Staff Member Member

    ebtables is not compiled into Tomato. It was tried some while ago, but was removed because of instability. Why not use tomato for your main router?
  5. meeotch

    meeotch Addicted to LI Member

    My current main router is a bit beefier than my wireless. I upgraded b/c my previous main router kept crapping out under the load of p2p / games / other multi-connection apps. The wireless is just a cheapie that I bought for when folks come over, or I feel like sitting on the couch untethered.

    Hence the desire to throttle most (but not all) connections on the wireless. I like to leave it open for my neighbors, but I'd prefer to set a hard rate limit for anyone who isn't me.

    So it sounds like the way to go is to make the wireless a separate subnet, so that there will be some actual routing going on - does that sound accurate? Or wil QoS be disabled in all cases when tomato is not handling the WAN?

    I'm a bit new to networking beyond the single-subnet-in-your-apartment level, if that wasn't already apparent. (But willing to learn.)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice