RRAS DHCP Adress without Relay

mcdillson 1 Reputation point
2021-03-11T07:17:13.11+00:00

I'm setting up a RRASserver that should assign the VPN clients an IP address via DHCP. These two are in the same subnet (e.g. 192.168.0.0/24), but there are several scopes on the DHCP server (e.g. 192.168.10.0/24, 192.168.11.0/24...). Both are on Windows Server 2019.

When I specify a static IP range, I can successfully connect to the VPN but the firewall isn't configured for the specified range. However, when I just tick the box to assign IP adresses over DHCP, there's an occurring error when trying to connect to the VPN that says something in the words like "Couldn't assign internal IP".

Since both of the servers are in the same subnet, I don't have to configure the DHCP relay, right? But how do I specify the scope where the VPN clients should be assigned to (e.g. 192.168.11.0/24)?

EDIT: When I specify the range in a free space of the server subnet (e.g. 192.168.0.10 - 20), I can connect to all servers in that subnet (exchange etc.) and I made a static route to a different subnet. How can I add a route to the WAN?

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,457 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,272 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,021 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Candy Luo 12,656 Reputation points Microsoft Vendor
    2021-03-11T08:41:22.22+00:00

    Hi @mcdillson ,

    Since both of the servers are in the same subnet, I don't have to configure the DHCP relay, right? But how do I specify the scope where the VPN clients should be assigned to (e.g. 192.168.11.0/24)?

    No, you still need to configure DHCP relay agent. Because DHCP client and DHCP server are not in the same subnet.

    The similar thread has discussed before, you could have a look:

    RRAS VPN Server - Using DHCP to assign IPs from specific scope

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

    Best Regards,

    Candy

    --------------------------------------------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.