Date: Mon, 21 Nov 2005 11:47:36 -0800 From: Jon Simola <jon@abccomm.com> To: Marcus Alves Grando <mnag@freebsd.org> Cc: freebsd-pf@freebsd.org Subject: Re: pf + ALTQ + hfsc Message-ID: <8eea04080511211147o689f13e0m3e50a52673514410@mail.gmail.com> In-Reply-To: <4380C6CC.2080102@FreeBSD.org> References: <4380C6CC.2080102@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/20/05, Marcus Alves Grando <mnag@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8eea04080511211147o689f13e0m3e50a52673514410>