You are on page 1of 22

Automating IP Address Assignment

Ing. Ivn Mndez Alvarado


RAITECNOLOGIA
SU SOLUCION INTEGRAL

Overview

1. Overview of DHCP 2. Installing the DHCP Service 3. Authorizing the DHCP Service 4. Creating and Configuring a Scope

RAITECNOLOGIA
SU SOLUCION INTEGRAL

1. Overview of DHCP

1.1. Connecting to a Microsoft Network 1.2. Manual vs. Automatic TCP/IP Configuration 1.3. DHCP Operation 1.4. The DHCP Lease Generation Process 1.5. The DHCP Lease Renewal Process

1.6. Requirements for DHCP Servers and Clients

RAITECNOLOGIA
SU SOLUCION INTEGRAL

1.1. Connecting to a Microsoft Network

Installing TCP/IP for Connectivity Within a Microsoft Network Configuring TCP/IP to Use a Static IP Address Configuring TCP/IP to Obtain an IP Address Automatically

RAITECNOLOGIA
SU SOLUCION INTEGRAL

Installing TCP/IP for Connectivity Within a Microsoft Network


Select Network Protocol Click the Network Protocol that you want to install, then click OK. If you have an installation disk for this component, click Have Disk. Network Protocol: AppleTalk Protocol DLC Protocol Windows 2000 Internet Protocol (TCP/IP) Default Protocol NetBEUI Protocol Network Monitor Driver NWLink IPX/SPX/NetBIOS Compatible Transport Protocol OSI-LAN Protocol Have Disk...

OK

Cancel

RAITECNOLOGIA
SU SOLUCION INTEGRAL

Configuring TCP/IP to Use a Static IP Address


Internet Protocol (TCP/IP) Settings General You can get IP settings assigned automatically if your network supports this capability. Otherwise, you need to ask your network administrator for the appropriate IP settings. Obtain an IP address automatically Use the following IP address: IP address: Subnet mask: Default gateway: Obtain DNS server address automatically Use the following DNS server address: Preferred DNS server: Alternate DNS server: Advanced... OK Cancel
RAITECNOLOGIA
SU SOLUCION INTEGRAL

Configuring TCP/IP to Obtain an IP Address Automatically


DHCP Automatically Assigns IP Addresses and Other Configuration Information to DHCP Clients Automatic Private IP Addressing Enables the Configuration of IP Addresses Without Using Static IP Addresses or Installing the DHCP Server Service.

Request for IP address

Assign IP address of 192.168.120.133

DHCP Client
Automatic Private IP Addressing Generates IP Address

OR

DHCP Server
If No IP Address Returned
RAITECNOLOGIA
SU SOLUCION INTEGRAL

1.2. Manual vs. Automatic TCP/IP Configuration


Manual TCP/IP Configuration Disadvantages
IP addresses entered manually on each client computer Possibility of entering incorrect or invalid IP address Incorrect configuration can lead to communication and network problems Administrative overload on networks where computers are frequently moved

Automatic TCP/IP Configuration Advantages


IP addresses are supplied automatically to client computers Ensures that clients always use correct configuration information Elimination of common source of network problems Client configuration updated automatically to reflect changes in network structure
RAITECNOLOGIA
SU SOLUCION INTEGRAL

1.3. DHCP Operation


Non-DHCP Client: static IP configuration DHCP Client: IP configuration from DHCP server

IP Address1

DHCP Client: IP configuration from DHCP server

IP Address2
DHCP Database IP Address1 IP Address2 IP Address3

DHCP Server

RAITECNOLOGIA
SU SOLUCION INTEGRAL

1.4. The DHCP Lease Generation Process


DHCP Client DHCP Servers IP Lease Request

IP Lease Offer

3 IP Lease Selection
IP Lease Acknowledgement

RAITECNOLOGIA
SU SOLUCION INTEGRAL

1.5. The DHCP Lease Renewal Process


DHCPREQUEST
Source IP Address = 192.168.0.77 Dest. IP Address = 192.168.0.108 Requested IP Address = 192.168.0.77 Hardware Address = 08004....

