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

    A quick question about VLANs

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    5 Posts 2 Posters 544 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.
    • N
      netguy
      last edited by netguy

      I had a quick question about VLANs and interfaces. I am not a technical guy so excuse my stupidity. So, I have multiple ethernet ports on my PC that I am using as Pfsense. Now if I create multiple VLANs and pass those thought to a managed switch using one port. Can I tag other ports with only a certain VLAN.

      For example if I have VLANS 10, 20, 30, and 40. They all pass on port 2. Now Can I use port 3 just for VLAN 20, then port 4 just for VLAN 30, port 5 again for VLAN 20, etc.?

      Thanks!

      keyserK 2 Replies Last reply Reply Quote 0
      • keyserK
        keyser Rebel Alliance @netguy
        last edited by

        @netguy yes you can.

        Love the no fuss of using the official appliances :-)

        1 Reply Last reply Reply Quote 1
        • keyserK
          keyser Rebel Alliance @netguy
          last edited by

          @netguy A little clarification: I assume the ports 3,4,5 and so on you are reffering to are located on your switch :-)

          If they are other enternet interfaces on pfSense, then you cannot really assign them to a VLAN you also have tagged on port 2 (not unless you start creating bridgegroups which I would STRONGLY advise against).

          Love the no fuss of using the official appliances :-)

          N 1 Reply Last reply Reply Quote 0
          • N
            netguy @keyser
            last edited by

            @keyser said in A quick question about VLANs:

            If they are other enternet interfaces on pfSense

            I was actually talking about the other enternet interfaces on pfSense.

            So, there is no way to go without a managed switch then, right?

            keyserK 1 Reply Last reply Reply Quote 0
            • keyserK
              keyser Rebel Alliance @netguy
              last edited by

              @netguy Ahh, good I did the followup. I noted that your original question could mean you were talking about pfsense Interfaces rather than switch interfaces.

              No, adding the same VLAN on more than one Interface on pfSense is a really bad idea. You can theoretically create a bridge containing several interfaces, but it causes a lot of issues and strange/unpredictable behaviour, so definitely something I would recommend you stay away from. Get yourself a managed switch - they are dirt cheap, especially used. You’ll end up doing it anyways even if you choose not to follow my advise now.

              Love the no fuss of using the official appliances :-)

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