Lesson 5: Using Routing and Remote Access with DHCP

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

  • Explain Routing and Remote Access and DHCP
  • Describe how to implement the DHCP relay agent

Estimated lesson time: 10 minutes


Routing and Remote Access and DHCP

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.

DHCP Relay Agent

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.

Practice: Configuring the DHCP Relay Agent to Work over Routing and Remote Access

Exercise 1: Configuring a DHCP Relay Agent

  1. In the Routing and Remote Access Manager, right-click General under IP Routing, and select New Routing Protocol.
  2. Choose DHCP Relay Agent, and then click OK.
  3. Highlight DHCP Relay Agent, and then right-click Properties.

    The DHCP Relay Agent Properties dialog box appears, allowing you to configure the IP addresses of any DHCP server.

  4. Click OK to close the DHCP Relay Agent Properties dialog box.
  5. Right-click the DHCP Relay Agent and choose New Interface.
  6. Select Internal (Internal represents the virtual interface connected to all Routing and Remote Access clients), and then click OK.
  7. Click OK to close the DHCP Relay Agent Internal Properties dialog box.

Lesson Summary

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.



MCSE Training Kit(c) Microsoft Windows 2000 Accelerated 2000
MCSE Training Kit(c) Microsoft Windows 2000 Accelerated 2000
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 244

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net