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 11.7k 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.
    • G
      Gblenn @georgelza
      last edited by Gblenn

      @georgelza said in pfSense not enabling port:

      @Gblenn see above.

      The UI implies it's up...
      G

      No, the UI only sais that it is administratively activated.

      Here's what it looks like for me if I disable the switchport that my 10G link is connected to, same as you have: NO-CARRIER and no LOWER_UP.

      3: enp10s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master vmbr1 state DOWN group default qlen 1000

      And this is what the UI is showing me...

      17e81cba-6846-4008-a536-70cc83593a1d-image.png

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

        @Gblenn
        ok, interesting... figured that implied it was working...
        even though as you said ip a actually said otherwise.

        so it's starting to look like the Pmox host is also not linked to the Unifi pro max...

        wondering if this is caused by the switch... think i might need to "engage" some patience and wait for that 2nd SFP+ to arrive and then the DAC cable and then see from there.
        Will first try them on the pmox host, as it's more compatible with anything and confirm they work, then if all good there then move them to the pfSense host.

        G

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

          @georgelza said in pfSense not enabling port:

          c801dcac-9821-40be-b2f0-f3b51d9ab64a-image.png

          55cf7fc8-56c6-40b3-b116-a2b3ecd7bfcb-image.png

          Hmm, do you always assign IP from Proxmox? I'm not sure what Proxmox will do in this case... as I would imagine it is Proxmox handling the ICMP request within it's virtualization environment.

          If you had a VM that you assigned vmbr30 to (leaving the ipv4 part empty), it would be assigned an IP from pfsense instead. You don't need to put it in any VLAN, as that is only complicating things when testing... But if you want to, it's just a matter of entering the VLAN tag in the field for the VM's interface instead.

          But still, the fact that it shows the link is not UP at the interface level, makes me wonder...

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

            @Gblenn I figured i'd give the host a ip on the network the card lives.
            i will then give the guest vm's their own ip's on that network also.

            can easily remove that 30.11

            G

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

              The status of the bridge device is not really important compared to that of the actual NIC. The bridge could appear up even if the NIC is not.

              I would check the NIC stats and see if you see any incoming packets on it. ip -s link show enp4s0f0

              georgelzaG G 2 Replies Last reply Reply Quote 0
              • G
                Gblenn @georgelza
                last edited by

                @georgelza said in pfSense not enabling port:

                @Gblenn I figured i'd give the host a ip on the network the card lives.
                i will then give the guest vm's their own ip's on that network also.

                can easily remove that 30.11

                G

                Leave all that to pfsense instead, that's where you want to control all those things, including all your static IP's. If you have set up the Unifi SFP+ port as VLAN 30 Untagged, then anything on the Proxmox side will of course get an IP from that range.

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

                  @stephenw10

                  root@pmox1:~# ip -s link show enp4s0f0
                  6: enp4s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master vmbr30 state DOWN mode DEFAULT group default qlen 1000
                      link/ether a8:b8:e0:05:f0:91 brd ff:ff:ff:ff:ff:ff
                      RX:  bytes packets errors dropped  missed   mcast           
                          236040    3934    282       0       0    3934 
                      TX:  bytes packets errors dropped carrier collsns           
                        11447434   67461      0       0       0       0 
                  root@pmox1:~#
                  
                  1 Reply Last reply Reply Quote 0
                  • G
                    Gblenn @stephenw10
                    last edited by

                    @stephenw10 It's already in the info pasted above, showing NO-CARRIER and DOWN so it doesn't seem to be working unfortunately...

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

                      @Gblenn

                      I normally do dhcp reserve assignment on pfSense for all devices... aka control/manage i from that side.

                      G

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

                        Ah, yes. try: ethtool enp4s0f0

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

                          @stephenw10 said in pfSense not enabling port:

                          ethtool enp4s0f0

                          root@pmox1:~#  ethtool enp4s0f0
                          Settings for enp4s0f0:
                                  Supported ports: [ FIBRE ]
                                  Supported link modes:   10000baseT/Full
                                  Supported pause frame use: Symmetric
                                  Supports auto-negotiation: No
                                  Supported FEC modes: Not reported
                                  Advertised link modes:  10000baseT/Full
                                  Advertised pause frame use: Symmetric
                                  Advertised auto-negotiation: No
                                  Advertised FEC modes: Not reported
                                  Speed: 10000Mb/s
                                  Duplex: Full
                                  Auto-negotiation: off
                                  Port: FIBRE
                                  PHYAD: 0
                                  Transceiver: internal
                                  Supports Wake-on: d
                                  Wake-on: d
                                  Current message level: 0x00000007 (7)
                                                         drv probe link
                                  Link detected: yes
                          root@pmox1:~#
                          
                          1 Reply Last reply Reply Quote 0
                          • G
                            Gblenn @georgelza
                            last edited by

                            @georgelza Yes, so no need to set the IP, it's one of the things that made me think it was working when I saw it...

                            So when you ping from Proxmox, I guess in this case you were pinging inside the virtual switch of Proxmox and got that ICMP response. Meaning it never left Promxox...

                            And when you then ping from the PC, you can see that it times out. The response from 172.16.30.1 comes from pfsense obviously.

                            1 Reply Last reply Reply Quote 1
                            • 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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.