Class of Service (COS) in Tomato Shibby

Discussion in 'Tomato Firmware' started by CaliChris, Nov 12, 2017.

  1. CaliChris

    CaliChris New Member Member

    I am trying to use a Tomato Shibby router for Google Fiber. All is working except I am being throttled due to Google Fiber requiring a COS bit set for all traffic. I need to set the class of service (COS) bit to 3 for all of my traffic. Is this not possible, I thought this was fairly common and with the Tomato QoS support I expected it to support it. If it is not available in the GUI is there any way I can accomplish this by SSHing in?

  2. cloneman

    cloneman Addicted to LI Member

    Tomato's QoS system is based on linux tc, and relies on , fair queuing, class borrowing, policing, etc. and the marking of different types of traffic is handled by iptables afaik, and not things like CoS / DIffserv.

    I'm not familiar with an ISP requiring you to send any packet markings out to the internet ; if you have any documentation from google on this please share it with us, as most ISPs ignore these packet markings from their customers. I don't think these are supported by Tomato on the outbound WAN. Tomato can only only read Diffserv tags set by LAN devices and use this sort stuff into classes via iptables, but this is all contained with the LAN and honestly not very useful, because few devices use diffserv, and could be better classified by MAC address or VoIP destip in most cases.

    If you are experiencing issues with throttling it is more likely that your experiencing a CPU routing limit , Google Fiber @ 1 Gb/s is far too fast for a Tomato powered router unless CTF is enabled (which has some limitations). General consensus if you have 1Gb/s is to use stock / merlin firmware...
  3. CaliChris

    CaliChris New Member Member

    CoS is required to not use the Google Fiber network box, connecting your router directly to their network, which is what I want to do. I have been using this Tomato router and have had no issues maxing out gigabit. Using their "network box", I have to do NAT behind NAT which causes issues with some custom firmware complaining about an internal IP on the WAN, plus makes DDNS difficult as I need to use an external service to determine my IP. Doing it this way, bypassing their network box, will put a public IP right on my WAN port. Also traffic must be tagged with VLAN2, which I did and can successfully obtain a DHCP address and get online, but like the info below says you will be throttled without the CoS bit set. I'm sure my RT-AC3200 has much more power than their network box. Many people use a Ubiquiti Edge Router to do this, however it seems that is an extra hop and purchase which shouldn't be necessary with the capabilities of these routers.

    1. Traffic in/out of the fiberjack is vlan tagged with vlan2.
    2. DHCP traffic should have 802.1p bit = 2
    3. IGMP traffic should have 802.1p bit = 6
    4. All other internet traffic 802.1p bit = 3

    You can send data without the 802.1p bits but your performance will get throttled to something like 10Mbit.
    Last edited: Nov 12, 2017
  4. Yim Sonny

    Yim Sonny Serious Server Member

    Can Google put their network box in "Bridge Mode" like the cable companies can do with their modems ?
  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