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 for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
Windows for business | Windows Server | User experience | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    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.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.