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

    Removing LAGG. What happens to VLANs?

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 475 Views 3 Watching
    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.
    • V Offline
      valepe69
      last edited by

      Re: how to remove a lagg

      @stephenw10 I have my LAN interface on a LAGG with 2 ports.
      I wish remove the LAGG leaving only one nic for my LAN.

      I read the topic but I have a doubt about VLANs. What happens to them removing the LAGG?

      Thanks

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

        The VLANs are on the lagg?

        They would become invalid if you remove the lagg. You would need to re-create the VLANs on the single interface and re-assign them before removing the lagg entirely to maintain connectivity.

        If you have a lot of VLANs a change like that can often be more easily accomplished by editing a backup config directly and restoring it. Of course that carries some risk!

        Steve

        1 Reply Last reply Reply Quote 1
        • E Offline
          e-1-1
          last edited by

          Not sure how the business logic is written, but I'd advocate for not letting a user remove a lagg before sub interfaces are removed or moved to another interface.

          BTW, I'd say that would be a great feature, moving VLAN sub interfaces from one interface to another via GUI.

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

            That's already the case. If you try you see:

            The following input errors were detected:
            
                This LAGG interface cannot be deleted because it is still being used.
            

            Steve

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