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

Deleting VLAN interface

Scheduled Pinned Locked Moved L2/Switching/VLANs
5 Posts 2 Posters 3.2k 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.
  • J
    joesl
    last edited by Derelict Oct 23, 2018, 8:25 PM Oct 23, 2018, 8:19 PM

    Hello people,

    Reviving this thread to add two questions on this topic.

    Edited: This post references https://forum.netgate.com/topic/109092/vlans-and-parent-interface/

    Is there any issue if I create a parent interface, then add vlans and then eventually delete the parent interface? Or will this create issues somehow?

    Are there any differences in what was written above if the parent interface is a LACP LAGG interface? Or it won't matter? I.e. can i create no parent interfaces and assign VLANs directly to a LAGG?
    (this last question I ask because I did try but it didn't work and I'm not sure if it was due to a misconfiguration of the switch or what..)

    Thanks

    1 Reply Last reply Reply Quote 0
    • D
      Derelict LAYER 8 Netgate
      last edited by Oct 23, 2018, 8:29 PM

      You do not need a pfSense interface on the parent at all. VLANs are assigned to physical interfaces. pfSense interfaces are then assigned to VLANs.

      Everything works the same on a lagg. Create the lagg, assign VLANs to it, assign interfaces to VLANs.

      Chattanooga, Tennessee, USA
      A comprehensive network diagram is worth 10,000 words and 15 conference calls.
      DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
      Do Not Chat For Help! NO_WAN_EGRESS(TM)

      1 Reply Last reply Reply Quote 0
      • J
        joesl
        last edited by joesl Oct 23, 2018, 8:52 PM Oct 23, 2018, 8:46 PM

        Thanks.

        The thing is:

        1. I have a parent interface working on a LAG; and a vlan_x associated to the same LAG.
        2. Switch which has the LAG ports configured as trunk and tagged for default vlan and vlan_x; port X on the switch is untagged for vlan_x.
        3. everything works as expected (all the ports on the switch go to my parent interface, port X goes to the vlan from which i get DHCP and all).
        4. I disabled the parent interface... everything dies. parent and vlan (LACP is broken).

        Any idea?

        Thanks!

        edit: small typo

        1 Reply Last reply Reply Quote 0
        • D
          Derelict LAYER 8 Netgate
          last edited by Oct 23, 2018, 8:52 PM

          Yeah. Don't disable it, delete it.

          If you want to have a pfSense interface on it for whatever reason, leave it enabled with no addressing on it.

          Setting it disabled probably does an ifconfig down on it. I'd have to look at the code.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          • J
            joesl
            last edited by Oct 23, 2018, 9:24 PM

            Thank you. It looks like I managed to do what I wanted concerning VLANs & LAGG. Parent interface is deleted and I have connectivity.

            I'll have to get a console cable as I bricked my switch management but.. could be worse ☺

            Cheers

            1 Reply Last reply Reply Quote 0
            1 out of 5
            • First post
              1/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received