DHCPACK
Source IP Address = 192.168.0.108 Dest. IP Address = 192.168.0.77 Offered IP Address = 192.168.0.77 Client Hardware Address = 08004... Subnet Mask = 255.255.255.0 Length of Lease = 8 days Server Identifier = 192.168.0.108 DHCP Option: Router = 192.168.0.1

DHCP Client

DHCP Server
RAITECNOLOGIA
SU SOLUCION INTEGRAL

1.6. Requirements for DHCP Servers and Clients

DHCP Server Requirements (Windows 2000 Server)


The DHCP service Static IP address, subnet mask, default gateway Range of valid IP addresses Windows 2000 Professional or Windows 2000 Server Windows NT Server or Workstation 3.51 or later Windows 95 or Windows 98 Windows for Workgroups 3.11, running TCP/IP-32 Microsoft Network Client 3.0 for MS-DOS LAN Manager 2.2c Non-Microsoft operating systems
RAITECNOLOGIA
SU SOLUCION INTEGRAL

DHCP Clients

2. Installing the DHCP Service


Networking Services
To add or remove a component, click the check box. A shaded box means that only part of the component will be installed. To see whats included in a component, click Details. Subcomponents of Networking Services: COM Internet Services Proxy Domain Name System (DNS) Dynamic Host Configuration Protocol (DHCP) 0.0 MB 0.8 MB 0.0 MB 0.0 MB

Internet Authentication Service


QoS Admission Control Service Simple TCP/IP Services Site Server LDAP Services Description:

0.0 MB
0.0 MB 0.0 MB 1.8 MB

Enables a network connected to the Internet to automatically assign a temporary IP address to a host when the host connects to the network.
0.9 MB 912.4 MB OK Cancel Details...

Total disk space required: Space available on disk:

RAITECNOLOGIA
SU SOLUCION INTEGRAL

3. Authorizing the DHCP Service


If authorized,

Domain Controller/ DHCP server

the service starts properly

If unauthorized,

the service logs an error and will not respond to clients

DHCP Service Checks For Authorization

DHCP Server

Clients

DHCP Server
RAITECNOLOGIA
SU SOLUCION INTEGRAL

Lab A: Creating and Authorizing a DHCP Server

RAITECNOLOGIA
SU SOLUCION INTEGRAL

4. Creating and Configuring a Scope

4.1. Overview of Scopes 4.2. Using The New Scope Wizard 4.3. Configuring a Scope with Options 4.4. Customizing the Use of Scope Options 4.5. Reserving IP Addresses for Client Computers

RAITECNOLOGIA
SU SOLUCION INTEGRAL

4.1. Overview of Scopes

Scope 192.168.1.0 192.168.1.1 192.168.1.2 192.168.1.3 192.168.1.4


DHCP Server

IP Addresses Available for Lease to Client Computers

RAITECNOLOGIA
SU SOLUCION INTEGRAL

4.2. Using the New Scope Wizard

You use the New Scope Wizard to:


Configure scope parameters Change the default lease duration Activate a scope

RAITECNOLOGIA
SU SOLUCION INTEGRAL

4.3. Configuring a Scope with Options

Scope Options Supported by DHCP Include:


IP Address of a Router IP Address of a DNS Server DNS Domain Name IP Address of a WINS Server

Type of NetBIOS over TCP/IP Name Resolution

RAITECNOLOGIA
SU SOLUCION INTEGRAL

4.4. Customizing the Use of Scope Options


Scope Options
Server Level
Scope Level Class Level Reserved Client Level

RAITECNOLOGIA
SU SOLUCION INTEGRAL

4.5. Reserving IP Addresses for Client Computers


New Reservation
Provide information for a reserved client. Reservation name: IP address: MAC address: Description: Supported types Both DHCP only BOOTP only Stuttgart Server 192 . 168 . 1 . 201 00a024e2b01a DHCP Reservation for Server

Add

Close

RAITECNOLOGIA
SU SOLUCION INTEGRAL

Lab B: Configuring a DHCP Scope

RAITECNOLOGIA
SU SOLUCION INTEGRAL

You might also like