Event ID 20165 — RRAS IPCP Negotiation

Applies To: Windows Server 2008

The virtual private networking (VPN) server must have IP addresses available to assign them to the VPN server's virtual interface and to VPN clients during the IP Control Protocol (IPCP) negotiation phase of the connection process. The IP address assigned to the VPN client is assigned to the virtual interface of the VPN client. Routing and Remote Access can be configured to use a DHCP server to obtain IP addresses or it can use a static pool of IP addresses to assign to remote access and demand-dial connections.

Event Details

Product: Windows Operating System
ID: 20165
Source: RemoteAccess
Version: 6.0
Message: A connection has been established on port: %1 using interface: %2, but no IP address was obtained.


Check whether DHCP or remote access servers have enough IP addresses to allocate to clients

If the remote access server is configured to allocate IP addresses from a DHCP server, make sure that the DHCP server is accessible and has enough IP addresses to allocate.

If the remote access server is configured to allocate IP addresses itself with a static IP address pool, confirm that there are enough addresses in the pool. If all of the addresses in the static pool have been allocated to connected remote access clients, then the remote access server cannot allocate an IP address. If the remote access client is configured only to use TCP/IP as a LAN protocol, the connection attempt is denied.

To check the static IP address pool for the availability of addresses:

  1. Open Routing and Remote Access. Click Start, click Run, type rrasmgmt.msc, and then press ENTER.
  2. In the console tree, right-click the server name, and then click Properties.
  3. On the IPv4 tab, under Static address pool, check the range of static IP addresses.



To verify that the remote access server can accept connections, establish a remote access connection from a client computer.

To create a VPN connection:

  1. Click Start, and then click Control Panel.
  2. Click Network and Internet, click Network and Sharing Center, and then click Set up a connection or network.
  3. Click Connect to a workplace, and then click Next.
  4. Complete the steps in the Connect to a Workplace wizard.

To connect to a remote access server:

  1. In Network and Sharing Center, click Manage network connections.
  2. Double-click the VPN connection, and then click Connect.
  3. Verify that the connection was established successfully.


RRAS IPCP Negotiation

Routing and Remote Access Service Infrastructure