[Bug 211730] pf uses 32bit value for bandwith with altq

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 11 20:35:16 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211730

--- Comment #10 from rk at starnet.cz ---
(In reply to Mahdi Mokhtari from comment #2)
Hello Mahdi,

I have recompiled kernel, but still the same:

in pf.conf:

altq on em0 cbq bandwidth 10Gb queue { default_nat,.....

queue default_nat bandwidth 8000Mb cbq (borrow, red, default)

And with pfctl -nvf /etc/pf.conf
altq on em0 cbq bandwidth 1.41Gb tbrsize 36000 queue { default_nat
queue root_em0 bandwidth 1.41Gb priority 0 cbq( wrr root )

Interessant thing:

If I use in pf.conf this:
altq on em0 cbq bandwidth 5000Mb queue { default_nat, \

with pfctl I see:
altq on em0 cbq bandwidth 705.03Mb tbrsize 36000 queue { default_nat

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-pf mailing list