DHCP Client handles RFC 3442 incorrectly

Tom Siewert 6 Reputation points

While debugging an issue with the routing I have discovered that the DHCPv4 client in the Windows Networking stack does not handle RFC 3442 correctly. When a DHCPv4 server is sending both, the routers and the classless-routes option (and the classless-routes does not include a default route), the DHCP client installs a default route. According to the RFC, the client MUST ignore router option and only install the routes from the classless-routes option (See section DHCP Client Behavior), even if the DHCP server is misbehaving in this case.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,754 questions
Windows DHCP
Windows DHCP
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.DHCP: Dynamic Host Configuration Protocol (DHCP). A communications protocol that lets network administrators manage centrally and automate the assignment of Internet Protocol (IP) addresses in an organization's network.
1,014 questions
0 comments No comments
{count} vote

3 answers

Sort by: Most helpful
  1. Limitless Technology 39,206 Reputation points

    Hello @Tom Siewert

    This issue has been discussed in the next post, which adds some layers to the complexity of persistent routes handling over Microsoft DHCP clients.


    Hope this helps with your query,


    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

  2. Tom Siewert 6 Reputation points

    Hi @Limitless Technology ,

    thanks for your link. I'm afraid to tell you that your mentioned thread is not the same issue about. The issue I described says that the DHCP Client is installing wrong routes which should not get installed. However, the author of your thread is talking about routes which are not persistent.


    0 comments No comments

  3. Tom Siewert 6 Reputation points


    The issue is still present and no solution so far other than modifying the DHCP server to not include the routers option (which is not quite easy for internal reasons).

    0 comments No comments