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

    [SOLVED] Wireless station (client) acquires unexpected IP address (DHCP)

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    solved
    6 Posts 2 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.
    • R
      regexaurus
      last edited by regexaurus

      We use pfSense to handle DHCP for a couple of VLANs, configured similar to the following:

      Guests: 192.168.15.0/24 (VLAN ID 15)
      IOT: 192.168.25.0/24 (VLAN ID 25)

      In pfSense, the Guest interface is assigned as VLAN 15 on em02 and the IOT interface is assigned as VLAN 25 on em02. em02 is patched to a UniFi switch port that is assigned a trunk port profile tagged on VLANs 15 and 25 and no native network. These VLANs are defined as networks in our UniFi controller and the networks are associated with separate wireless networks (SSIDs). Daisy-chain/uplink ports between switches and switch ports for access points are assigned network port profile All.

      When I connect a wireless (Android) device to the IOT network, it indicates "Connected, no Internet." I noticed the device is acquiring a 192.168.15.x address (Guests VLAN) instead of a 192.168.25.x address (IOT VLAN) as expected. It seems like I'm missing something basic, but I'm currently stumped. 🤔 Any suggestions?

      A 2 Replies Last reply Reply Quote 0
      • A
        akuma1x @regexaurus
        last edited by akuma1x

        @regexaurus To help us help you, I know it sounds stupid, but you're problably gonna have to put up a screenshot of your VLAN settings on the pfsense box. Probably on the unifi switch, too. Just keep in mind, if it's a unifi switch problem, you might have to put your post on their help forum as well.

        Something like this...

        screenshot876598.png

        R 1 Reply Last reply Reply Quote 0
        • R
          regexaurus @akuma1x
          last edited by regexaurus

          @akuma1x

          OK, here are some screenshots to show our set up. Port 2 in the final screenshot below is patched to em2 on our pfSense system.

          alt text
          alt text
          alt text
          alt text
          alt text
          alt text
          alt text
          alt text

          1 Reply Last reply Reply Quote 0
          • A
            akuma1x @regexaurus
            last edited by

            @regexaurus Really quick - just curious, are you running this in VirtualBox on a Windows PC or something?

            On their list of virtualized platforms, VirtualBox is typically not recommended.

            https://docs.netgate.com/pfsense/en/latest/virtualization/index.html

            R 1 Reply Last reply Reply Quote 0
            • R
              regexaurus @akuma1x
              last edited by regexaurus

              @akuma1x
              We're running pfSense on an x86-architecture Caswell CAR-3030 (badged as a Smoothwall applicance).

              1 Reply Last reply Reply Quote 0
              • R
                regexaurus
                last edited by

                I don't know why a testing device acquired an IP address for the Guests VLAN while connected to a wireless network associated with the IOT VLAN. I tweaked subnet/VLAN settings a little, but still very similar to the settings as described above. The testing device now acquires an IP address in the expected subnet, when connected to the IOT wireless network, so I guess that problem is resolved...
                Even after the device acquired an IP address in the expected subnet, it still had no Internet access. After adjusting outbound NAT, this too was resolved.

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