eu uso assim, altq on $int_if bandwidth 3Mb cbq queue {lan, radio } queue lan bandwidth 2644Kb cbq(red default) queue radio bandwidth 256Kb cbq (red)
altq on $ext_if1 bandwidth 500Kb cbq queue {lan_out, radio_out } queue lan_out bandwidth 400Kb cbq(red default) queue radio_out bandwidth 100Kb cbq (red) quando digito pfctl -vvsq mostra nscastro# pfctl -vvsq queue root_re0 on re0 bandwidth 3Mb priority 0 cbq( wrr root ) {lan, radio} [ pkts: 4054 bytes: 2927341 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 borrows: 0 suspends: 0 ] queue lan on re0 bandwidth 2.64Mb cbq( red default ) [ pkts: 4054 bytes: 2927341 dropped pkts: 1 bytes: 1514 ] [ qlength: 0/ 50 borrows: 0 suspends: 196 ] queue radio on re0 bandwidth 256Kb cbq( red ) [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 borrows: 0 suspends: 0 ] queue root_re1 on re1 bandwidth 500Kb priority 0 cbq( wrr root ) {lan_out, radio_out} [ pkts: 3554 bytes: 522180 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 borrows: 0 suspends: 0 ] queue lan_out on re1 bandwidth 400Kb cbq( red default ) [ pkts: 3554 bytes: 522180 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 borrows: 0 suspends: 17 ] queue radio_out on re1 bandwidth 100Kb cbq( red ) [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: 0 ] [ qlength: 0/ 50 borrows: 0 suspends: 0 ] 2009/8/24 Thiago souza <thiago.so...@gmail.com>: > Olá a todos, > > Tenho uma maquina configurada com com OpenBSD 4.5 já compilado para > trabalhar com PF e ALTQ onde nas minhas configurações do PF inicio o > seguinte: > > altq on { vr0 xl0 nfe0 } hfsc bandwidth 1024Kb queue ............ > > quando vou checar no pftop vejo que apenas a primeira interface está > configurada para 1024kb sendo: > > root_vr0 1024K hfsc 0 0 0 > 0 0 0 0 0 > > > mas que na verdade o correto seria estar: > > root_vr0 1024K hfsc 0 0 0 > 0 0 0 0 0 > root_xl0 1024K hfsc 0 0 0 > 0 0 0 0 0 > root_nfe0 1024K hfsc 0 0 0 > 0 0 0 0 0 > > > alguém poderia me ajudar? > > desde já agradeço. > > > > -- > Thiago Melo. > ------------------------ > > »(▒) OpenBSD > free, functional & secure. > ------------------------- > Histórico: http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd > -- Alessandro de Souza Rocha Administrador de Redes e Sistemas FreeBSD-BR User #117 Long live FreeBSD Powered by .... (__) \\\'',) \/ \ ^ .\._/_) www.FreeBSD.org ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd