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

    Windows 10 not working with pfsense dhcp

    Scheduled Pinned Locked Moved DHCP and DNS
    17 Posts 10 Posters 5.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.
    • M
      markw
      last edited by

      None of our windows 10 machines will accept addresses from pfsense dhcp. They worked with our old dhcp server, ISC dhcp-3.0 on linux. And everything else is working with the pfsense dhcp, windows server, linux, mac, android. Also, this is a HA setup. Is is normal for the backup pf's dhcpd to respond? I seem to see responses from both machines in the logs.

      Here're logs related to one of the windows 10 boxen (nrack2i is the backup pf):
      Dec  9 17:16:56 nrack2i dhcpd: DHCPDISCOVER from 4c:60:de:5d:e3:00 via igb2
      Dec  9 17:16:57 nrack2i dhcpd: DHCPOFFER on 192.168.2.209 to 4c:60:de:5d:e3:00 (markw) via igb2
      Dec  9 17:16:57 nrack2i dhcpd: DHCPREQUEST for 192.168.2.209 (192.168.0.76) from 4c:60:de:5d:e3:00 (markw) via igb2
      Dec  9 17:16:57 nrack2i dhcpd: DHCPACK on 192.168.2.209 to 4c:60:de:5d:e3:00 (markw) via igb2

      OT for this group, but have similar issues with openvpn on windows 10. Works on linux and android clients (haven't tried mac). Windows won't take the IP assignement from openvpn server. Again, it did from my old openvpn server.

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        -1; DHCP works just fine with Windows 10. You clearly have some mess with multiple DHCP servers on your network. Perhaps ditch the CARP until basics are working.

        1 Reply Last reply Reply Quote 0
        • DerelictD
          Derelict LAYER 8 Netgate
          last edited by

          Yes it is completely normal for both DHCP servers to answer queries. That is how a pair of ISC dhcpd servers work.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

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

            ^ as long as they share the db of leases its fine..

            As to windows 10 not getting dhcp.. With dok - works just fine.. Did you block dhcp on its firewall ;)  Clearly pfsense is sending you a offer and then there is even a request for it.. So you got something else going on..

            If there was some issue with pfsense and w10, with such a large % of deployed windows clients.. Don't you think the boards would be screaming with people having issues with dhcp?

            Here is a windows 10 client, just got dhcp from pfsense..  Are you on some new build or something that might have dhcp bug?  This client is prob a bit behind in builds..  Is it ALL of them?  Your not having issues with any other dhcp clients?  If your seeing the ack, and you saw the request.. clearly points to client.. You could sniff it post up the conversation and we could see what is going on.. So does the client just continue to send discover and then request?  What does the client log say?

            Event Viewer
              > Applications and Services Logs
                > Microsoft
                  > Windows
                    > Dhcp-Client
                      > Microsoft-Windows-DHCP Client Events/Admin

            win10clientdhcp.png_thumb
            win10clientdhcp.png

            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
            • jahonixJ
              jahonix
              last edited by

              This is a known problem with Windows 10 and has nothing to do with pfSense.
              Wait for a fix from Redmond, maybe this next patchday?

              https://answers.microsoft.com/en-us/windows/forum/windows_10-networking/problems-connecting-to-the-internet/f121306e-fab5-411d-833f-e4490ecb8b5c

              Try:
                ipconfig /release
                ipconfig /renew
              from Windows cmd

              Do NOT assign a static IP, you might end up with the static and an additional APIPA address and your system happily switching between them all the time.
              Here's a german IT magazin's article about it:  https://heise.de/-3567942

              1 Reply Last reply Reply Quote 0
              • I
                Inq
                last edited by

                Unbelievable, the Microsoft dhcpv6 client is broke since anniversary update. Now they somehow managed to brake the dhcpv4 client.?!

                The problem with making something idiot proof is that the world keeps making better idiots.

                1 Reply Last reply Reply Quote 0
                • jahonixJ
                  jahonix
                  last edited by

                  Security, it's all about security!
                  This is to delivering a more secure experience to the user.

                  Not, you say?

                  1 Reply Last reply Reply Quote 0
                  • K
                    kpa
                    last edited by

                    No problems here at all, my windows 10 machine gets a fully working DHCP lease every time like clockwork.

                    1 Reply Last reply Reply Quote 0
                    • D
                      doktornotor Banned
                      last edited by

                      Well, this clearly is a new M$ low… The problem with some idiotic December hotfix seems so bad that every https://support.microsoft.com/ page displays this banner:

                      (And no, I am NOT hallucinating.)

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

                        Yeah there is article about recent patch that made it worse or sure didn't fix it

                        http://www.infoworld.com/article/3148845/microsoft-windows/windows-10-anniversary-update-bug-drops-wi-fi-connections.html

                        Which is why I asked what build your on, my is older build..

                        Oh its a 1 post wonder - the prob won't even be back.. Guess this is good info for the next shmuck..

                        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
                        • M
                          markw
                          last edited by

                          Found the problem. The DHCP server was configured to hand out a static classless route (code 121) which is now defunct. It turns out some Linux boxes complained about it too but didn't abort the whole IP setting process as Windows 10 did (without saying why of course, just code 0x79).

                          Thanks all.

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

                            Why would you have been using option 121?  that could be used as a work around for clients that are on a transit network to hand them other routes, etc..

                            But to be honest.. This option is one of those rare ones.. Special cases for sure.. Why would you have setup pfsense dhcp to do that vs just standard option 3?  Wouldn't you normally just use option 33 to hand the client static routes?

                            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
                            • B
                              bimmerdriver
                              last edited by

                              Windows 10 DHCPv6 is still broken, as of Version 1607 (Build 14393.576).

                              1 Reply Last reply Reply Quote 0
                              • D
                                doktornotor Banned
                                last edited by

                                @bimmerdriver:

                                Windows 10 DHCPv6 is still broken, as of Version 1607 (Build 14393.576).

                                https://connect.microsoft.com/
                                https://social.technet.microsoft.com/Forums/en-US/home?category=Windows10ITPro

                                1 Reply Last reply Reply Quote 0
                                • MikeV7896M
                                  MikeV7896
                                  last edited by

                                  FYI regarding the Windows 10 Anniversary DHCPv6 renewal issue… according to the very last post in  this MS Technet discussion, the fix will be in the March 2017 monthly update.

                                  The S in IOT stands for Security

                                  1 Reply Last reply Reply Quote 0
                                  • dragoangelD
                                    dragoangel
                                    last edited by

                                    In my network i have around 50+ PC with Windows 10, and 20+ PC with Windows 7, and almost no problems (only one: some clients somehowe take duplicate IP, or dont take any IP - it around 3-4 PCs from all lan) with DHCPv6 in Assisted Mode because it use DHCPv6 in managed mode otherwise in fail mode use stateless autoconfiguration. Works just perfect. I'm even haven't IPv6 problems in OpenVPN, if someone need help\manual how to configure it I can post it on new topic.

                                    Latest stable pfSense on 2x XG-7100 and 1x Intel Xeon Server, running mutiWAN, he.net IPv6, pfBlockerNG-devel, HAProxy-devel, Syslog-ng, Zabbix-agent, OpenVPN, IPsec site-to-site, DNS-over-TLS...
                                    Unifi AP-AC-LR with EAP RADIUS, US-24

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      bimmerdriver
                                      last edited by

                                      As of version 1607, build 14393.953, which is a regular update, the problem has been fixed.

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