Navigation

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

    [Solved]Setup 2 VLAN in 1 port on Existing Network

    General pfSense Questions
    2
    5
    308
    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.
    • G
      ghinthsh last edited by

      Hello pfsense community.

      I want to add new Wireless VLAN network to an existing network using the existing switch.

      pfSense re1 > Managed Switch (DGS-1012-52) Port 45 >> 3 Ubiquiti AP AC HD Port 39,41,43    -&-    Unifi Controller PC Port 47

      • pfSense:
          created two VLANs and assigned them to re1
                Employee: Tag=20, Priority=0
                Guest: Tag=40, Priority=0
          Enabled each VLAN interface, assigned them static IPs, and enabled each of their DHCP servers accordingly
                Employee: 192.168.20.1/24
                Guest: 192.168.40.1/24
          Added Firewall Rules to the Employee & Guest Interface
                For now to ensure rules aren't the issue, it's an allow anything rule

      • Switch (DGS-1210-52 (192.168.0.10)):

      i am trying to used the existing managed switch for the new vlan network.

      Enabled 802.1Q VLANs
                VLAN  1: Default VLAN/Members: 1-52/Tagged:-/Untagged: 01-38 ,40 ,42 ,44 ,46 ,48-52

      VLAN 20: Employee/Members: 39,41,43,45,47/Tagged:39,41,43,45/Untagged:47

      VLAN 40: Guest/Members: 39,41,43,45,47/Tagged:39,41,43,45/Untagged:-

      I setup WiFi SSID's for the Employee VLAN and the Guest VLAN. The Unifi AP is on port 39, 41 & 43. The unifi controller on my desktop on port 47 but i cannot ping any ap nor get dhcp on when connected to both ssid's.

      please help me. thanks in advance

      PS:

      I based my post to this thread the only differences are I setup it on existing network.

      https://forum.pfsense.org/index.php?topic=129420.0

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

        so you have 2 switches?  Looks like you have 2 where is the uplink between switches settings?

        Also you don't seem to have any tagged vlans on the ports your AP are connected to or controller?

        Until recent updates AP do not support tagged vlans for management, etc. so they need to be an untagged vlan.  1 in your case?

        1 Reply Last reply Reply Quote 0
        • G
          ghinthsh last edited by

          @johnpoz:

          so you have 2 switches?  Looks like you have 2 where is the uplink between switches settings?

          Yes, Switch 1 Port 48 is connected to Switch 2 Port 48. Only 5 ports available on switch 1 which are 39,41,43,45,47
          @johnpoz:

          Also you don't seem to have any tagged vlans on the ports your AP are connected to or controller?

          I preconfigured the 3 AP to the existing 192.168.0.0/24 network  . I am planning to use port 47 for unifi controller access.
          @johnpoz:

          Until recent updates AP do not support tagged vlans for management, etc. so they need to be an untagged vlan.  1 in your case?

          sorry i am still new to vlan so i cant understand.

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

            "The Unifi AP is on port 39, 41 & 43"

            Then vlan 1 if that is your 192.168.0/24 network needs to be untagged on these ports if you want to be able to talk to them, same with your controller it needs to be on a port that is untagged.

            if your going to want to use vlans between switches then the ports connecting them should carry all your vlans tagged..

            1 Reply Last reply Reply Quote 0
            • G
              ghinthsh last edited by

              @johnpoz:

              "The Unifi AP is on port 39, 41 & 43"

              Then vlan 1 if that is your 192.168.0/24 network needs to be untagged on these ports if you want to be able to talk to them, same with your controller it needs to be on a port that is untagged.

              if your going to want to use vlans between switches then the ports connecting them should carry all your vlans tagged..

              thanks johnpoz it worked  :)

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Products

              • Platform Overview
              • TNSR
              • pfSense
              • Appliances

              Services

              • Training
              • Professional Services

              Support

              • Subscription Plans
              • Contact Support
              • Product Lifecycle
              • Documentation

              News

              • Media Coverage
              • Press
              • Events

              Resources

              • Blog
              • FAQ
              • Find a Partner
              • Resource Library
              • Security Information

              Company

              • About Us
              • Careers
              • Partners
              • Contact Us
              • Legal
              Our Mission

              We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

              Subscribe to our Newsletter

              Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

              © 2021 Rubicon Communications, LLC | Privacy Policy