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

PFsense with VLANs > Brocade switch > Devices and Unifi Controller/APs

Scheduled Pinned Locked Moved L2/Switching/VLANs
26 Posts 5 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.
  • F
    flat4
    last edited by Oct 12, 2022, 7:56 PM

    I my me be wrong but you also need a statement in the switch telling it where to look for the DHCP server

    i.e
    conf t
    int vlan 31
    ip helper-address 10.2.20.20

    1 Reply Last reply Reply Quote 0
    • J
      Jarhead @dabdad
      last edited by Oct 12, 2022, 8:36 PM

      @dabdad said in PFsense with VLANs > Brocade switch > Devices and Unifi Controller/APs:

      I cant for the life of my figure out why my tagged VLAN ports and WIFI SSID's are not getting an IP.

      Because they're tagged. They should be untagged.
      You only tag a port if it's connected to another tagged port.
      So unless you tag all of your devices (ie pc's), you need untagged ports.

      A 1 Reply Last reply Oct 12, 2022, 9:26 PM Reply Quote 0
      • A
        AndyRH @Jarhead
        last edited by Oct 12, 2022, 9:26 PM

        @jarhead I am not sure this is correct. I cannot untag any of my ports (Aruba switch). I set the native VLAN so untagged hosts have some help getting the packet to the right place.
        My setup is not that different from the OP. More than one SSID, each on a different VLAN. Mine is not running as a VM, which others stated might be where the issue lies.

        o||||o
        7100-1u

        J 1 Reply Last reply Oct 12, 2022, 9:54 PM Reply Quote 0
        • J
          Jarhead @AndyRH
          last edited by Oct 12, 2022, 9:54 PM

          @andyrh If a port is tagged with a vlan, whatever you plug into that port needs to be tagged also. That's not debatable, it's fact.

          A D 2 Replies Last reply Oct 12, 2022, 10:19 PM Reply Quote 0
          • D
            dabdad @keyser
            last edited by Oct 12, 2022, 10:07 PM

            @keyser I added 2 more Network Adapters within HyperV both with the corresponding VLAN tag.
            686449ac-e374-42d2-9e18-934c33e66dd2-image.png
            660ee3aa-0034-426f-887b-a6f3d735a902-image.png

            I'm still not getting IP resolution the tagged Ports.

            1 Reply Last reply Reply Quote 0
            • D
              dabdad @keyser
              last edited by Oct 12, 2022, 10:13 PM

              @keyser I also adjusted the VLAN parent interface and Interface assignments..
              3ea7921a-256c-4fc6-b856-b01a257acc37-image.png

              J 1 Reply Last reply Oct 12, 2022, 10:18 PM Reply Quote 0
              • J
                Jarhead @dabdad
                last edited by Oct 12, 2022, 10:18 PM

                @dabdad So now you have enough physical interfaces, why use vlans at all??
                Just assign the IP's to the interface itself and connect them to your switch where the ports would be untagged with each vlan.

                J 1 Reply Last reply Oct 12, 2022, 10:20 PM Reply Quote 0
                • A
                  AndyRH @Jarhead
                  last edited by Oct 12, 2022, 10:19 PM

                  @jarhead I guess my switch is different or it is working despite the inability to untag a port. I set it up with advice from the Cisco certified network guys at work.

                  Screenshot 2022-10-12 171304.png
                  The PC I am typing this on is on a port in the default (should have renamed it) profile and the PC certainly is not tagged.

                  What is the purpose of the native VLAN setting? One of my multi VLAN APs has 4 VLANs and the native VLAN is set to my primary VLAN so the dumb switch behind it (the AP has a passthrough port) with it's untagged hosts will be on the primary VLAN.

                  o||||o
                  7100-1u

                  1 Reply Last reply Reply Quote 0
                  • D
                    dabdad @Jarhead
                    last edited by Oct 12, 2022, 10:19 PM

                    @jarhead I've never had to "tag" a device when plugging it into a tagged port. the device tries for an IP, appropriate routing rules and such direct the traffic for the device to the appropriate DHCP server and gets the appropriate IP per that tagged VLAN and port.

                    my ports are tagged
                    my vswitch in hyperv is tagged
                    VLANs within pfsense are tagged
                    DHCP server with pfsense for the VLANs are running....

                    something i missed please let me know..

                    J 1 Reply Last reply Oct 12, 2022, 10:21 PM Reply Quote 0
                    • J
                      Jarhead @Jarhead
                      last edited by Oct 12, 2022, 10:20 PM

                      @jarhead said in PFsense with VLANs > Brocade switch > Devices and Unifi Controller/APs:

                      @dabdad So now you have enough physical interfaces, why use vlans at all??
                      Just assign the IP's to the interface itself and connect them to your switch where the ports would be untagged with each vlan.

                      Those are untagged except for the AP.

                      D 1 Reply Last reply Oct 12, 2022, 10:26 PM Reply Quote 0
                      • J
                        Jarhead @dabdad
                        last edited by Oct 12, 2022, 10:21 PM

                        @dabdad said in PFsense with VLANs > Brocade switch > Devices and Unifi Controller/APs:

                        @jarhead I've never had to "tag" a device when plugging it into a tagged port. the device tries for an IP, appropriate routing rules and such direct the traffic for the device to the appropriate DHCP server and gets the appropriate IP per that tagged VLAN and port.

                        my ports are tagged
                        my vswitch in hyperv is tagged
                        VLANs within pfsense are tagged
                        DHCP server with pfsense for the VLANs are running....

                        something i missed please let me know..

                        How about this, connect one of your "vlans" to your switch with that vlan untagged on the port. Then untag that same vlan on another switchport and plug a pc into it. It'll work.
                        You don't tag a port unless the device being plugged in is tagged also.

                        1 Reply Last reply Reply Quote 0
                        • D
                          dabdad @Jarhead
                          last edited by Oct 12, 2022, 10:26 PM

                          @jarhead
                          ok hear me out..
                          ignore the fact that 'now' there are multiple interfaces..

                          here is the flow of traffic:
                          Internet > Modem > pfsense with tagged vswitches > pfsense tagged vlans and dhcp servers > brocade switch with tagged ports(i defined the tagged ports above) >Devices/APs

                          The goal is:
                          if i plug a device into the port 12, i get a 172.16.69.x IP.
                          if i plug a device into port 46, i get a 192.168.3.x ip.
                          If i plug a device into port 26 i get a 192.168.1.x IP
                          Currently i get nothing. post 12 and 46 is tagged as i stated in OP.
                          port 26 works because its untagged and i get the native vlan ip scope with no issues..

                          Since when do we need to tag a device? ive NEVER in my entire career had to TAG my PC the same as the VLAN.

                          J 1 Reply Last reply Oct 12, 2022, 10:33 PM Reply Quote 0
                          • J
                            Jarhead @dabdad
                            last edited by Oct 12, 2022, 10:33 PM

                            @dabdad
                            Now that you have enough interfaces, you don't need vlans in pfSense at all.
                            Are you using one virtual switch or one per interface?
                            If one per interface, don't tag anything in the VM.
                            In your brocade, you would untag the ports you want one of the LANs to be one. I think 1-24 was vlan6? So untag vlan 6 on 1-24. Plug port 24 into the correct pfSense interface for that network. That's it. It's no different than your "normal" LAN".
                            If you left it as 1 interface with vlans, you tag the trunk port, then untag any ports you want to use for that vlan.

                            All a vlan does is separate a switch into multiple switches. Why do you think it is any different than any other LAN. All your LAN ports are untagged and they work, right?

                            D 1 Reply Last reply Oct 12, 2022, 10:40 PM Reply Quote 0
                            • D
                              dabdad @Jarhead
                              last edited by Oct 12, 2022, 10:40 PM

                              @jarhead

                              Im a bit perplexed on how you think this should be setup..
                              You're saying i need to tag my devices that connect to a port on the switch..which ive never had to do before.
                              you are also saying to untag my ports..but then how would the appropriate IPs be assigned?
                              Are you aware that i stated i have a 2 port pcie network card. slot for WAN and slot 2 of LAN?
                              the additional interfaces are only showing because i added the same vswitch interface with a VLAN on them, therefore PFsense see's these are multiple interfaces...these are NOT physical ports..

                              J 1 Reply Last reply Oct 12, 2022, 10:46 PM Reply Quote 0
                              • J
                                Jarhead @dabdad
                                last edited by Oct 12, 2022, 10:46 PM

                                @dabdad No, I said if you tag a switchport, whatever you plug into that port needs to be tagged also. So in your original config, you had ports 1-24 tagged. The only way to use those ports would be if your pc's were also tagged.

                                Google trunk port and access port.
                                A trunk port carries multiple vlans. The only way to separate those vlans on a single port is by tagging.
                                An access port carries one vlan, and it's untagged.
                                Devices like pc's connect to access ports 9 out of ten times, because the pc's interface isn't tagged.

                                So go back to your original config.
                                Add the vlans to the LAN. Connect that interface back to port 25. Make port 25 a trunk port with the vlans tagged and your LAN untagged.
                                Then untag port 1 as vlan6. Plug a pc into it and it will get an IP in vlan6's network.
                                Providing your vSwitch is correct of course.

                                D 1 Reply Last reply Oct 12, 2022, 10:51 PM Reply Quote 0
                                • D
                                  dabdad @Jarhead
                                  last edited by Oct 12, 2022, 10:51 PM

                                  @jarhead
                                  bruh, i dont think you read my OP completely..
                                  Port 25 is trunked to ALL VLANs.....
                                  45e5a32c-c3cf-42aa-a53b-36b42a0c6b60-image.png

                                  J 1 Reply Last reply Oct 12, 2022, 10:54 PM Reply Quote 0
                                  • J
                                    Jarhead @dabdad
                                    last edited by Oct 12, 2022, 10:54 PM

                                    @dabdad No, I read it.
                                    You're not understanding how vlans work.
                                    Port 25 is your trunk port. It carries all your vlans to your switch. Once they're there, you don't need any other ports tagged unless you're carrying multiple vlans to another device.
                                    Just untag ports 1-24 and plug a pc into one of them.

                                    D 1 Reply Last reply Oct 12, 2022, 11:05 PM Reply Quote 0
                                    • D
                                      dabdad @Jarhead
                                      last edited by dabdad Oct 12, 2022, 11:09 PM Oct 12, 2022, 11:05 PM

                                      @jarhead

                                      Devices connected to Untagged ports 26-45(default VLAN 1) get a 192.168.1.x IP.
                                      devices connected to ports 1-24 should get a 176.16.69.x IP..
                                      devices connected to ports 46 and 47 should get a 192.168.3.1 IP..

                                      if i untag port 1, then ill get an IP of 192.168.1.x which is not what we want..

                                      I'm sorry but maybe i'm misunderstanding when you say that my PC needs to be tagged. again ive never had to tag a PC and connect it to a port with the same tag in order for traffic to flow. Pc requests an IP when connected, The switch knows what VLAN its on, it communicates via the Trunked port(25) with that 'tagged' traffic to pfsense, pfsense see the tagged traffic as assigns an appropriate IP..

                                      Please school me, im curious to your methods..

                                      J 1 Reply Last reply Oct 12, 2022, 11:14 PM Reply Quote 0
                                      • J
                                        Jarhead @dabdad
                                        last edited by Oct 12, 2022, 11:14 PM

                                        @dabdad You have to untag it with vlan 6. You're untagging it with vlan1.

                                        There should be a pvid setting in your switch. For ports 1-24 the pvid should be 6.
                                        If you use the cli of your switch the command's are here
                                        https://www.alteeve.com/w/Configuring_Brocade_Switches#Configure_VLAN

                                        D 1 Reply Last reply Oct 13, 2022, 1:52 AM Reply Quote 0
                                        • D
                                          dabdad @Jarhead
                                          last edited by Oct 13, 2022, 1:52 AM

                                          @jarhead said in PFsense with VLANs > Brocade switch > Devices and Unifi Controller/APs:

                                          https://www.alteeve.com/w/Configuring_Brocade_Switches#Configure_VLAN

                                          VLANs per console layout:
                                          a239e7f6-7e9a-4e49-bfd4-8b1e32a00412-image.png

                                          port 25 is tagged in each vlan

                                          drilling into port 24 within the GUI:
                                          1efd274e-a0a3-4496-bb1e-2bd1f048df54-image.png

                                          it says VLAN 6 and registered as tagged.

                                          I'm not seeing any issues with the switch

                                          D 1 Reply Last reply Oct 13, 2022, 3:56 AM Reply Quote 0
                                          22 out of 26
                                          • First post
                                            22/26
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received