Reduce RAS initial DHCP Reservations

October 19th, 2010
by larry

Problem

I have a subnet that is running out of IP addresses.  RAS is taking up 10 ip addresses on the DHCP server even though I only have a small handful of users that will likely use the server at once. I wanted to reduce the number of IP’s initially reserved by RAS. 
Keywords: routing and remote access reduce dhcp reservations vpn.

Platform

Windows Server 2008 R2 standard. Also works on Server 2003 and likely Small Business Server 2003/2008

Symptoms

When looking on the DHCP Server there are 10 leases allocated to the VPN server.  

Fix

To reduce the number of initial leases/reservations that RAS takes you just have to change and/or create the following key in the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteAccess\Parameters\IP
Value Name: InitialAddressPoolSize
Data Type: REG_DWORD
Default: 10
The default is 10 leases, I wanted it at 3 so I just added the key above and set the key to 3.  This means that it will only take 3 IP addresses initially, if those are used it will request an additional 3 leases.

Tags: , , , ,
Posted in Uncategorized | Comments (0)

No comments yet

Leave a Reply

Leave a Reply

Your email address will not be published. Required fields are marked *