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

    Can a VLAN interface be assigned as the LAN interface

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    8 Posts 2 Posters 1.1k 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.
    • T
      tman904
      last edited by tman904

      Hi.

      I've installed pfSense 2.4.5 on an apu 1d4 today. I'm needing to create two VLANs.

      Can the VLAN interface in my case re0.10 be set as my LAN interface?

      Ideally I want both VLANs to use re0 as their parent interface then assign re0 to the LAN. Is this possible in pfSense?

      1 Reply Last reply Reply Quote 0
      • dotdashD
        dotdash
        last edited by

        Your question is a bit confusing, but yes, you can assign a vlan interface as the LAN. Just go to interfaces, assignments. Create the vlan on the vlan tab, then you can assign it. You will need to properly trunk the switch port, so either have a trunk port ready and move the cable, or re-configure the port you're connected to.

        T 1 Reply Last reply Reply Quote 1
        • T
          tman904 @dotdash
          last edited by tman904

          @dotdash I apologize that wasn't my intention. On other systems like OpenBSD for instance I've made two VLANs 10 and 200 on re0 only.

          I'm confused about how I assign them in pfSense. Does each VLAN I create have to be assigned to a different physical port or can I have VLANs 10 and 200 both on LAN.

          I'm sorry I think it made it more confusing by trying to explain it... lol.

          1 Reply Last reply Reply Quote 0
          • dotdashD
            dotdash
            last edited by

            Yes, could could create vlan's 10 and 200 on the re0 interface. Create the vlans, like I mentioned in my first post, then you can assign them. If you look at the ifconfig afterward, it should look familiar.

            1 Reply Last reply Reply Quote 0
            • T
              tman904
              last edited by

              I think I figured it out. Does it look right to you? It's my first time implementing VLANs in pfSense.

              https://pasteboard.co/J3FqWJQ.png

              1 Reply Last reply Reply Quote 0
              • dotdashD
                dotdash
                last edited by

                That looks right. As long as 10 and 200 are tagged on the switchport re0 is connected to, you should be good.

                T 1 Reply Last reply Reply Quote 1
                • T
                  tman904
                  last edited by tman904

                  Alright I've already trunked the switch ports not in production just in my lab setup but I can't hook it up till later tonight. I have a lot of remote work using the network right now and I can't afford to interrupt it.

                  I'll let you know how it goes and thank you for your help I really appreciate it.

                  1 Reply Last reply Reply Quote 0
                  • T
                    tman904 @dotdash
                    last edited by

                    @dotdash It worked out very well and pfSense is running the network smoothly.

                    Thank you again for your help with this.

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