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

    Not getting proper DHCP IP based on VLAN

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    10 Posts 4 Posters 1.4k 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.
    • S
      SquareJ
      last edited by

      Netgear WAX620 with SSID on VLAN40 gets VLAN1 IPs. Clearly I messed up something in the configs in spite of me attempting to fix over the last 3 days.....please correct me.

      AP -> Bottom switch -> Top switch ->pfSense
      All connections have VLAN40 tagged and I think I have configured pfSense properly but again I know I've missed something. Any help would be greatly appreciated.

      Overall connectivity
      Connectivity.png

      Top Switch config
      TopSwitchPorts.png
      TopSwitchVLANTags.PNG

      Bottom Switch config
      BottomSwitchPorts.png
      BottomSwitchVLANTags.PNG

      Packet capture from WAX620

      Request
      AP_ETH1CaptureRequestVLAN40.PNG

      Offer
      AP_ETH1CaptureOfferVLAN1.PNG

      pfSense configuration
      pfSenseInterfaces.png
      pfSenseDHCPServer.png
      pfSenseVLANs.png

      pfSenseSwitch.png
      pfSensefFirewall.png

      S 1 Reply Last reply Reply Quote 0
      • S
        SquareJ @SquareJ
        last edited by

        SOLVED

        No where have i seen i needed to tag both ports 1 and 5 but that's what it took to issue IPs on VLAN40. Ignore the others, i have not fixed them yet.

        WorkingpfSenseVLANs.png

        R johnpozJ 2 Replies Last reply Reply Quote 0
        • R
          rcoleman-netgate Netgate @SquareJ
          last edited by rcoleman-netgate

          @squarej Well if VLAN 40 is tagged on the recipient devices... then you need it tagged on 1.

          All VLANs must be tagged on port 5 on your 2100 to get access from the pfSense.

          Additionally much of you internet traffic is UDP -- you only pass TCP you will be keeping things like video and VOIP from working reliably.

          VLAN30 will not connect to the pfSense as it is not TAGGED on port 5. Neither will VLAN 20.

          As for the instructions... it's right there on step 19:
          https://docs.netgate.com/pfsense/en/latest/solutions/netgate-2100/configuring-the-switch-ports.html
          efc55af8-a6be-4831-aa7c-3732a8bfc7f6-image.png

          Ryan
          Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
          Requesting firmware for your Netgate device? https://go.netgate.com
          Switching: Mikrotik, Netgear, Extreme
          Wireless: Aruba, Ubiquiti

          S 1 Reply Last reply Reply Quote 0
          • R rcoleman-netgate moved this topic from L2/Switching/VLANs on
          • S
            SquareJ @rcoleman-netgate
            last edited by

            @rcoleman-netgate

            Funny, we must have been typing at the same time.

            Thank you for the link. I had found mention of needing to add 5 tagged but what's weird is I haven't seen anything that says I need to also add 1 tagged. I tried all variations: 1, 1t, 5, 5t, 1 & 5, 1t & 5, 1 & 5t and the only one that works is 1t & 5t.

            Perhaps its due to a less than optimally configured switch in the mix.

            Thanks for pointing out the firewall rule * other tagging issues, all have been updated once I started to get the proper IPs and life is good.

            Thank you

            R 1 Reply Last reply Reply Quote 0
            • R
              rcoleman-netgate Netgate @SquareJ
              last edited by

              @squarej said in Not getting proper DHCP IP based on VLAN:

              I haven't seen anything that says I need to also add 1 tagged

              That's in your end device... a switch or AP if it is on a VLAN it has to be tagged on it's landing spot. You won't find that in our Docs, that's 1000% independent of pfSense.

              Ryan
              Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
              Requesting firmware for your Netgate device? https://go.netgate.com
              Switching: Mikrotik, Netgear, Extreme
              Wireless: Aruba, Ubiquiti

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

                @squarej why would you be trying to tag vlan 1?

                Vlan 1 is a switches default vlan that native and untagged. If you want a vlan tagged for some use - then use a different vlan ID other than 1..

                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

                R 1 Reply Last reply Reply Quote 0
                • R
                  rcoleman-netgate Netgate @johnpoz
                  last edited by

                  @johnpoz said in Not getting proper DHCP IP based on VLAN:

                  why would you be trying to tag vlan 1?

                  They were tagging switchport 1 as a VLAN (in this case VLAN 10).

                  Ryan
                  Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                  Requesting firmware for your Netgate device? https://go.netgate.com
                  Switching: Mikrotik, Netgear, Extreme
                  Wireless: Aruba, Ubiquiti

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

                    @rcoleman-netgate said in Not getting proper DHCP IP based on VLAN:

                    They were tagging switchport 1 as a VLAN (in this case VLAN 10).

                    No that is not what they show.

                    tag.jpg

                    They also show tagged vlan 1, with a PVID as 1..

                    Tagging vlan 1 is going to be problematic - you shouldn't be tagging vlan 1, this is switches default untagged/native vlan ID.. If your tagging it - your doing it wrong ;)

                    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

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      rcoleman-netgate Netgate @johnpoz
                      last edited by

                      @johnpoz ahh well, that. OK. I was looking at the one that was only port 1 and 5... ¯_(ツ)_/¯

                      Ryan
                      Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                      Requesting firmware for your Netgate device? https://go.netgate.com
                      Switching: Mikrotik, Netgear, Extreme
                      Wireless: Aruba, Ubiquiti

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        VLAN1 untagged on every port would be fine. What's definietly not fine is having more than one VLAN untagged on any port such as VLAN20 is there.

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