QOS on Lan-Port / WAN is disabled

Discussion in 'Tomato Firmware' started by solibra, Aug 23, 2008.

  1. solibra

    solibra Addicted to LI Member

    I have tomato configured as Access-Point Bridge with bridge interface br0 between eth1 (wlan) and vlan0 (lan-ports). WAN Port is disabled and the AP is connected to the wired local network via one of the lan-ports.

    My Question is, how i can enable QOS on the bridge interface or the lan-port. The reason for wanting this is, that we have a lot of intra-network traffic (mostly netbios/smb transfers) that often exhausts the max wireless throuput of the Router, making WWW-Surfing extremely slow.

    By intra-network traffic i dont mean filetransfers between the wireless clients directly but between a wireless client and a fileserver in the wired part of our network.

    Now, i dont want to shut down SMB transfers, but rather dynamicaly shape this kind of traffic in favour of WWW-Browsing, by making QOS on the lan-port or the bridge interface.

    Has anyone achieved to enable QOS on the LAN- (not WAN-) port of tomato-ap?

    Thanks for any ideas!
  2. Odin-60

    Odin-60 LI Guru Member

    As far as I understand, this is not possible.
    A switch is a switch is a switch...
  3. HennieM

    HennieM Network Guru Member

    I don't know much about QoS, but the tc man page (http://linux.die.net/man/8/tc) suggests that QoS works on interfaces, rather than on routed junctions as I thought initially. Also, the /etc/qos script in Tomato seem to work on interface vlan1, which normally is the WAN interface.

    I would therefor think that, if you can set up your QoS rules, and then change the interface in /etc/qos from vlan1 to eth1 (the wireless interface), you should be able to have the QoS that would have applied to the WAN, on the WLAN.

    If indeed you nead a routed junction, you may have to break up the br0 bridge, assign LAN and WLAN to seperate subnets, and then apply the QoS.

    Which further leaves me to believe that a switch is not a switch.....
  4. solibra

    solibra Addicted to LI Member

    I second that :)

    It makes sense that it should be working on vlan0 (the virtual interface for all the lan-ports) since it works on vlan1.

    I tried to change this in the /etc/qos file but no traffic from lan to wlan is tracked...

    I think the bridge shouldnt be the problem because there are a lot of out of the box linux qos solutions that work in bridge mode.

    I will try to study some qos docs to find a solution....
  5. HennieM

    HennieM Network Guru Member

    I think (and it's a big THINK), that using vlan0 in the qos script will not do, as you are addressing the fast interface (100Mbps LAN) which will never experience a bottleneck from WLAN traffic. If you apply the rules to eth1, the slow interface (54Mbps WLAN), you might see some results.

    I'm guessing, so please, if your studies yield some info, do share.
  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