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

    Assigning clients to VLAN via FreeRadius

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    3 Posts 2 Posters 407 Views 2 Watching
    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 Offline
      NiDeMa
      last edited by

      -WARNING SELF TAUGHT AMATEUR HERE-
      Dear All,
      I am trying to find on the forum and on Google any instructions for assigning specific wifi clients to VLANs that I created. If someone has created a step by step instruction I will be grateful for direction to it.

      I starting to mess with VLANs that I believe I created correctly. Now I would like to connect specific devices via one wifi SSID to a specific VLAN. I only have one wifi router and one interface on pfSense. My idea was to use FreeRadius and possibly a captive portal to assign specific mac addresses to specific VLANs. I have created a short diagram to illustrate what I am trying to do.

      Can anyone confirm to me if this is possible without assigning VLANs to ports in the wifi router? If it is possible I am sure someone has already done it, so there must be something online about it which I haven't been able to find - a hint in the right direction would be useful.

      Thanks!VLAN idea.jpg

      1 Reply Last reply Reply Quote 0
      • N Offline
        NiDeMa
        last edited by

        Anyone can help out?

        1 Reply Last reply Reply Quote 0
        • M Offline
          marvosa
          last edited by marvosa

          I'd say the typical deployment would be to use an AP that is trunked to a managed switch and supports VLANs as well as multiple SSIDs. Once that's in place, you'd configure multiple SSID's and assign those SSID's to various VLANs.

          I am not aware of any solution that would allow you to setup one SSID and drop clients into various VLANs based on their MAC.

          I am also not familiar with the captive portal, but after skimming over the settings it appears you can configure multiple zones and assign them to various interfaces, but I didn't see anything that suggests the functionality you're looking for exists within captive portal.

          However, I did skim over a few posts that suggests Cisco has a solution that may work for you, but it would involve implementing a WLAN controller, a Cisco enterprise-grade AP and configuring an authentication server (e.g. Cisco ISE) that supports dynamic VLAN assignment.

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