Date: Sun, 20 Nov 2005 16:56:12 -0200 From: Marcus Alves Grando <mnag@FreeBSD.org> To: freebsd-pf@freebsd.org Subject: pf + ALTQ + hfsc Message-ID: <4380C6CC.2080102@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Hi list, I don't know if my pf.conf is correct, but... 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? Below my conf and iperf test: root@test:~# /etc/rc.d/pf restart Disabling pf. pf disabled Enabling pf. pf enabled root@test:~# cat /etc/pf.conf 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 root@test:~# iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ [ 4] local 150.162.166.75 port 5001 connected with 150.162.166.51 port 52278 [ 4] 0.0-10.0 sec 8.71 MBytes 7.29 Mbits/sec Regards -- Marcus Alves Grando marcus(at)corp.grupos.com.br | Grupos Internet S/A mnag(at)FreeBSD.org | FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4380C6CC.2080102>