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

    Guest Wi-Fi on various VLANs not getting DHCP addreses

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    17 Posts 7 Posters 1.6k 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.
    • B
      bhjitsense
      last edited by

      What type of switch are you using? You'll need to create each of these VLANs on the switch in order for this to work. It can't forward traffic on a VLAN it does not know about.

      JKnottJ 1 Reply Last reply Reply Quote 1
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by johnpoz

        Exactly... You would need to tag those vlans on the port connected to pfsense lan... And also they would need to be tagged on the port your AP is connected too.

        What AP are you using? What switch are you using?

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        A 1 Reply Last reply Reply Quote 1
        • G
          gjaltemba @awsiemieniec
          last edited by

          @awsiemieniec
          Check the dhcp log for the usual discover, offer, request and ack messages to see where it drops off. I had a similar problem and it was a problem with the AP.

          1 Reply Last reply Reply Quote 1
          • JKnottJ
            JKnott @bhjitsense
            last edited by

            @bhjitsense said in Guest Wi-Fi on various VLANs not getting DHCP addreses:

            What type of switch are you using? You'll need to create each of these VLANs on the switch in order for this to work. It can't forward traffic on a VLAN it does not know about.

            He's set up VLANs on pfSense and also on the AP. A managed switch should pass all VLANs, through trunk ports, without further configuration. However, specific VLANs may be blocked. Of course, if an unmanaged switch is used, it would be transparent to VLANs.

            However, as mentioned above, more info about the switch is needed. Running Wireshark may also help.

            PfSense running on Qotom mini PC
            i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
            UniFi AC-Lite access point

            I haven't lost my mind. It's around here...somewhere...

            1 Reply Last reply Reply Quote 1
            • A
              awsiemieniec @heper
              last edited by

              @heper Thank you for all the ideas.

              Switches are multiple UniFi managed, PoE 24-port switches as seen here: https://www.ubnt.com/unifi-switching/unifi-switch-poe/

              One plus which is also sometimes a hardship, is that all the UniFi devices play well together - like a Mac. A lot of the "under the hood" configuration settings are hidden from the tech; you make a change within the management systems and the management system puts that change on the device(s) that needs it. Everything on the LAN is UniFi with the exception of the pfSense firewall.

              H 1 Reply Last reply Reply Quote 0
              • A
                awsiemieniec @johnpoz
                last edited by

                @johnpoz The APs are UniFi AP-AC-Pro (https://www.ubnt.com/unifi/unifi-ap-ac-pro/) and a few of the AC-Mesh units (https://unifi-mesh.ubnt.com/#products)

                1 Reply Last reply Reply Quote 0
                • H
                  heper @awsiemieniec
                  last edited by

                  @awsiemieniec thank you for providing great insight into the network

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator
                    last edited by

                    I run unifi AP.. So I know those work and no issues with tagged vlans and ssid. I run them myself..

                    But if your not seeing dhcp discover on pfsense vlan interface then is your switch config. You prob get good support over on their forums..

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      awsiemieniec @johnpoz
                      last edited by

                      @johnpoz Ok. So with what I've shown on the pfSense side, do you think I've set it up right? I didn't miss something obvious, right?

                      I'll check out the UniFi support next. They are pretty good but I like the pfSense people better. :)

                      @jknott All of the unmanaged switches have been removed from the LAN.

                      1 Reply Last reply Reply Quote 0
                      • DerelictD
                        Derelict LAYER 8 Netgate
                        last edited by

                        Whatever switch port you connect to re1 neets to be untagged on whatever VLAN LAN is and tagged on VLANs 10, 20, 30, and 40. That's pretty much all there is to it. Everything else is done with the right VLAN tags throughout your switching and wireless gear.

                        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
                        • A
                          awsiemieniec
                          last edited by awsiemieniec

                          Found the solution. I had missed creating the VLAN networks within the UniFi system. Whoops.

                          UniFi support always told me to not ever change the "Networks" tab if you don't have their firewall device. So I didn't think about adding the VLANs here. Good to know.

                          0_1542088693062_Networks.PNG

                          1 Reply Last reply Reply Quote 0
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator
                            last edited by johnpoz

                            You do not need to do that when all you have is the APs... But that prob lets the switches know about the vlans ;)

                            How exactly did you set the switch ports to tagged if you handn't created the vlans? With wifi you just set it in the wifi setup

                            0_1542101221915_vlansssid.png

                            When I was running USG you had to have your vlans setup there.. But with pfsense you do not need those when no unifi switches.

                            0_1542101403281_networks.png

                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                            If you get confused: Listen to the Music Play
                            Please don't Chat/PM me for help, unless mod related
                            SG-4860 24.11 | Lab VMs 2.8, 24.11

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              awsiemieniec @johnpoz
                              last edited by

                              @johnpoz Like what you show in your image of the wireless networks, I had already setup VLANs for the various SSIDs but I wasn't getting any DHCP traffic to my pfSense (except for on the management VLAN).

                              First thing the UniFi tech had me check on was what was the port type set to in <switch>, properties, port #, Switch Port Profile and make sure it was set to "ALL" (their version of trunk). It already was set to that value.

                              Then he had me navigate to settings, networks and said "whoa! there's the problem". He explained that I need to setup VLAN-Only networks so the switches would be aware of them. So did that and voila!~

                              Hope that helps explain some.
                              0_1542156095021_Untitled1.png

                              1 Reply Last reply Reply Quote 0
                              • johnpozJ
                                johnpoz LAYER 8 Global Moderator
                                last edited by

                                Which is exactly what I was saying ;)

                                An intelligent man is sometimes forced to be drunk to spend time with his fools
                                If you get confused: Listen to the Music Play
                                Please don't Chat/PM me for help, unless mod related
                                SG-4860 24.11 | Lab VMs 2.8, 24.11

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