question

mcdillson-7230 avatar image
0 Votes"
mcdillson-7230 asked mcdillson-7230 commented

RRAS DHCP Adress without Relay

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-2019windows-10-networkwindows-dhcp-dns
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Just checking in to see if the information provided was helpful.
Please let us know if you would like further assistance.

0 Votes 0 ·

You could accept the useful reply as answer if you want to end this thread up.
If there is anything else we can do for you, please feel free to post in the forum.

0 Votes 0 ·

1 Answer

CandyLuo-MSFT avatar image
1 Vote"
CandyLuo-MSFT answered mcdillson-7230 commented

Hi @mcdillson-7230 ,

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hey, thanks for your info!

So, I'm trying something completely different now. We made a subnet where one interface of the RAS server is and that's the same one where the clients should be assigned to. I installed the DHCP role on the RAS server itself.
I tried adding the interface of said subnet to the DHCP relay agent and added the server's adress 127.0.0.1 and his own one from the subnet.
Again, I get the error message that the IP couldn't have been assigned.

Best regards,
mcdillson

0 Votes 0 ·