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

    pfSense not enabling port

    Scheduled Pinned Locked Moved General pfSense Questions
    145 Posts 4 Posters 9.9k 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.
    • georgelzaG
      georgelza
      last edited by

      and from the logs

      Oct 31 16:46:17 pmox1 kernel: ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
      Oct 31 16:46:17 pmox1 kernel: vmbr30: port 1(enp4s0f0) entered disabled state
      Oct 31 16:46:17 pmox1 kernel: ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
      Oct 31 16:46:17 pmox1 kernel: vmbr30: port 1(enp4s0f0) entered blocking state
      Oct 31 16:46:17 pmox1 kernel: vmbr30: port 1(enp4s0f0) entered forwarding state
      Oct 31 16:46:18 pmox1 kernel: ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
      Oct 31 16:46:18 pmox1 kernel: ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
      Oct 31 16:46:18 pmox1 kernel: ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
      Oct 31 16:46:18 pmox1 kernel: ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
      
      G 1 Reply Last reply Reply Quote 0
      • G
        Gblenn @georgelza
        last edited by

        @georgelza So it looks like there is something happening at least. But it states auto-negotiation : no.

        So what if you set the Unifi side to 10G and not Autonegotiate?

        georgelzaG 1 Reply Last reply Reply Quote 0
        • georgelzaG
          georgelza
          last edited by

          have to pop out for hour, daddy duties. bbl.

          G

          1 Reply Last reply Reply Quote 0
          • georgelzaG
            georgelza @Gblenn
            last edited by

            @Gblenn let me try.
            it was set to 10 GBS FDX.

            switched it to Auto, still same.

            G

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

              It has to be auto at both ends to use that. Otherwise it should link at 10G fixed on both ends.

              Probably need to query the module to make sure it at least sees signal on the fiber. I don't have anything to test that with but maybe: ethtool --show-module enp4s0f0

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

                Just to confirm this is Proxmox installed on the same Topton hardware that pfSense couldn't get link on?

                G 1 Reply Last reply Reply Quote 0
                • G
                  Gblenn @stephenw10
                  last edited by Gblenn

                  @stephenw10 said in pfSense not enabling port:

                  Just to confirm this is Proxmox installed on the same Topton hardware that pfSense couldn't get link on?

                  No it's a separate machine, thinking it should work in Proxmox at least...

                  It has to be auto at both ends to use that. Otherwise it should link at 10G fixed on both ends.

                  Probably need to query the module to make sure it at least sees signal on the fiber. I don't have anything to test that >with but maybe: ethtool --show-module enp4s0f0

                  It did list this at the end as per the post further up:

                      Link detected: yes
                  

                  And Proxmox log was showing interface going up and down...

                  Oct 31 16:46:17 pmox1 kernel: ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                  Oct 31 16:46:17 pmox1 kernel: vmbr30: port 1(enp4s0f0) entered disabled state
                  Oct 31 16:46:17 pmox1 kernel: ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
                  Oct 31 16:46:17 pmox1 kernel: vmbr30: port 1(enp4s0f0) entered blocking state
                  Oct 31 16:46:17 pmox1 kernel: vmbr30: port 1(enp4s0f0) entered forwarding state
                  Oct 31 16:46:18 pmox1 kernel: ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                  Oct 31 16:46:18 pmox1 kernel: ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
                  Oct 31 16:46:18 pmox1 kernel: ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                  Oct 31 16:46:18 pmox1 kernel: ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX

                  Perhaps time to try a different module, or set of modules / fiber...

                  georgelzaG 1 Reply Last reply Reply Quote 0
                  • georgelzaG
                    georgelza @Gblenn
                    last edited by

                    @Gblenn

                    I've already swopped the fiber out.

                    And tried the pfSense which was 2 modules there... and that fiber. then ran into issues and thought if we think this is pfSense not liking it lets me jst confirm things work, in a more compatible environment, so installed transceivers into my 2nd Topton that runs pmox. patched that into my Unifi Pro Max port 26 which SFP+ (SFP1), port 25 is (SFP0).

                    and ye. we not getting much further.

                    My unifi switch is reporting the correct SFP+ transceivers so can't image there being a problem with them, and well, they brand brand new.

                    G

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

                      Ok but it's the same model Topton device? Same NIC?

                      Yeah, seeing the NIC logged as changing link state like that sure looks like it should be working....

                      georgelzaG 1 Reply Last reply Reply Quote 1
                      • G
                        Gblenn @georgelza
                        last edited by

                        @georgelza Just realized one more thing that you might try in Proxmox...

                        What do you see from this command?
                        dmesg | grep ixgbe

                        georgelzaG 1 Reply Last reply Reply Quote 0
                        • georgelzaG
                          georgelza @Gblenn
                          last edited by

                          @Gblenn said in pfSense not enabling port:

                          dmesg | grep ixgbe

                          [175483.486743] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                          [175484.110776] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
                          [175484.214719] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                          [175485.462768] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
                          [175485.670734] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                          [175485.879762] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
                          [175485.982711] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                          [175486.398837] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
                          [175486.502809] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                          [175486.606757] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
                          [175486.710853] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                          [175487.230749] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
                          [175487.438681] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                          [175489.830832] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
                          [175489.934714] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                          [175498.150577] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
                          [175498.255548] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                          [175502.414503] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
                          [175502.518579] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                          
                          G 1 Reply Last reply Reply Quote 0
                          • georgelzaG
                            georgelza @stephenw10
                            last edited by

                            @stephenw10

                            pretty much yes, cpu and memory and nvme size differs, thats all.

                            G

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

                              Link flapping every few seconds like that sure looks like a low level link negotiation issue.

                              georgelzaG 1 Reply Last reply Reply Quote 0
                              • georgelzaG
                                georgelza @stephenw10
                                last edited by

                                @stephenw10

                                so thesis the setting on the Unifi switch atm.

                                6fa94705-d818-4af8-b992-ed77e9255aaf-image.png

                                27a922a6-920a-432c-ad96-157bb979e4af-image.png

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

                                  I would try setting both ends to 10G FDX fixed since it seems to be struggling to negotiate.

                                  georgelzaG 1 Reply Last reply Reply Quote 0
                                  • georgelzaG
                                    georgelza @stephenw10
                                    last edited by

                                    @stephenw10

                                    well first noticed is the native VLAN was wrong... fixed that bit did not change anything. ok so setting to 10GbE FDX on switch is easy, how do I accomplish the same on proxmox ?

                                    G

                                    G 1 Reply Last reply Reply Quote 0
                                    • G
                                      Gblenn @georgelza
                                      last edited by

                                      @georgelza I thought it was set to manual already, otherwise something like

                                      ethtool -s enp4s0f0 speed 10000 duplex full autoneg off

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

                                        Yup at least as test just set it manually at the CLI. That won't survive a reboot of course.

                                        georgelzaG 1 Reply Last reply Reply Quote 0
                                        • georgelzaG
                                          georgelza @stephenw10
                                          last edited by

                                          @stephenw10
                                          well it seems I can now ping 172.16.30.1, from both the pmox shell, I also created a ubuntu guest vm, i can from inside here ping the 30.1 also

                                          so we def making progress.

                                          i've down a ifconfig <interface> down and a back up, not picking up a ip yet.

                                          G

                                          G 1 Reply Last reply Reply Quote 0
                                          • G
                                            Gblenn @georgelza
                                            last edited by

                                            @georgelza said in pfSense not enabling port:

                                            @Gblenn said in pfSense not enabling port:

                                            dmesg | grep ixgbe

                                            [175483.486743] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                                            [175484.110776] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
                                            [175484.214719] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                                            [175485.462768] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
                                            [175485.670734] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                                            [175485.879762] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
                                            [175485.982711] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                                            [175486.398837] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
                                            [175486.502809] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                                            [175486.606757] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
                                            [175486.710853] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                                            [175487.230749] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
                                            [175487.438681] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                                            [175489.830832] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
                                            [175489.934714] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                                            [175498.150577] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
                                            [175498.255548] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                                            [175502.414503] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
                                            [175502.518579] ixgbe 0000:04:00.0 enp4s0f0: NIC Link is Down
                                            

                                            It would be interesting to see what it sais before it start flapping like that... Of there is anything that could provide a clue whether there is some module inocmpatibility for example. Some cards check the module to see if it is in the list of "supported devices", which it will announce here if that is the case...

                                            I wonder if you remove the module, issue dmesg | grep ixgbe again.
                                            Then plug it in and immediately run dmesg | grep ixgbe

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