Страница 1 из 1

PF + AlTQ

Добавлено: 2009-05-07 13:30:34
Niki
в конфиге пишу

Код: Выделить всё

altq on $dmz_if cbq bandwidth 100Mb queue { std_out, ssh_out, mail_server_out, web_server_out, from_lan}
queue std_out on $dmz_if brandwidth 20Mb cbq(default) borrow
queue ssh_out on $dmz_if brandwidth 200Kb cbq priority 4
queue mail_server_out on $dmz_if brandwidth 1024Kb cbq borrow
queue from_lan on $dmz_if brandwidth 20Mb cbq borrow
послее

Код: Выделить всё

pfctl -f /etc/pf.conf
получаю сообщения об ошибке

Код: Выделить всё

/etc/pf.conf:50: syntax error
pfctl: the sum of the child bandwidth higher than parent "root_rl3"
/etc/pf.conf:51: syntax error
pfctl: the sum of the child bandwidth higher than parent "root_rl3"
/etc/pf.conf:52: syntax error
pfctl: the sum of the child bandwidth higher than parent "root_rl3"
/etc/pf.conf:53: syntax error
вопрос: как такое возможно, ведь сумма дочерних очередей 41.2Mb а материнская очередь 100Mb?

Re: PF + AlTQ

Добавлено: 2009-05-07 13:33:20
zingel

Re: PF + AlTQ

Добавлено: 2009-05-07 13:51:18
Niki
Так ведь у меня стоит "bandwidth on all levels of cbq queues"
Или я что то не так понял?

Re: PF + AlTQ

Добавлено: 2009-05-07 14:01:32
paradox
/etc/pf.conf:52: syntax error
52 строка конфига из трех строк?
ну ну

Re: PF + AlTQ

Добавлено: 2009-05-07 14:01:57
zingel

Код: Выделить всё

pfctl -sa

Re: PF + AlTQ

Добавлено: 2009-05-07 14:03:33
Niki
Bandwidth а не Brandwidth
Извеняюсь за беспокойство.