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

    SolarFlare SFN5122F

    Scheduled Pinned Locked Moved Hardware
    24 Posts 3 Posters 3.0k 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.
    • S
      shaunmccloud
      last edited by shaunmccloud

      Hello,

      I've got a SolarFlare SFN5122F that I want to use for my LAN connection. When I connect it to my switch I get link lights on both the switch and the NIC until pfSense brings up my LAN connection. I have gotten it to link up as an OPT interface if I set it up and assign a random IP to it while continuing to use one of my Intel NICs as my LAN NIC.

      Tonight I will be checking logs & dmesg output, but any other suggestions are welcome. I did add sfxge_load="YES" to /boot/loader.conf and I can see the interfaces on the card in the GUI, just can't use it as my LAN yet....

      Forgot to mention, I am on 2.4.4-p3 right now.

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

        I've only once seen anyone using that driver with any NIC and in that case it would link but not pass traffic. They were also trying to use it in a lagg though.

        Get the output of ifconfig -vvma both with and without the NIC connected. Make sure it's showing the correct link speed etc.

        Make sure your LAN settings are not trying to configure the NIC to some rate it cannot use for example. There must be something different it is doing compared to OPT.

        Steve

        1 Reply Last reply Reply Quote 0
        • S
          shaunmccloud
          last edited by

          I will do that tonight, although I'll have to take screenshots.

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

            Also you should put that loader variable in /boot/loader.conf.local to avoid it being overwritten at some point. Create that file.

            S 1 Reply Last reply Reply Quote 0
            • S
              shaunmccloud @stephenw10
              last edited by shaunmccloud

              @stephenw10 Are you talking about sxfge_load? It is in /boot/loader.conf

              Additionally, before I forget. ifconfig sfxge0 shows no carrier when it is set as my LAN connection.

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

                Yes it should be in loader.conf.local.
                loader.conf can be overwritten at upgrade etc so if you leave it there it might disappear at some point leaving you with no interface.
                About the only thing I could imagine cause no carrier would be a speed/duplex setting in the LAN config.

                Steve

                S 1 Reply Last reply Reply Quote 0
                • S
                  shaunmccloud @stephenw10
                  last edited by

                  @stephenw10 Yeah, not sure how to change the speed and duplex from auto to 1GFD without access to the web GUI. And when I had the OPT interface up and running it was set to auto as well.

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

                    A lot of 10G cards do require setting to 1G to link at that but otherwise should be left as auto.

                    Was it linking at 10G when you had it as OPT?

                    I would make sure you have access via some other interface before doing any of this. That could be via the WAN even if only temporarily.

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • S
                      shaunmccloud
                      last edited by

                      It was linking at 1G, but that was expected. I don't have a 10G switch yet. Assigning the SolarFlare card from the console when I still have my current Intel card in to handle VLANs should let me connect via a VM on a VLAN, right?

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

                        Hard to answer that question without knowing exactly how you network and VMs are setup exactly. 😉

                        But, in general, yes leave the Intel card in and assigned so you have access to the webgui and then configure the solarflare card separately. The Intel card will not be re-assigned, VLAN interfaces will not be moved simply by assigning another NIC.

                        Steve

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          shaunmccloud @stephenw10
                          last edited by

                          @stephenw10 I was planning on re-assigning my LAN interface to the SolarFlare NIC and leaving the VLANs on the Intel NIC. My VMs are on their own VLAN so I should be able to access one of them via RDP, and from there access the pfSense box.

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

                            Yes you should. VLANs are assigned as a different interface so if you have, for example, igb0.100 assigned as OPT2 then reassigning LAN, even if that was igb0, will not affect it. As long as the interface remains physically connected to the link carrying the VLAN.

                            Steve

                            1 Reply Last reply Reply Quote 0
                            • S
                              shaunmccloud
                              last edited by

                              @stephenw10 You were right, I did have to force it to a 1000baseSX <full-duplex,rxpause,txpause> connection. Still trying to get IPv6 track interface to work on it though.

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

                                Hmm, I wouldn't expect that to be affected by the NIC/driver. Unless maybe it has some odd MAC that local-link objects to. Or maybe some hardware off-loading option?

                                Steve

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  shaunmccloud @stephenw10
                                  last edited by

                                  @stephenw10 I just had to reboot the router for it pickup the IPv6 addresses on the other interfaces. I was hoping to avoid that but I guess not.

                                  1 Reply Last reply Reply Quote 1
                                  • S
                                    shaunmccloud
                                    last edited by

                                    Just added sfxge_load="YES" to /boot/loader.conf.local because I forgot to last night.....

                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      theyboosting @shaunmccloud
                                      last edited by

                                      @shaunmccloud How did this work out for you? I just received the same card this morning.

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        shaunmccloud @theyboosting
                                        last edited by

                                        @theyboosting said in SolarFlare SFN5122F:

                                        @shaunmccloud How did this work out for you? I just received the same card this morning.

                                        Worked great. Although I am switching to an Intel card just to make it easier to pass the NIC through to a VM (I am virtualizing pfSense).

                                        T 1 Reply Last reply Reply Quote 0
                                        • T
                                          theyboosting @shaunmccloud
                                          last edited by

                                          @shaunmccloud good! , I'm setting the negotiation to 1G myself (10g switch hasn't arrived yet) I'm using this card as the up-link to my switch from the pfsense box

                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            shaunmccloud @theyboosting
                                            last edited by

                                            @theyboosting That is what I used it for.

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