I dont have rule for cliente_em0, why are the packages
passing
throught this rule???
queue root_em0 bandwidth 1Gb priority 0
[ pkts: 0 bytes: 0 dropped pkts:
0 bytes: 0 ]
[ qlength: 0/ 50 ]
queue net_em0 bandwidth 16Mb {voip_em0, flextv_em0,
inquima_em0,
ibilink_em0, cliente_em0, net1_em0}
[ pkts: 0 bytes: 0 dropped pkts:
0 bytes: 0 ]
[ qlength: 0/ 50 ]
queue voip_em0 bandwidth 64Kb priority 7 hfsc( red
upperlimit 64Kb )
[ pkts: 0 bytes: 0 dropped pkts:
0 bytes: 0 ]
[ qlength: 0/ 50 ]
queue flextv_em0 bandwidth 256Kb priority 7 hfsc( red
upperlimit 256Kb )
[ pkts: 0 bytes: 0 dropped pkts:
0 bytes: 0 ]
[ qlength: 0/ 50 ]
queue inquima_em0 bandwidth 256Kb priority 7 hfsc( red
upperlimit
256Kb ) {inquimavoip_em0, inquimatraf_em0}
[ pkts: 0 bytes: 0 dropped pkts:
0 bytes: 0 ]
[ qlength: 0/ 50 ]
queue inquimavoip_em0 bandwidth 128Kb priority 7 hfsc(
red upperlimit 256Kb )
[ pkts: 0 bytes: 0 dropped pkts:
0 bytes: 0 ]
[ qlength: 0/ 50 ]
queue inquimatraf_em0 bandwidth 128Kb hfsc( red
upperlimit 256Kb )
[ pkts: 0 bytes: 0 dropped pkts:
0 bytes: 0 ]
[ qlength: 0/ 50 ]
queue ibilink_em0 bandwidth 256Kb priority 7 hfsc( red
upperlimit 256Kb )
[ pkts: 0 bytes: 0 dropped pkts:
0 bytes: 0 ]
[ qlength: 0/ 50 ]
queue cliente_em0 bandwidth 128Kb priority 7 hfsc(
upperlimit 128Kb )
[ pkts: 1201 bytes: 1028312 dropped pkts:
51 bytes: 44818 ]
[ qlength: 40/ 50 ]
queue net1_em0 bandwidth 14Mb hfsc( default )
[ pkts: 50710 bytes: 11528763 dropped pkts:
36854 bytes: 7844117 ]
[ qlength: 44/ 50 ]
Gilberto Villani Brito
2006/11/29, Max Laier <max love2party.net>:
> On Tuesday 28 November 2006 21:17, Gilberto Villani
Brito wrote:
> > I have this rules working:
> > altq on em0 hfsc bandwidth 100% queue net_em0
> > queue net_em0 bandwidth 30Mb hfsc(red realtime
30Mb upperlimit 30Mb)
> > { voip_em0 net1_em0 inquima_em0
> >
> > ibilink_em0 flextv_em0 }
> > queue voip_em0 bandwidth 64Kb priority 7
hfsc(red realtime 64Kb
> > upperlimit 64Kb)
> > queue flextv_em0 bandwidth 256Kb priority 7
hfsc(red realtime
> > 256Kb upperlimit 256Kb)
> > queue inquima_em0 bandwidth 256Kb priority 7
hfsc(red realtime
> > 256Kb upperlimit 256Kb)
> > {
inquimavoip_em0
> > inquimatraf_em0 }
> > queue inquimavoip_em0 bandwidth 128Kb
priority 7 hfsc(red
> > realtime 128Kb upperlimit 256Kb)
> > queue inquimatraf_em0 bandwidth 128Kb
priority 1 hfsc(red
> > realtime 128Kb upperlimit 256Kb)
> > queue ibilink_em0 bandwidth 256Kb priority 7
hfsc(red realtime
> > 256Kb upperlimit 256Kb)
> > queue net1_em0 bandwidth 16Mb priority 1
hfsc(default)
> >
> > And my firewall works very well, but if I put more
one rule like this:
> > altq on em0 hfsc bandwidth 100% queue net_em0
> > queue net_em0 bandwidth 30Mb hfsc(red realtime
30Mb upperlimit 30Mb)
> > { voip_em0 net1_em0 inquima_em0 cliente_em0
> >
> > ibilink_em0 flextv_em0 }
> > queue voip_em0 bandwidth 64Kb priority 7
hfsc(red realtime 64Kb
> > upperlimit 64Kb)
> > queue flextv_em0 bandwidth 256Kb priority 7
hfsc(red realtime
> > 256Kb upperlimit 256Kb)
> > queue inquima_em0 bandwidth 256Kb priority 7
hfsc(red realtime
> > 256Kb upperlimit 256Kb)
> > {
inquimavoip_em0
> > inquimatraf_em0 }
> > queue inquimavoip_em0 bandwidth 128Kb
priority 7 hfsc(red
> > realtime 128Kb upperlimit 256Kb)
> > queue inquimatraf_em0 bandwidth 128Kb
priority 1 hfsc(red
> > realtime 128Kb upperlimit 256Kb)
> > queue ibilink_em0 bandwidth 256Kb priority 7
hfsc(red realtime
> > 256Kb upperlimit 256Kb)
> > new=> queue cliente_em0 bandwidth 128Kb
priority 1 hfsc(realtime
> > 128Kb upperlimit 128Kb)
> > queue net1_em0 bandwidth 16Mb priority 1
hfsc(default)
> >
> > My firewall begins show No buffer space available
in ping and my
> > traffic go down.
> > I think this problem is with my limits, but where
can I see this??
>
> Just to this last question: pfctl -vvsq will give you a
"live" update of
> the queue statistics. There is also pftop from ports
which also has a
> nice display mode for queue stats.
>
> --
> /" Best regards, |
mlaier freebsd.org
> / Max Laier | ICQ #67774661
> X http://pf4freebsd.l
ove2party.net/ | mlaier EFnet
> / ASCII Ribbon Campaign | Against HTML
Mail and News
>
>
>
_______________________________________________
freebsd-pf freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to
"freebsd-pf-unsubscribe freebsd.org"
|