On 11/20/05, Marcus Alves Grando <[EMAIL PROTECTED]> wrote:

> I trying to limit one interface "rl0" to 256Kb, but when i test with
> iperf he say limit is "7.29 Mbits/sec". What's wrong? Whay iperf say 7Mb/s?

> altq on rl0 bandwidth 512Kb hfsc queue test
> queue test bandwidth 256Kb hfsc (default upperlimit 256Kb)
>
> pass in on rl0 from any to any queue test
> pass out on rl0 from any to any queue test

You cannot queue inbound traffic, only outbound. For simple PF
configs, only use queue on "pass out" rules until you get the hang of
it.

For advanced configs, you can queue inbound traffic on an outbound
interface if it leaves the router/bridge on a different interface than
it entered on.

(simple and advanced are, of course, subjective terms)

--
Jon Simola
Systems Administrator
ABC Communications
_______________________________________________
freebsd-pf@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to