Jump to content
Калькуляторы

Ограничение скорости абоненту police vs htb tc police vs tc htb

Нужно ограничить скорость доступа в Интернет абонентам.

 

Сейчас делается по HTB по классу на каждого абонента.

 

Что бы не плодить классы хочется сделать так:

tc filter add dev eth0 parent 1: protocol ip pref 5 u32 match ip src $USER_IP police rate $USER_SPEEDkbit burst 10k drop

 

В связи с чем вопрос как это скажется на качестве интернет для абонента.

И на каких приложениях будут ощущаться недостатки police.

Share this post


Link to post
Share on other sites

IMHO, полисить лучше UDP, а шейпить - TCP.

А также имею печальный опыт Ingress полисинга на Foxgate S6008 - скорость закачки падала на порядок больше скорости ограничения.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.