DHCP and Remote Access

DHCP and Remote Access Overview

When a remote computer connects to a remote access server, it is automatically provided with an IP address when the Point-to-Point Protocol (PPP) connection is established.

You can configure the RRAS server to allocate IP addresses to remote clients from:

If you have an internal DHCP server, you should configure the remote access server to allocate IP addresses via this server. If your DHCP server is not within broadcast range of the RRAS server, you must perform the one of the following configuration as well:

The DHCP Relay Agent enables DHCP clients to obtain IP addresses from a DHCP server on a remote subnet. The router will drop DHCP broadcast messages if it is not configured to forward them, and no DHCP Relay Agent exists. To enable clients to obtain IP addresses from a DHCP server on a remote subnet, you have to configure the DHCP Relay Agent on the subnet that contains the remote client, so that it can relay DHCP broadcast messages to your DHCP server.

If the remote access server is configured to obtain IP addresses from a DHCP server, to distribute these IP addresses to clients, the following process occurs:

  1. When the remote access server starts for the first time, it obtains a block of IP addresses from the DHCP server.
  2. The first IP address is used for the remote access server.
  3. The remainder of the IP addresses, the remote access server distributes to all TCP/IP based remote access clients during the PPP connection establishment process.
  4. When the remote access server needs over 10 IP addresses, it obtains additional blocks of 10 addresses.
  5. If the DHCP server was unavailable when the remote access server started, the remote access server assigns its own IP address through Automatic Private IP Addressing (APIPA).

Configuring the RRAS server to use the DHCP server option

To configure your RRAS server to use the DHCP server to obtain IP addresses to distribute to remote TCP/IP clients, you need to perform the following steps:

To install and configure the DHCP Relay Agent,

  1. Click Start, All Programs, Administrative Tools and then click Routing and Remote Access to open the Routing And Remote Access console.
  2. Expand the IP Routing node in the console tree, right-click the General node, and then select New Routing Protocol from the shortcut menu.
  3. When the New Routing Protocol dialog box opens, select DHCP Relay Agent.
  4. Click OK.
  5. Expand the IP Routing node in the console tree.
  6. Right-click the DHCP Relay Agent node and then select New Interface from the shortcut menu.
  7. Select the interface and click OK.
  8. In the DHCP Relay Properties dialog box, ensure that the Relay DHCP Packets checkbox is selected on the General tab.
  9. Click OK.
  10. Right-click the DHCP Relay Agent node, and select Properties from the shortcut menu.
  11. Enter the DHCP server's IP address. Click Add
  12. Click OK.

To configure the RRAS server to distribute IP addresses via the Dynamic Host Configuration Protocol (DHCP) option,

  1. Open the Routing And Remote Access console.
  2. Right-click the RRAS server node and then select Properties from the shortcut menu.
  3. Click the IP tab.
  4. In the IP Address Assignment area of the IP tab, click the Dynamic Host Configuration Protocol (DHCP) option.
  5. Click OK.

The different DHCP and RRAS Configurations

The method in which a remote client obtains IP addressing information is determined by the different configuration options which can be specified. The actual method which a remote client will use is determined by these IP configuration settings.

The different DHCP and RRAS configurations that can be specified are:

How to create a new user object in Active Directory

  1. Click Start, Administrative Tools, and click the Active Directory Users And Computers console.
  2. In the console tree, select the OU wherein you want to create the new user object
  3. From the Action menu, click New, and then click User
  4. In the New Object - User dialog box, enter information for the fields listed below:
    • First name, Initials, Last name, Full name (automatically populated), User logon name, User logon name (pre-Windows 2000).
  5. Click Next
  6. Enter a password in the Password field, and verify the password in the Confirm password field.
  7. If you leave the User must change password at next logon checkbox enabled, the user has to specify a new password at next logon. Click Next
  8. Verify the settings that you entered on the Summary page.
  9. Click Finish to create the new user object

How to configure an IP address for a user object in Active Directory

  1. Click Start, Administrative Tools, and click the Active Directory Users And Computers console.
  2. Right-click the domain, and select Find from the shortcut menu. The Find option is used to locate objects in Active Directory. You can specify that the search should be performed on the Active Directory directory, or on a particular OU, and you can specify various other search criteria and options.
  3. Enter the username that you want to statically assign an IP address for. Click Find Now to locate the particular user object.
  4. Double-click the username in the search results window to open the properties page of the user object.
  5. Click the Dial-in tab.
  6. Enable the Assign A Static IP checkbox.
  7. Enter an IP address in the available box.
  8. Click OK


Top 5 Free Networking Tools

Bookmark DHCP and Remote Access

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.