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

    Can’t get guest WiFi VLAN to serve up IPs

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    10 Posts 3 Posters 1.3k 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
      DominikHoffmann
      last edited by

      I have set up a VLAN intended to be used by guests who connect to a secondary SSID guest network.

      When I connect to the guest SSID, my host does not receive an IP address from the DHCP server, and I don’t understand, why.

      I have taken these configuration steps:

      Screen Shot 2021-10-20 at 11.27.39 PM.png

      Screen Shot 2021-10-20 at 11.35.31 PM.png

      Screen Shot 2021-10-20 at 11.40.57 PM.png

      … and on my EnGenius EWS357A:

      Screen Shot 2021-10-20 at 11.42.09 PM.png

      I am missing something. I just don’t know what. Any help would be very much appreciated.

      NogBadTheBadN 1 Reply Last reply Reply Quote 0
      • NogBadTheBadN
        NogBadTheBad @DominikHoffmann
        last edited by NogBadTheBad

        @dominikhoffmann Does it work when you connect a pc directly to a port that is untagged in VLAN 11?

        Do you see DHCP requests when doing a packet capture on VLAN 11?

        Andy

        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

        D 2 Replies Last reply Reply Quote 0
        • D
          DominikHoffmann @NogBadTheBad
          last edited by

          @nogbadthebad: Every time I see the suggestion to do a packet capture, I get the hives. I’ll see what I can do, when I get home.

          In the meantime, I was able to change the subnet mask of the POE switch’s IP address to include the VLAN 11 subnet. The POE switch is a managed switch which powers the APs. Wired hosts on that physical subnet, which is plugged into the pfSense’s OPT port, get their addresses from a DHCP server serving up 192.168.4.x addresses. The switch has an address on that subnet.

          The VLAN is supposed to receive addresses in the 192.168.11.x. I therefore shortened the subnet mask of the switch to 255.255.240.0 with the thought that it would possibly that way let traffic on the 192.168.11.x subnet pass. Again, I will try that first, when I get home.

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

            @dominikhoffmann said in Can’t get guest WiFi VLAN to serve up IPs:

            Every time I see the suggestion to do a packet capture, I get the hives.

            Why its as simple as diagnostic menu - packet capture. And put in some stuff, like what interface, what you looking to capture, etc..

            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
            • D
              DominikHoffmann @NogBadTheBad
              last edited by

              @nogbadthebad: The packet capture on the interface GuestWiFiVLAN was completely empty.

              johnpozJ D 2 Replies Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator @DominikHoffmann
                last edited by johnpoz

                @dominikhoffmann well dhcpd can not offer up an address if it never sees the discover or the request.. So you need to figure out why dhcp (pfsense) is never seeing the traffic.

                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
                • D
                  DominikHoffmann @DominikHoffmann
                  last edited by

                  Getting closer to setting it up properly.

                  Screen Shot 2021-10-21 at 11.46.33 PM.png

                  From that I learned that the switch internal to the Netgate 1100 (formerly SG-1100) has a trunk Port 0, and OPT, where my access points are connected, is Port 1.

                  Therefore, on the VLAN tab:

                  Screen Shot 2021-10-21 at 11.51.25 PM.png

                  I had to add the VLAN Tag 11. I had to add “0” and “1” as members and make sure that they are tagged. The way I understand this is that this routes packets with Tag 11 to both Port 0 and Port 1.

                  Then I had to do something equivalent on my Netgate switch.

                  Screen Shot 2021-10-21 at 11.54.59 PM.png

                  Tag 1 is the default for untagged traffic. I had to add a Tag 11 and then add the trunk port (Port 8) and the ports with my access points (Port 2–4) as members of the VLAN 11 tag.

                  Now, when I have my computer hop on the guest network, it gets a 192.168.11.x address. Yippee!

                  I still don’t have connectivity to the Internet through the guest network, though, but I suspect that is a question of configuring the firewall.

                  1 Reply Last reply Reply Quote 0
                  • D
                    DominikHoffmann
                    last edited by

                    So, it was indeed the firewall rules. I followed the example given by @DERELICT in the thread Guest Network Firewall Rules, and I am now a happy camper.

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

                      @dominikhoffmann Have no idea what you did or think you did - but firewall rules have ZERO to do with seeing anything via sniff..

                      Yes you would need firewall rules to allow access to the internet, etc. - but not needed for dhcp to work, etc.

                      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

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        DominikHoffmann @johnpoz
                        last edited by

                        @johnpoz: I agree with you completely, and that’s exactly what I encountered. Once I had worked out the tagging on the various SG-1100 and switch ports, DHCP was working. It then required a better set of firewall rules to get out to the internet.

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