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

    DHCP on VLAN

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    25 Posts 6 Posters 1.9k 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.
    • J
      JustSumDad @A Former User
      last edited by

      @silence said in DHCP on VLAN:

      @justsumdad said in DHCP on VLAN:

      DHCP seems to be an issue.

      please answer my previous question dhcp relay or dhcp server in pfsense ?

      Sorry, pfSense is the DHCP server, there is no DHCP relay in the network at all.

      The lan DHCP is takeing place in the Windows server.

      The VLAN DHCP server is takeing place in pfSense.

      1 Reply Last reply Reply Quote 0
      • J
        JustSumDad @viragomann
        last edited by

        @viragomann said in DHCP on VLAN:

        @justsumdad
        So the VLAN should work.

        To investigate, sniff the traffic on the VLAN interface (Diagnostic > Packet capture).
        Set a port filter:

        57|58
        

        to catch only DHCP packets.

        Start the capture and connect a client to the VLAN. Then see what you get.

        Nothing, no packets appear. I did an ipconfig /renew on the laptop that is connected while the capture was on:
        27fa75bd-5b70-4894-ab93-d85d57ecf185-image.png

        ? V 2 Replies Last reply Reply Quote 0
        • ?
          A Former User @JustSumDad
          last edited by

          @justsumdad, configure a dhcp relay to your dhcp server in windows server?

          Disable DHCP Server in pfsense.

          J 1 Reply Last reply Reply Quote 0
          • V
            viragomann @JustSumDad
            last edited by

            @justsumdad
            Oh, sorry, I was wrong. We need port 67|68.
            I'll correct it above.

            J 1 Reply Last reply Reply Quote 0
            • J
              JustSumDad @A Former User
              last edited by

              @silence
              not sure how to tag a DHCP to a vlan in windows.
              Will look into it, but if pfSense cant do it, I expect that would bring more issues into the mix.

              ? 1 Reply Last reply Reply Quote 0
              • J
                JustSumDad @viragomann
                last edited by

                @viragomann said in DHCP on VLAN:

                @justsumdad
                Oh, sorry, I was wrong. We need port 67|68.
                I'll correct it above.

                I just got a nasty ph call from the boss, had to whip up a temp guest wifi from our backup ISP via a small USG I have in stock for satellite offices.
                told to keep my paws off till after hours for now.

                will pick this up another day :(

                Thanx for the assist thus far everyone!

                1 Reply Last reply Reply Quote 0
                • S
                  SteveITS Rebel Alliance @JustSumDad
                  last edited by

                  @justsumdad You could try setting up a PC on VLAN 30 with a static IP to verify it can ping the pfSense IP. That would at least verify communication.

                  Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                  When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
                  Upvote šŸ‘ helpful posts!

                  ? bingo600B 2 Replies Last reply Reply Quote 0
                  • ?
                    A Former User @SteveITS
                    last edited by

                    @steveits said in DHCP on VLAN:

                    try setting up a PC on VLAN 30 with a static IP to verify it can ping the pfSense IP

                    Excuse me but if you can read above @JustSumDad He said he already did that.

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @JustSumDad
                      last edited by

                      @justsumdad said in DHCP on VLAN:

                      not sure how to tag a DHCP to a vlan in windows.

                      Pfsense if you can, I only suggested you since you have a dchp server that will handle all dhcp on your server.

                      But if you want to do the dhcp of the vlan in pfsense then you can do it, it just seems to me that you are misconfiguring your DHCP

                      1 Reply Last reply Reply Quote 0
                      • bingo600B
                        bingo600 @SteveITS
                        last edited by

                        @steveits said in DHCP on VLAN:

                        @justsumdad You could try setting up a PC on VLAN 30 with a static IP to verify it can ping the pfSense IP. That would at least verify communication.

                        I concur with @SteveITS
                        Make a Vlan30 switchport , and connect a cabled PC to that port, to see if it gets a DHCP address.

                        The test done above seems to be made via WiFi , and could have other (yet unsolved pitfalls).

                        /Bingo

                        If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                        pfSense+ 23.05.1 (ZFS)

                        QOTOM-Q355G4 Quad Lan.
                        CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                        LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

                        ? 1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @bingo600
                          last edited by A Former User

                          @bingo600 said in DHCP on VLAN:

                          Make a Vlan30 switchport , and connect a cabled PC to that port, to see if it gets a DHCP address.

                          wtf.... @bingo600 read comment from
                          @JustSumDad clearly your vlan works. your dhcp is not configured.

                          @justsumdad said in DHCP on VLAN:

                          I really belive it is passing VLAN tags, if I set a static IP on the wifi test client it does get access to the internet.

                          bingo600B 1 Reply Last reply Reply Quote 0
                          • bingo600B
                            bingo600 @A Former User
                            last edited by

                            @silence
                            Would you please behave ...
                            Seems like ie. DHCP Snooping is not in your mindset.

                            If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

                            pfSense+ 23.05.1 (ZFS)

                            QOTOM-Q355G4 Quad Lan.
                            CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                            LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

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

                              @justsumdad said in DHCP on VLAN:

                              I am running the pfSense virtualized.

                              And are you passing the tags to pfsense via 4095 set on your vswitch..You say your running vmware (esxi?)

                              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

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