When a Routing and Remote Access address pool is configured to use DHCP, no DHCP packets go over the wire to the Routing and Remote Access clients. In this lesson, you learn how Routing and Remote Access handles DHCP.
After this lesson, you will be able to
Estimated lesson time: 10 minutes
When a Routing and Remote Access address pool is configured to use DHCP, no DHCP packets go over the wire to the Routing and Remote Access clients. Routing and Remote Access uses DHCP to lease addresses in blocks of 10, and stores them in the registry. The network information center (NIC) used to lease these DHCP addresses is configurable in the user interface if two or more NICs are in the server. In earlier versions of Windows, the remote access server would renew and maintain these DHCP addresses indefinitely. In Windows 2000, the DHCP leases are released when Routing and Remote Access is shut down.
The number of addresses that Routing and Remote Access will lease at a time is configurable in the registry under \System\CurrentControlSet\Services\ RemoteAccess\Parameters\Ip\InitialAddressPoolSize. The value in this key is the number of DHCP leases Routing and Remote Access will initially reserve. These addresses are stored in the registry and are given to Routing and Remote Access clients. When the initial pool is used up, another block of this size is leased.
The DHCP relay agent can now be used over Routing and Remote Access. The Routing and Remote Access client receives an IP address from the Routing and Remote Access server, but may use DHCPINFORM packets to obtain Windows Internet Name Service (WINS) and Domain Name System (DNS) addresses, domain name, or other DHCP options. DHCPINFORM messages are used to obtain option information without getting an IP address.
NOTE
Sending the domain name using DHCPINFORM is of particular importance because PPP does configure this information.
DNS and WINS addresses received using DHCPINFORM override addresses obtained from the Routing and Remote Access server.
The DHCP Relay Agent Properties dialog box appears, allowing you to configure the IP addresses of any DHCP server.
When a Routing and Remote Access address pool is configured to use DHCP, no DHCP packets will go over the wire to the Routing and Remote Access clients. In this lesson, you learned how Routing and Remote Access handles DHCP and DHCP relay agents.