Service class assignment for home network devices

Since KeeneticOS 3.6, Keenetic routers have implemented the differentiation of traffic by classes of service and added the ability to assign classes of service to registered hosts.

Selecting a service class allows you to prioritize certain devices on your home network. For example, this can be used to reduce the latency of sensitive network traffic such as voice, streaming media or online games, while the rest of the traffic will go without prioritization.

After setting the service class, the router will recognize the DSCP value in packets of network traffic and prioritize the traffic.

The impact of service classes is most noticeable on slow connections such as 3G and ADSL. On high-speed tariffs and leased line Internet links, there is usually no need to use classes of service.

NOTE: Important! Service classes only apply to internet traffic.

To set the service class, go to the 'Device lists' page of the 'My Networks and Wi-Fi' section. The setting is only available for registered devices. Click on the registered device entry; the 'Service class' field will be available in the 'Basic settings' section.

TIP: Note: 7 classes/priorities are available; a lower number corresponds to a higher priority. The network traffic of the device with the lower class will be prioritized over all other traffic.

1. Minimum latency (VoIP)
2. Real-time interactive (games, video-conferencing)
3. Broadcast services (YouTube, Netflix)
4. Low latency data (Database, SSH)
5. High-throughput data (Web traffic)
6. Low-priority data (File sharing, BitTorrent)

* — By default, no service class is set for the home network devices (DSCP DF is used), and its priority is between classes 5 and 6.

If you want to lower the priority for a particular device, set its service class to 6, and if you want to raise it, set the service class to 5 or higher. The set service class will be valid for all types of traffic.


The service class value set will be displayed in the list of registered devices.


In our example, a high priority has been set for the client so that it can occupy the bandwidth it needs when transmitting data while crowding out other devices. The prioritization set will be valid for this device for all network traffic.

NOTE: Important! We recommend enabling zRAM support for devices with under 128 MB RAM (these are the entry-level models).

If a service class is used for a device, the network hardware accelerator (ppe hardware; hwnat) will be disabled, as the accelerator is not able to handle traffic prioritization.


TIP: Note: Technical description of the algorithms used.

Common Applications Kept Enhanced (CAKE) defines a queuing order using both AQM and FQ. It unites COBALT, which is an AQM algorithm that combines Codel and BLUE, a shaper that operates in deficit mode, and a variant of DRR++ for stream isolation.
8-way multiple-associative hashing is used to virtually eliminate hash collisions.
Priority queuing is available through a simplified implementation of DiffServ. CAKE uses a deficit-mode shaper, which does not use the 'burst' typical for the 'leaky bucket algorithm'. It automatically transmits as many packets as needed to maintain the specified throughput.

Was this article helpful?

86 out of 91 found this helpful

Have more questions? Submit a request



Please sign in to leave a comment.