Appendix B -- Installing and Configuring the DHCP Service - MCSE Training Kit, Microsoft Windows 2000 Active Directory Services [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

MCSE Training Kit, Microsoft Windows 2000 Active Directory Services [Electronic resources] - نسخه متنی

Jill Spealman

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
توضیحات
افزودن یادداشت جدید






Appendix B -- Installing and Configuring the DHCP Service


Using Remote Installation Services (RIS) requires the installation and configuration of the Dynamic Host Configuration Protocol (DHCP) service on either individual servers or on the same server. To install and configure DHCP, complete the following procedures.

NOTE
This appendix contains only basic instructions for installing and configuring the DHCP service. Installing and configuring DHCP is beyond the scope of this course. For detailed instruction and practice, refer to the MCSE Training Kit—Microsoft Windows 2000 Network Infrastructure Administration.

Installing the DHCP Service


The first step in implementing DHCP is to install the DHCP service. Before you install the DHCP service, you should specify a static Internet Protocol (IP)
address, subnet mask, and default gateway address for the network adapter bound to Transmission Control Protocol/Internet Protocol (TCP/IP) in the computer designated as the DHCP server.

To install the DHCP service


Click Start, point to Settings, open Control Panel, open Add/Remove
Programs, then click Add/Remove Windows Components. Click the Components button.

In the Windows Components Wizard dialog box, select Networking Services, then click Details.

In the Networking Services dialog box, in the Subcomponents Of Networking Services list, click to place a check mark in the box to the left of Dynamic Host Configuration Protocol (DHCP), then click OK.

Click Next to install the required components.

Insert the Windows 2000 Server CD-ROM when prompted.

On the Completing The Windows Components Wizard page, click Finish.

Close the Add/Remove Programs dialog box.

Close Control Panel and remove the Windows 2000 Server CD-ROM from the drive.


NOTE
The DHCP service starts automatically during installation and must be running to communicate with DHCP clients.

Configuring the DHCP Service


The basic tasks for configuring the DHCP service are creating a DHCP scope, configuring a DHCP scope, and configuring a client reservation.

Creating a DHCP Scope


Before a DHCP server can lease an address to DHCP clients, you must create a scope. A scope is a pool of valid IP addresses available for lease to DHCP
clients. After you have installed the DHCP service and it is running, the next
step is to create a scope.

When creating a DHCP scope, consider the following points:


You must create at least one scope for every DHCP server.

You must exclude static IP addresses from the scope.

You can create multiple scopes on a DHCP server to centralize administration and to assign IP addresses specific to a subnet. You can assign only one scope to a specific subnet.

DHCP servers do not share scope information. As a result, when you create scopes on multiple DHCP servers, ensure that the same IP addresses do not exist in more than one scope to prevent duplicate IP addressing.


To create a DHCP scope


Click Start, point to Programs, point to Administrative Tools, then click DHCP.

In the DHCP console, right-click the entry for the DHCP server, then click New Scope to start the New Scope Wizard.

On the Welcome To The New Scope Wizard page, click Next.

On the Scope Name page, specify a name for the scope in the Name box. You can also specify a description for the scope in the Description box. Click Next.

On the IP Address Range page, specify the range of IP addresses included in the scope. You can also specify the subnet mask by length or as an IP address. Click Next.

On the Add Exclusions page, specify any addresses to be excluded from the scope, then click Next.


NOTE
An exclusion is an address or range of addresses that the server should not distribute. You can exclude multiple ranges of addresses.


On the Lease Duration page, specify how long a client can use an IP address from this scope as issued by the DHCP server, then click Next.

On the Configure DHCP Options page, specify if you want to configure
common DHCP options now or later, then click Next.

If you specified that you want to configure common DHCP options later, skip to Step 12.

If you specified that you want to configure common DHCP options now:


On the Router (Default Gateway) page, specify the routers, or default
gateways, to be distributed by this scope, then click Next.

On the Domain Name And DNS Servers page, specify the parent domain name you want client computers to use for Domain Name System (DNS) name resolution. If you want to configure scope clients to use DNS servers on your network, enter the server name and IP addresses for those servers. Click Next.

On the WINS Servers page, specify the server name and IP address to
enable clients to query Windows Internet Name Service (WINS) before they use broadcasts to register and resolve NetBIOS names, then click Next.


On the Activate Scope page, specify if you want to activate the scope now or later, then click Next.


NOTE
Once you have created the scope, you must activate it to make it available for lease assignments.


On the Completing The New Scope Wizard page, click Finish.


IMPORTANT
You must delete and recreate a scope to specify a new subnet mask or range of IP addresses.

Configuring a DHCP Scope


Once you have created the DHCP scope, you can configure options for DHCP clients. There are two main levels of scope options—global and scope.

Global Options

Global options are available to all DHCP clients. Use global options when all
clients on all subnets require the same configuration information. For example, you might want all clients configured to use the same WINS server. Global
options are always used, unless scope or client options are configured.

To configure DHCP global options


In the DHCP console, right-click the Server Options icon, then click
Configure Options.

In the Server Options dialog box, in the Available Options list, select the DHCP option to configure, enter the appropriate value in the Data Entry box, then click OK.


Scope Options

Scope options are available only to clients who lease an address from the scope. For example, if you have a different scope for each subnet, you can define a unique default gateway address for each subnet. Scope options override global options.

To configure DHCP scope options


In the DHCP console, expand the scope entry if necessary.

Right-click the Scope Options icon, then click Configure Options.

In the Scope Options dialog box, in the Available Options list, select the DHCP option to configure, enter the appropriate value in the Data Entry box, then click OK.


Configuring a Client Reservation


For some DHCP clients, it is important that the same IP address be reassigned when their lease expires. For these clients, you can set up a client reservation, which configures the DHCP service so that it always assigns the same IP address to them. For example, if the server known as SRV187 is on a network that contains clients that are not WINS-enabled, SRV187 should be set up with a client reservation. Setting up the reservation ensures that SRV187 always leases the same IP address from the DHCP server. The clients that are on that network and are not WINS-enabled must use the LMHOSTS file to resolve NetBIOS computer names. Because the LMHOSTS file is a static file containing NetBIOS name-to-IP-address mappings, name resolution using the LMHOSTS file will fail if the IP address of SRV187 changes.

To configure a client reservation


In the DHCP console, open the scope entry, right-click Reservations, then click New Reservation.

In the New Reservation dialog box, in the Reservation Name box, type a name to identify the client. The DHCP console uses a name associated with the hardware address of the network adapter card to identify a client.

In the IP Address box, type the IP address that you want to reserve for a
specific client.

In the MAC Address box, type the hardware address (media access control address) of the host's network adapter card. Do not use dashes in the
hardware address.


IMPORTANT
If you type the value for the MAC Address incorrectly, it will not match the value sent by the DHCP client, and the DHCP service will assign the client any available IP address instead of the IP address reserved for that client.


In the Description box, type an optional description for the client.

Under Supported Types, click to specify which method the client uses:


Both. Specifies that either DHCP or BOOTP clients are allowed for this client reservation.

DHCP Only. Specifies that only DHCP clients are allowed for this client reservation.

BOOTP Only. Specifies that only BOOTP clients are allowed for this client reservation.


To add the reservation to the database, click Add.


/ 113