[FUG-BR] RES: ALTQ - CBQ não empresta banda.

Gilberto Villani Brito linux em giboia.org
Qua Maio 10 17:44:09 BRT 2006


Eu não conhecia o hfsc, por isso nunca testei.
Testei algumas regras e realmente é muito bom, funcionou perfeitamente.

Obrigado a todos.

Abraços
Gilberto


On Tue, 9 May 2006 18:43:30 -0300
"Rafael Floriano Sousa Sales" <rafael.sales at gmail.com> wrote:

> Vai um exemplo simples utilizando hfsc+ecn
> 
> altq on $external_if hfsc bandwidth 750Kb queue { std, str }
> queue std                bandwidth 60% { std_out, std_ack, ssh }
> queue str                bandwidth 40% { str_out, str_ack }
> queue std_out priority 0 bandwidth 43% hfsc(ecn              
> upperlimit 60% default)
> queue std_ack priority 2 bandwidth  2% hfsc(ecn               upperlimit 60%)
> queue ssh                bandwidth 15% { ssh_upl, ssh_int }
> queue ssh_upl priority 1 bandwidth 12% hfsc(ecn realtime 10%  upperlimit 20%)
> queue ssh_int priority 3 bandwidth  3% hfsc(ecn realtime  3%  upperlimit 10%)
> queue str_out priority 6 bandwidth 38% hfsc(ecn realtime 38%  upperlimit 60%)
> queue str_ack priority 7 bandwidth  2% hfsc(ecn realtime  2%  upperlimit 10%)
> 
> Basicamente se define a prioridade, a banda, ecn, e o limite máximo.
> 
> 
> Abraços
> 
> --
> Rafael Floriano Sousa Sales
> Segurança da  Informação
> Tompast IT Services
> e-mail: rafael.sales at tompast.org
> +55-11-3207-2457
> +55-11-8433-2281
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> 


Mais detalhes sobre a lista de discussão freebsd