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:

[EMAIL PROTECTED]:~# /etc/rc.d/pf restart
Disabling pf.
pf disabled
Enabling pf.
pf enabled
[EMAIL PROTECTED]:~# 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
[EMAIL PROTECTED]:~# 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
_______________________________________________
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