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

    XG-7100 redundant connections to external switches

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    35 Posts 6 Posters 4.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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      The config is actually correct. The bug is how it gets applied to the switch so when you reboot and that gets applied....

      Let me test that quickly...

      dragoangelD 1 Reply Last reply Reply Quote 0
      • dragoangelD
        dragoangel @stephenw10
        last edited by dragoangel

        @stephenw10 yes I test it, on reboot is same as like configuration from Web:
        laggroup0:
        members 3,4,5,6,9,10
        laggroup1:
        members 3,4
        laggroup2:
        members 3,4,5,6
        I will wait stable release thanks, topic done

        Latest stable pfSense on 2x XG-7100 and 1x Intel Xeon Server, running mutiWAN, he.net IPv6, pfBlockerNG-devel, HAProxy-devel, Syslog-ng, Zabbix-agent, OpenVPN, IPsec site-to-site, DNS-over-TLS...
        Unifi AP-AC-LR with EAP RADIUS, US-24

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

          Sorry I was called away. That does work though:

          Selection_604.png

          I'll see if we can get a patch you can apply directly to 2.4.4p2 via the patches package. That would be cleaner.

          Steve

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

            Ok here's a patch you apply against 2.4.4p2. You can use the system patches package to do it which removes most of the scope for error.

            Selection_605.png

            switch_lagg_fix.diff

            Steve

            R 1 Reply Last reply Reply Quote 1
            • R
              Righter @stephenw10
              last edited by

              Hmm I not getting running a trunk. (I have applied the patch above on 2.4.4P2)

              I have configure on the HPE/Aruba switch side two interfaces:

              interface 1/45
                 untagged vlan 1
                 trunk trk3 trunk
              
              interface 1/46
                 untagged vlan 1
                 trunk trk3 trunk
              

              and this on the PFSense:
              RIM-002-c.jpg

              If I connect Eth5 on one of that interfaces it works.
              If i connect Eth4 also to the switches, it still works but as soon as I unplug Eth5 my connection to the PF is lost.

              etherswtchcfg seems ok:

              laggroup0:
              	members 9,10
              laggroup1:
              	members 3,4,5
              
              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                How is the trunk configured in the HP switch? It must be as load balancing as the 7100 on-board switch is.

                Steve

                1 Reply Last reply Reply Quote 0
                • R
                  Righter
                  last edited by

                  Hi I've just created a normal trunk without LACP

                  trunk e 17/18 trk3 trunk
                  
                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    And there is no setting for failover, load-balance etc?

                    What happens if you connect Eth4 first in your current setup? Or just Eth3?

                    Do you get traffic over the first connected link that then fails when you disconnect it?

                    Steve

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      Righter @stephenw10
                      last edited by

                      @stephenw10
                      Nope there is only an option if you wish an LACP Trunk or without LACP.
                      The Trunk and interfaces are always up on the switch and the PF.
                      But only one interface on the PF is working. Doesn't matter which one I connect first.

                      If i configure eth 3-5 on the PF in the same LAG, only port 5 is working.
                      If i configure eth 3-4 on the PF in the same LANG, only port 3 is working.
                      really strange.

                      If I ping the firewall i see on the packets counter that the traffic goes and comes from different interfaces in the LAG.

                      1 Reply Last reply Reply Quote 0
                      • I
                        iV1n5
                        last edited by

                        Hi all, do you know if the fix is now part of the current version 2.4.4p3? I'd like to configure something similar but I don't want to mess with the terminal. Thanks.

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

                          The fix allowing additional lagg groups to be added should be in p3 yes. If that's what you're referring to.

                          Steve

                          1 Reply Last reply Reply Quote 0
                          • I
                            iV1n5
                            last edited by

                            hi @stephenw10 , i'm very new to pfsense and negate so sorry if I ask you to repeat it, but starting from the default configuration could you explain to me how I should proceed to create a lagg between 4 ports of the internal switch? Just to give you the full picture, this is what I want to achieve:

                            ETH1 --> WAN

                            ETH2, ETH3, ETH4 --> not used for now

                            ETH5, ETH6, ETH7, ETH8 --> LAGG with interface OPT3

                            Can I do that with the UI?

                            Thank you.

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

                              You can do that but only using a load-balance type lagg. What ever you are connecting it to has to support that.

                              You can't access that as a different interface in pfSense. Traffic using that still has to be sent to the internal switch via lagg0.

                              You should start a different thread for this.

                              Steve

                              1 Reply Last reply Reply Quote 0
                              • I
                                iV1n5 @stephenw10
                                last edited by

                                Do you mean I should manually type "1" in the LAGG column for the ports I want to join in a lagg? and that's it? Like you showed in this post:

                                @stephenw10 said in XG-7100 redundant connections to external switches:

                                You just have to add the ports to a new lagg group on the Ports tab i the switches config:

                                0_1551807910377_Selection_592.png

                                So here ports 7 and 8 are a lagg to another switch or another pfSense box carrying the LAN subnet.

                                Steve

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

                                  Yes, if you want an additional lagg group of switch ports from the internal switch to some external device (that also support load-balance lagg).

                                  Steve

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