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

    Netgate 2100 VLAN confusion

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    15 Posts 5 Posters 1.4k 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.
    • D
      detox
      last edited by detox

      Hello All!
      I'm really confused with this model and VLANS and switch ports. I've been using Netgate equipment for several years (sg4860's) with VLANS and never had an issue. I'm just not successful in configuration with this model.
      I created (for my Unifi access Point) 2 VLAN's 101 / 201 in Interfaces/VLANS then the same in Interfaces/switch/VLAN =
      VLAN group =1 VLAN Tag =101 Members 1t,5t description = IoT
      VLAN group = 2 VLAN Tag = 201 Members 1t,5t description = lobby

      These are fed by a Netgear GS308EPP with the AP on port 1 (Trunk)
      No wifi are shown, I have port 2 included as part of VLAN 101 (untagged).

      The untagged port works fine obtaining an IP of 192.168.101.x

      No matter how I confgure the 2100, I cannot see the Tagged items.

      hope this makes sense
      final thought... I have the same setting (without switchports) on my sg4860 and all WIFi work fine in VLANS. So I know the equipment is fine,,, I am messing up the configuration on hte 2200 in some fashion

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @detox
        last edited by

        @detox there’s a doc to isolate a switch port: https://docs.netgate.com/pfsense/en/latest/solutions/netgate-2100/configuring-the-switch-ports.html

        If you’re trying to add a VLAN to all ports then i think you need to add it to the switch also… ? LAN Uplink is port “5.”

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

        D 1 Reply Last reply Reply Quote 0
        • D
          detox @SteveITS
          last edited by

          @SteveITS
          Thanks for the response. I've done this with no success pulling the VLANS through. Here are 4 screenshots of PfSense VLAN config.

          Maybe you can see where I messed up?

          VLAN-interface-4.png VLAN-interface-3.png VLAN-interface-2.png VLAN-interface-1.png VLAN-interface.png

          1 Reply Last reply Reply Quote 0
          • B
            b3rt
            last edited by

            @detox said in Netgate 2100 VLAN confusion:

            VLAN group =1 VLAN Tag =101 Members 1t,5t description = IoT
            VLAN group = 2 VLAN Tag = 201 Members 1t,5t description = lobby

            both of these have the same members / tagged ports ?
            pop the one you use for the vlans (port 1) out of the default system vlan? port 5 should be in all because its the uplink port
            everything else looks very similar to my own vlan config.
            trunk / vlan config OK on the managed SW (and AP) ?

            D 2 Replies Last reply Reply Quote 0
            • D
              detox @b3rt
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 2
              • D
                detox @b3rt
                last edited by

                @b3rt 1-Switch_Ports.png 2-Switch-VLAN.png 3-interface-assignments.png 4-interface-VLAN.png

                Thanks for the suggestions.... No VLAN works. went back to my fresh Unifi AP-lite connected to TP-Link SG108E, connecting to Netgate SG4860. as fresh install with all components fresh "factory-restore". Did fresh config with two VLAN and works fine.
                Did same test on a Proctli FW-2B vault,,, VLANs work fine.
                Returned to configuring to my new SG2100 Netgate... no VLAN works. It must be something simple I'm not seeing. Could someone show me your config for 1 or 2 VLANS?

                Failed to mention.... on the TP-Link switch... Port1 = Unifi AP (VLANS 101; 201); Port 8 = uplink to Netgate switch port 1
                Thanks for your patience.

                patient0P 1 Reply Last reply Reply Quote 0
                • patient0P
                  patient0 @detox
                  last edited by

                  @detox one observation: In Interfaces / Switch / VLANs you have multiple VLAN groups (2,3 and 4) where port 1 is an untagged (native) member of. That can't be, one port can only have one native/access VLAN, the other VLANs have to be tagged.

                  For example:

                  • VLAN group 2, VLAN tag 4081, members: 1,5t
                  • VLAN group 3, VLAN tag 101, members: 1t,5t
                  • VLAN gropu 4, VLAN tag 201, members, 1t,5t

                  In that example configuration port one's native (Unifi naming, 'access port' in Cisco naming) is 4081 and VLAN 101 and VLAN 201 are tagged on port 1, making port 1 a trunk port.

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

                    What you were doing initially should have worked. VLANs 101 and 201 were trunked out of port1. As long as the Netgear switch was configured to handle those VLANs and was connected to port 1 it should have worked.

                    D 1 Reply Last reply Reply Quote 0
                    • B
                      b3rt
                      last edited by

                      @detox

                      oh, i thought your setup was working again? Did the network gods interfere again (= ?
                      i have this for vlans, mind you it's provisional but working
                      netgate-vlis-sw.png
                      mind you, i have pfsense setup a dhcp server for each vlan so the clients get their appropriate ips

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        detox @stephenw10
                        last edited by

                        @stephenw10 Am setting the Netgate2100 back to factory again and try again... One question that came to mind.... On the Interface/switch/VLANS page where the check box for Enable 802.1q is... when I set that... do I need to to add in the system default VLANS (4081/82/82/84)? I really do not need 4 separate ports, I will only be using port 1 as my connection to web. All ports for appliances will be handled by my TP-link / Netgear switch. This will be configured (as example)

                        port 1 = unifi AP
                        port 2-6 as untagged ports for printer, pc. etc connected to native VLAN (main network) and to IoT / Guest if a hard connection would be needed
                        Port 7 for untagged maintenance connection to firewall (maybe)
                        port 8 = Trunk/uplink to PfSense 2100 socket 1

                        Thanks

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

                          No you don't need to add anything when you enable dot1q mode. It sets the switch VLAN aware but passes untagged to all ports by default.

                          D 2 Replies Last reply Reply Quote 0
                          • D
                            detox @stephenw10
                            last edited by detox

                            @stephenw10 5-VLAN-802-1q-page.png

                            OK reset to default. first thing I did was flip the switch for 802.1q.
                            So my next step is to +Add Tag

                            VLAN tag = 101
                            Description = Staff IoT
                            Members = 1t (switch port on Netgate) and 5t (LAN Uplink)

                            THEN... got Interfaces / assignments / VLANS
                            create VLAN101 as normal
                            Back to Interface assignment page,,, select VLANS.. enable on port (lan) 1 mvneta1

                            Sorry for the repetition,,,, hoping this works but if not, someone may see my mistake

                            and.... I do not touch settings on VLAN 1 correct?

                            1 Reply Last reply Reply Quote 0
                            • D
                              detox @stephenw10
                              last edited by

                              @stephenw10 I think it is time for a Happy Dance!
                              Do not know what I did differently, but, under you sage wisdom and tutelage, it is working!!!

                              Now I will save config and start on firewall rules.

                              Question regarding this..... currently with the only rule being "all pass" I can ping to each net.... 192.168.101 / 201.1
                              On the Interfaces / Switch / VLAN is shows VLAN 1 with all ports as members of
                              "Default System VLAN"

                              To prevent hopping from one LAN to another, just create an alias blocking all 'other' networks instead of removing members from Default VLAN?

                              Thanks again for your help!!

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

                                You don't need to worry about VLAN1 there, traffic on that is already isolated from the other VLANs.

                                It's better to pass only what you need to rather than block a big list of things. But either way will work.

                                1 Reply Last reply Reply Quote 0
                                • D
                                  detox @b3rt
                                  last edited by

                                  @b3rt Re-reading your responses and saw the ports being used in the photo... just wanted to confirm what I am seeing..............
                                  VLAN 20 = ports used are 1 and 5, both tagged,, maybe port 1 is AP and port 5 is uplink?

                                  VLAN 10 = ports 1;2;3;5 all tagged using static IP? maybe printer, NAS etc? port 5 is uplink?

                                  VLAN 1 = ports 4, 5 port 4 for maintenance laptop and 5 uplink?

                                  If I am correct, then this shows I can remove all ports on Native VLAN except for uplink / Trunk (port 5)?

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