RAS servers can obtain IP addresses for remote clients from a dynamic host configuration protocol (DHCP) server. DHCP servers provide static and dynamic IP address allocation on a large network. You should select this option if a DHCP server is available.
When the RAS server starts up with the option to Use DHCP to assign remote TCP/IP addresses, it makes several DHCP requests in advance and caches the DHCP leases that it will need for dial-in clients. The RAS Server will request a number of addresses according to the behavior defined in the following article:
When a RAS client obtains an IP address Lease from a RAS server, Winipcfg.exe (for Windows 95) or Ipconfig.exe (for Windows NT and later) displays the following information about the Lease:
When a RAS server assigns an IP address to a RAS client either from a Static Address Pool or DHCP, there is no real lease time for the IP address since it will be released when client disconnects.
Lease Obtained: Tue Jan 1 80 12:00:00 AM
Lease Expires: Tue Jan 1 80 12:00:00 AM
However, RAS clients can still receive additional TCP/IP configuration information from the RAS server. WINS server assignments and Domain Name Service (DNS) server assignments can be delegated to the client when it connects.
Again, this information is not taken from the Options given in the DHCP lease. Instead, this information is taken directly from the RAS server's settings. If a RAS server has WINS or DNS entries, these entries are passed to the client.
Here is a list of the DHCP Options that Microsoft DHCP clients can support and how a RAS client obtains them:
IPAs described above, the RAS server obtains an IP address from the DHCP server. The RAS server then gives the IP address to the dial-in client and manages its lease. This is the only information from the DHCP server that the RAS client receives.
WINSThis is taken from the RAS server if the RAS server is configured with WINS addresses. The client acquires the list of WINS servers that are configured on the RAS server.
DNSThis is taken from the RAS server if the RAS server is configured with DNS server addresses. The client acquires the first DNS server address listed in the RAS server's DNS Service Search Order.
Subnet MaskThe subnet mask corresponds to the standard mask associated with the standard class type of the given IP address.
NOTE: Note that Windows 2000 clients use a subnet mask of 255.255.255.255 (not the classful mask for the IP address) on PPP links.
NetBIOS Scope IDNetBIOS scope ID information is not passed to the client. If you need to modify this setting it will have to be changed directly on the client.
Node TypeNode Type is not taken from the DHCP lease but can change on the RAS client depending on WINS information. If the RAS server has no WINS servers defined locally, a b-node Windows NT RAS client remains a b-node client. If the RAS server has WINS servers defined locally, a b-node Windows NT RAS client switches to h-node for the duration of the connection.
NOTE: Windows 95 clients do not automatically switch between node-types if the RAS server supplies WINS addresses. This must be done manually: Click Control Panel and double-click Network. On the Selection tab, select TCP/IP from the list of installed network components and then click Properties. Click the WINS Configuration tab, and then either manually specify the WINS addresses or click Use DHCP for WINS Resolution.
An IP address obtained from a dial-up connection cannot be released or renewed with the Winipcfg.exe utility in Windows 98 or Windows 95. The Winipcfg.exe utility can only release IP addresses obtained from DHCP.
Because dial-up clients obtain IP addresses from the Remote Access Service rather than from DHCP, dial-up clients retain this address until the session disconnects.
For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
Article ID: 160699 - Last Review: Feb 22, 2007 - Revision: 1