OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • 21.7 Legacy Series »
  • Max size traffic shaper pipe?
« previous next »
  • Print
Pages: [1]

Author Topic: Max size traffic shaper pipe?  (Read 781 times)

Maarten

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 6
    • View Profile
Max size traffic shaper pipe?
« on: December 07, 2021, 11:27:31 am »
Hi, I'm trying to configure a pipe larger than 2gbit, but anything I configure over 2.1gb causes problems. The Shaper status does not show queues/rules after it encounters the pipe over 2.1gb.

for example "ipfw queue show", doesn't show anything, if there is a pipe over 2.1gb

Best regards,

Maarten

(OPNsense 21.7.1-amd64) (I checked, but this is also the case with OPNsense 20.7)
Logged

KHE

  • Full Member
  • ***
  • Posts: 174
  • Karma: 17
    • View Profile
Re: Max size traffic shaper pipe?
« Reply #1 on: December 08, 2021, 10:46:10 pm »
Hi,

2.1Gbit/s are 2.1 billion bit/s. Int32 has a value range from -2.147.483.648 to 2.147.483.647.
Looks like 2.1Gbit/s is the maximum value.
And looking searching the internet I found the following at bugs.freebsd.org:
https://bugs.freebsd.org/bugzilla//show_bug.cgi?id=194453
So somebody reported this in 2014, it seems to be changed in FreeBSD src to 4Gbit/s since this August.

KH
Logged

Maarten

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 6
    • View Profile
Re: Max size traffic shaper pipe?
« Reply #2 on: December 09, 2021, 12:11:02 pm »
Hi KH,

Good find, so they changed it from int32 to uint32 and should be "fixed" whenever opnsense upgrades to the freebsd version including this fix.

Maarten
« Last Edit: December 09, 2021, 12:27:02 pm by Maarten »
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • 21.7 Legacy Series »
  • Max size traffic shaper pipe?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2022 All rights reserved
  • SMF 2.0.18 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2