Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Diagram of how interfaces, rules, and queues interact?

    Scheduled Pinned Locked Moved Traffic Shaping
    10 Posts 7 Posters 3.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Javik
      last edited by

      The documentation for how this stuff works is not very clear at all. Apparently you need to be an expert trained from somewhere else to grok this stuff.

      Is there a diagram or animation available anywhere (and not necessarily from here) that explains all this, with a visual diagram of packets, flow arrows, buckets, queues, rules, sources, and sinks, showing exactly what the heck is going on with the packets with normal routing vs queue-based shaped routing?

      For example (and I'm not claiming I know what I'm looking at here at all):

      http://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/WAN_and_MAN/QoS_SRND_40/QoSWAN_40.html#32235

      http://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/WAN_and_MAN/QoS_SRND_40/QoSWAN_40.html#64498

      http://www.cisco.com/c/en/us/support/docs/voice/voice-quality/7111-voip-mlppp.html#link_frag

      http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3750-series-switches/91862-cat3750-qos-config.html#def-config

      Something like these, but explicitly in terms of how pfSense works.

      1 Reply Last reply Reply Quote 0
      • J
        Javik
        last edited by

        I suppose I could start this, by making some horrible guesses, draw it with MS Paint, and then the experts can jump down my throat telling me how wrong I am. This may help invite participation as well as derision.

        This is my assumed default packet flow. I'm drawing some colored boxes in hopes they might be useful for something eventually. I'm showing one packet flow direction only, for simplification.

        1 Reply Last reply Reply Quote 0
        • N
          Nullity
          last edited by

          lol. Only badasses use MS Paint. I would have been happier if everything in the picture was drawn freehand with the mouse.

          It took me a couple months of using Google, searching the forums, browsing the wiki, reading OpenBSD/FreeBSD's "pf" documentation, and trial & error to (partially) understand how packets flowed through pfSense and it's traffic-shaping queues. When searching this forum I found the posts by "ermal" to be especially useful. Most, if not all, of the information you seek can be found in the sources I listed above.

          Btw, I am a networking noob too. Sadly, there is no easy way to learn all this stuff.

          Sorry, I do not have an MS Paint diagram to share…  8)

          Please correct any obvious misinformation in my posts.
          -Not a professional; an arrogant ignoramous.

          1 Reply Last reply Reply Quote 0
          • N
            Nullity
            last edited by

            I just remembered I had the following link bookmarked. Hopefully it helps.

            https://forum.pfsense.org/index.php?topic=24773.msg129341#msg129341

            I assume it is still accurate but…

            Please correct any obvious misinformation in my posts.
            -Not a professional; an arrogant ignoramous.

            1 Reply Last reply Reply Quote 0
            • D
              dpa
              last edited by

              To add to the confusion, where does Squid reside on that diagram above? Squid is added as a package to pfSense.

              1 Reply Last reply Reply Quote 0
              • H
                Harvy66
                last edited by

                Squid happens after the ingress and before the egress. Squid doesn't see any traffic until after the ingress interface has seen it.

                1 Reply Last reply Reply Quote 0
                • D
                  doktornotor Banned
                  last edited by

                  Just follow this simple flowchart…

                  1 Reply Last reply Reply Quote 0
                  • C
                    cr_hyland
                    last edited by

                    Well I don't know about the rest of you but it's all clear to me now  ;D

                    1 Reply Last reply Reply Quote 0
                    • D
                      dpa
                      last edited by

                      @doktornotor:

                      Just follow this simple flowchart…

                      I see spaghetti! lol

                      1 Reply Last reply Reply Quote 0
                      • DerelictD
                        Derelict LAYER 8 Netgate
                        last edited by

                        @dpa:

                        where does Squid reside on that diagram above?

                        Who cares?  :P

                        Chattanooga, Tennessee, USA
                        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                        Do Not Chat For Help! NO_WAN_EGRESS(TM)

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.