1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Using Tomato as a (wired) bridge with QoS

Discussion in 'Tomato Firmware' started by bluefox112, Nov 29, 2008.

  1. bluefox112

    bluefox112 Addicted to LI Member

    Hi everyone,

    I'm new here, but I did search the forum before posting here. I've been using D-Link products with Ubicom's StreamEngine for QoS. For the most part, this works well. But in some instances, it really doesn't.

    After much searching, I found Tomato and am wondering whether this would get me out of a bind. Here's the situation: I am forced to use a specific brand of firewall for nat and general security. Here is what my network looks like:

    Cable modem -------- Cisco router (bridge mode) ----------- firewall/NAT -----PCs

    I can't remove anything, but I need to add QoS for upload bandwidth mgmt. Double NAT would kill some applications (VoIP for example). Is there any way I can add a Tomate-powered box between the Cisco router and the firewall that would do no NAT at all but would still handle QoS ?

    Thanks,

    Mike
     
  2. humba

    humba Network Guru Member

    I don't think that even with ebtables you'd be able to have QoS.. on a bridge you just need hardware support.
    However, that doesn't mean the quest is futile. Suppose you operate Tomato in router mode - your wan side network would connect to the firewall device (and there'd be no other device on that subnet) and the lan side would be your regular lan.. now you have two subnets and now you can use QoS. I'm just not sure the GUI configuration for QoS will work (to be tried out by whomever is interested).. but in any case manual configuration via the administrative scripts would work just fine. Having two subnets would not cause any of the problems you get with a second layer of NAT..you just need to ensure that your firewall device supports static routes or you start using a routing protocol on your lan (rip would be fine for such a simple scenario).
     
  3. bluefox112

    bluefox112 Addicted to LI Member

    Thanks for the response, it certainly looks like it's worth a try. I don't generally mind going at it command-line, but in this case it would make any modifications complicated. Still, it's better than my other options (live without QoS...no way).

    Regards,

    Mike
     
  4. Imagine

    Imagine Reformed Router Member

    Yes I know this is thread is like really old, but I had the exact same problem and the only difference was that I was trying to setup a WIRELESS bridge with my ASUS RT-N66U which has 2 wlan-interfaces (3G and 5G).

    The solution is to choose "Wireless Client"-Mode and NOT (!) "Wireless Ethernet Bridge" for the wlan-interface which should connect to the router and "WAN / Internet"-Mode set to DHCP. Of course you'd need to have a different subnet like "humba" said above.

    That way your repeater thinks that your router is the actual WAN-Device and classifies all incoming and outgoing packets correctly via QoS.

    Setup using Tomato Firmware 1.28.0000 MIPSR2-104 K26 USB Mega-VPN-64K on an ASUS RT-N66U router that is being (ab)used as a repeater. Should work with any simliar (linksys) device ...
     
  5. darkknight93

    darkknight93 Networkin' Nut Member

    2008. damn.!
     
    Imagine likes this.
  6. Imagine

    Imagine Reformed Router Member

    :oops: Better then opening a new one for the exact same topic, or? :)
     

Share This Page