[FUG-BR] RES: ALTQ - CBQ não empresta banda.
Rafael Floriano Sousa Sales
rafael.sales em gmail.com
Ter Maio 9 18:43:30 BRT 2006
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
Mais detalhes sobre a lista de discussão freebsd