{"id":1314,"date":"2025-07-29T09:04:23","date_gmt":"2025-07-29T07:04:23","guid":{"rendered":"https:\/\/dety.net.ua\/?p=1314"},"modified":"2025-07-29T09:04:23","modified_gmt":"2025-07-29T07:04:23","slug":"routing-and-remote-access-rras-not-requesting-reserving-dhcp-leases-for-vpn-clients-windows-server-2019","status":"publish","type":"post","link":"https:\/\/dety.net.ua\/?p=1314","title":{"rendered":"Routing and remote access (RRAS) not requesting + Reserving DHCP leases for VPN clients (Windows server\u00a02019)"},"content":{"rendered":"\n<p>If you deploy RRAS on Windows Server 2019 that is not DHCP server it does not request \/ reserve IP addresses from DHCP (that runs on some other server).<br>Everything works perfectly if you assign static range of IP addresses but I just want to manage VPN client IP addresses by using DHCP server.<\/p>\n\n\n\n<p>In System log in Event viewer you will receive Event ID 20167 with information:<br>RoutingDomainID- {: No IP address is available to hand out to the dial-in client.<\/p>\n\n\n\n<p>After a quick search I found the article on <a href=\"https:\/\/social.technet.microsoft.com\/Forums\/en-US\/0270d377-be3a-4b63-82a0-9df076c5e3b3\/upgrade-from-2016-to-2019-breaks-dhcp-relay-agent-when-using-rras\" target=\"_blank\" rel=\"noreferrer noopener\">MS forums<\/a> that states:<\/p>\n\n\n\n<p>Add this registry entries to your VPN server and reboot it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>reg add \u201cHKLM\\SYSTEM\\CurrentControlSet\\Services\\Dhcp\u201d \/v RequiredPrivileges \/d \u201cSeChangeNotifyPrivilege\u201d\\0\u2033SeCreateGlobalPrivilege\u201d\\0\u2033SeImpersonatePrivilege\u201d\\0 \/t REG_MULTI_SZ \/f<\/code><\/pre>\n\n\n\n<p>Source: <a href=\"https:\/\/luka.manojlovic.net\/2020\/04\/11\/routing-and-remote-access-rras-not-requesting-reserving-dhcp-leases-for-vpn-clients-windows-server-2019\/\">https:\/\/luka.manojlovic.net\/2020\/04\/11\/routing-and-remote-access-rras-not-requesting-reserving-dhcp-leases-for-vpn-clients-windows-server-2019\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you deploy RRAS on Windows Server 2019 that is not DHCP server it does not request \/ reserve IP addresses from DHCP (that runs on some other server).Everything works perfectly if you assign static range of IP addresses but I just want to manage VPN client IP addresses by using DHCP server. In System [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,12],"tags":[],"class_list":["post-1314","post","type-post","status-publish","format-standard","hentry","category-novosti","category-windows"],"_links":{"self":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/1314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1314"}],"version-history":[{"count":1,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/1314\/revisions"}],"predecessor-version":[{"id":1315,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/1314\/revisions\/1315"}],"wp:attachment":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}