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

Use Tomato for QoS but not DHCP

Discussion in 'Tomato Firmware' started by gfunkdave, Jan 22, 2013.

  1. gfunkdave

    gfunkdave LI Guru Member

    I have a client who uses a Sonicwall router to hand out DHCP leases and route traffic on their LAN. I'd like to just switch it with a Tomato router, but the Sonicwall supports multiple WANs (certain traffic needs to go out on the T-1 line and others on the FIOS line).

    I would like to plug in a Tomato router between their main switch and the Sonicwall to do QoS. But, the Sonicwall has to remain the DHCP server. How can I make it so that:

    1. LAN clients can still get their DHCP from the SonicWall, even though the Tomato router will be between the Sonicwall and the LAN.
    2. Tomato can act as a router that is capable of doing QoS.

    Would it work to set Tomato as a Router (vs Gateway) and disable the WAN connection? Essentially, I don't want Tomato to do any NAT.
     
  2. sarelc

    sarelc Addicted to LI Member

    As long as Tomato's DHCP server is disabled and the subnet is the same as the SonicWall's, client DHCP requests will be passed on as though Tomato isn't there. QOS should work regardless of where the device is in the chain, as long as the rules match traffic that is passing through it. I think. ;)
     
  3. Porter

    Porter LI Guru Member

    The QoS-part will most definitely not work. QoS needs the WAN device (ppp0) to work. If you don't want to do NAT, then there is no ppp0-device and therefore no way to do this with the Tomato GUI. Since it's linux, you could always find a way to do this manually instead.
     
  4. gfunkdave

    gfunkdave LI Guru Member

    Thanks, Porter. That's what I thought.

    I'll figure out the MAC addresses for the client's phones and plug them into Tomato so the phones get the correct IPs.
     
  5. RixNox

    RixNox Serious Server Member

    So it is confirmed, that to use QoS Tomato needs to be configured in Router mode, including NAT?
     
  6. RixNox

    RixNox Serious Server Member

    If so, why QoS can be enabled/disabled in Ap mode?
     
  7. Porter

    Porter LI Guru Member

    Sure, try if QoS works in AP mode. But I highly doubt it. I don't think the QoS-system has been configured to use an interface that's not ppp0.

    The QoS-script in /etc/qos starts with:

    Code:
    #!/bin/sh
    WAN_DEV=ppp0
    IMQ_DEV=imq0
    
    If the ppp0 has been replaced by anthing else, you might be lucky.
     

Share This Page