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

    Bug in Broadcom bnxt driver in combination with VLANs

    Scheduled Pinned Locked Moved Hardware
    24 Posts 6 Posters 2.4k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Since it looks like that's in VLAN filtering in the driver you could try disabling VLAN hardware off loading on the NIC.

      T 1 Reply Last reply Reply Quote 0
      • T
        tmoehle @stephenw10
        last edited by

        @stephenw10
        Thank you for that suggestion. The idea was promising, but unfortunately not successful. I tried:

        ifconfig bnxt0 -vlanhwtag -vlanhwfilter -vlanhwtso
        ifconfig bnxt1 -vlanhwtag -vlanhwfilter -vlanhwtso
        

        But the errors remain :(

        S 1 Reply Last reply Reply Quote 0
        • S
          slu @tmoehle
          last edited by

          I'm also interested in a workaround, we plan to use the Broadcom BCM57416 with VLANs.

          pfSense Gold subscription

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Mmm, worth trying but I did expect to see that on the FreeBSD bug report.

            In he short term going back to 2.6 may be the only option.

            1 Reply Last reply Reply Quote 0
            • D
              Delegator5042 @stephenw10
              last edited by

              @stephenw10
              Can you point me where to look if I want to try and recompile this for myself?
              I'm a beginner but I would like to try to get my NIC to work with more than 1 VLAN

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                As far as I can see there is no validated patch for this yet: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269133#c31

                D 1 Reply Last reply Reply Quote 0
                • D
                  Delegator5042 @stephenw10
                  last edited by

                  @stephenw10
                  A bummer, but can't be helped! I'll have to find other uses for the NIC in the meantime.
                  Thanks for the quick response!

                  1 Reply Last reply Reply Quote 0
                  • D
                    Delegator5042 @tmoehle
                    last edited by

                    @tmoehle Did going back to 2.6 make the VLANs functional?
                    I tried it for a bit and didn't get anywhere (didn't get the re-allocate error but the interface didn't forward any traffic)
                    Going back to 2.6 permanently also seems cumbersome since I could not install packages from the package manager until I update to 2.7 again.

                    T 1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      You can install packages, just set the repo branch to 2.6 (deprecated).

                      1 Reply Last reply Reply Quote 2
                      • T
                        tmoehle @Delegator5042
                        last edited by

                        @Delegator5042
                        I did a clean install for pfsense 2.6 and restored the old configuration backup. That went perfectly smooth. After that, as @stephenw10 already suggested, I went to System > Update and changed the desired branch to 2.6, so I could download packages again.

                        D 2 Replies Last reply Reply Quote 0
                        • D
                          Delegator5042 @tmoehle
                          last edited by

                          @tmoehle
                          Encouraging to hear! I will give it a(nother) proper go then.
                          Silly me just read an old forum posts about the packages requiring an update, which I somehow can't find anymore so I probably didn't read something correct when I was looking for a place to download 2.6

                          1 Reply Last reply Reply Quote 0
                          • D
                            Delegator5042 @tmoehle
                            last edited by

                            @tmoehle Sorry for prying a lot, but do the VLANs on your NIC really work?
                            I installed 2.6 and the NIC works without VLANs.
                            When I create a VLAN and assign it to an interface, No traffic gets through (oddly enough the DHCP does work)
                            When I set a different network port (non bnxt) with the same VLAN to the same configured interface, it all works (albeit I have to reload firewall rules first).

                            I am hoping that I am doing something wrong, since DHCP somehow still works on the VLAN with bnxt, but I don't see any issues with the gateway and the firewall rule permits the traffic.

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              tmoehle @Delegator5042
                              last edited by

                              @Delegator5042 My VLANs are working perfectly fine, yes. If your DHCP is working within those VLANs and pfsense is your only DHCP server, then chances are you overlook something.

                              1 Reply Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                This should now be fixed in the next 23.09 snapshots if anyone can test that.

                                Steve

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  tmoehle @stephenw10
                                  last edited by

                                  @stephenw10 Will it only go into 23.09 or will there also be an update for CE?

                                  1 Reply Last reply Reply Quote 0
                                  • stephenw10S
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    It's fixed upstream in FreeBSD so it will be pulled into new CE builds.

                                    C 2 Replies Last reply Reply Quote 1
                                    • C
                                      chinraam @stephenw10
                                      last edited by

                                      @stephenw10 Hi. With pfsense version 2.7.0 im still facing this issue.

                                      Will it get resolved in 2.7.2 or should i downgrade?

                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        chinraam @stephenw10
                                        last edited by

                                        @stephenw10
                                        9b3cebe2-6a4a-49c1-b289-888fde0ea396-image.png

                                        1 Reply Last reply Reply Quote 0
                                        • stephenw10S
                                          stephenw10 Netgate Administrator
                                          last edited by

                                          Yes that patch is in 2.7.2: https://github.com/pfsense/FreeBSD-src/commit/21d49ce6efe3883beef6d5456a3bda4194028b01

                                          C 1 Reply Last reply Reply Quote 0
                                          • C
                                            chinraam @stephenw10
                                            last edited by

                                            @stephenw10 Thank You. Let me try the same.

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