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

    LAGG and VPNs

    Scheduled Pinned Locked Moved General pfSense Questions
    79 Posts 2 Posters 10.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
      stevencavanagh @stevencavanagh
      last edited by

      Forgot to mention that the LAGG link show green on the status page until I plug the patch cables in at which point they remain green for a short whilst then fail but no traffic goes through.

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

        The link LEDs on the ports remain lit though?

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

          The LAGG port link lights are and have always been off

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

            The switch also indicates the LAG is down

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

              Ok, that implies the switch is shutting down the ports which in turn implies it's seeing a flood/loop to trigger that.

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

                so, i currently have:
                Screenshot 2023-08-24 190337.png

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

                  Not sure where the loop could be!

                  The switch has 4 connections associated with pfsense:-

                  The WAN link - igb0.101
                  The 2 LAG links - igb2 & igb3
                  Additional link for this laptop - igb1

                  S stephenw10S 2 Replies Last reply Reply Quote 0
                  • S
                    stevencavanagh @stevencavanagh
                    last edited by

                    log for LAGG interface:-

                    +Screenshot 2023-08-24 192635.png

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

                      Ok, so I'd guess there's some misconfiguration on the switch for the VLANs that are separating those 4 links and it's creating a loop.

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

                        Quite possibly but I cannot find it.

                        It is now back working with the draytek router without issue and all i have done is change the short timeout back to long, switch back to static from LACP on the switch and swap the WAN cable from modem to router! Spoke with draytek this morning and they couldn’t see an issue with the setup either.

                        Unless the loop is being created via the connections to the pfsense box somehow?

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

                          Unlikely unless you have and bridged NICs in pfSense.

                          Does the Draytek router use the same 4 links to the switch?

                          Does the LAGG come up correctly if only those links are connected between pfSense and the switch?

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

                            The router has 2 links to the switch (LAG) and there are 4 links from this switch to another but that is all working. Yes, the draytek router is using the same links.

                            Never seen the LAGG come up yet to the pfsense either with just those links or others.

                            Is it possible to let me know what the pfsense settings should be for a LAGG with VPNs and I can try and make the switch match, although there aren't that many options really on the draytek switch to get wrong to be fair.

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

                              @stevencavanagh said in LAGG and VPNs:

                              The switch has 4 connections associated with pfsense:-

                              The WAN link - igb0.101
                              The 2 LAG links - igb2 & igb3
                              Additional link for this laptop - igb1

                              What are the 4 connections then? That looks like 4 NICs in pfSense that are connected to the switch no?

                              Any VPNs you might have setup wouldn't have any effect here this is a layer 2 or even 1 issue.

                              I assume you are able to see a link between pfSense and the switch if there isn't a lagg in play?

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

                                the first connection is from the pfsense to the modem (igb0.101)
                                the LAGG (2 connections igb2 & igb3) from pfsense to the switch
                                the last is igb1 which is a connection from the pfsense to the laptop

                                Yes, if the LAGG is removed and a single cable put direct to the switch from the pfsense (obviously different port from the LAGG) then I get a connection, although at 100MB not 1GB as it should! No idea why though.

                                For info - the pfsense box is a DELL PC (i5) with 2 twin port NICs, giving a total of 5 ports if you include the motherboard one.

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

                                  Ah, Ok only two links to the switch. Hard to see how that could be a loop then. The fact it only links at 100M is not a great sign! Is it set to fixed speed in the switch maybe?

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

                                    Nope, changed the patch cable, changed the port and forced it 1GB where it stopped working completely so put back to auto and it auto negotiates at 100M

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

                                      Hmm, with igb NICs too. About the best supported hardware there is...

                                      If you force them to 100M does it link?

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

                                        To clarify, the 2 cables for the LAG show as 1G on the switch, it is the single cable to another port (when the LAG is disconnected) that defaults to 100M but it works.

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

                                          Hmm, earlier you said the port LEDs on the links in the lagg are off when it's connected. I wouldn't expect any link speed to be shown in that situation.

                                          Do you mean those links when not configured as a LAGG link at 1G?

                                          If you only connect one link from the lagg does it still fail?

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

                                            @stephenw10 said in LAGG and VPNs:

                                            Hmm, earlier you said the port LEDs on the links in the lagg are off when it's connected. I wouldn't expect any link speed to be shown in that situation.

                                            Do you mean those links when not configured as a LAGG link at 1G?

                                            If you only connect one link from the lagg does it still fail?

                                            yes, the port LEDs are off when the LAGG cables are connected

                                            Not tried removing the LAGG from the switch to prove it to be the case as I can't afford to cock it up when I go back to the draytek router for work! However, all other ports are at 1G so I suspect they will

                                            yes, 1 link still fails

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