automating ip address assignment ing. iván méndez alvarado rai tecnologia su solucion integral

22
Automating IP Address Assignment Ing. Iván Méndez Ing. Iván Méndez Alvarado Alvarado RAITECNOLOGIA SU SOLUCION INTEGRAL

Upload: quentin-cole

Post on 16-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA SU SOLUCION INTEGRAL

Automating IP Address Assignment

Ing. Iván Méndez AlvaradoIng. Iván Méndez Alvarado

RAITECNOLOGIA SU SOLUCION INTEGRAL

Page 2: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA 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

Page 3: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA SU SOLUCION INTEGRAL

1.1. Overview of DHCPOverview of DHCP

1.1. 1.1. Connecting to a Microsoft Network

1.2. 1.2. Manual vs. Automatic TCP/IP Configuration

1.3. 1.3. DHCP Operation

1.4. 1.4. The DHCP Lease Generation Process

1.5. 1.5. The DHCP Lease Renewal Process

1.6. 1.6. Requirements for DHCP Servers and Clients

RAITECNOLOGIA SU SOLUCION INTEGRAL

Page 4: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA SU SOLUCION INTEGRAL

1.1. Connecting to a Microsoft Network1.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

Page 5: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA SU SOLUCION INTEGRAL

Installing TCP/IP for Connectivity Installing TCP/IP for Connectivity Within a Microsoft NetworkWithin 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 ProtocolDLC ProtocolInternet Protocol (TCP/IP)NetBEUI ProtocolNetwork Monitor DriverNWLink IPX/SPX/NetBIOS Compatible Transport ProtocolOSI-LAN Protocol

Have Disk...

OK Cancel

Internet Protocol (TCP/IP) Windows 2000Default ProtocolWindows 2000

Default Protocol

RAITECNOLOGIA SU SOLUCION INTEGRAL

Page 6: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA SU SOLUCION INTEGRAL

Configuring TCP/IP to Use a Static IP AddressConfiguring TCP/IP to Use a Static IP AddressInternet 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:

Use the following DNS server address:

Preferred DNS server:

Alternate DNS server:

Obtain DNS server address automaticallyObtain DNS server address automatically

OK Cancel

Advanced...

RAITECNOLOGIA SU SOLUCION INTEGRAL

Page 7: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA SU SOLUCION INTEGRAL

Configuring TCP/IP to Obtain anConfiguring TCP/IP to Obtain anIP Address AutomaticallyIP Address Automatically

Assign IP address Assign IP address of 192.168.120.133 of 192.168.120.133

Assign IP address Assign IP address of 192.168.120.133 of 192.168.120.133

DHCP Client DHCP Server

Request for IP addressRequest for IP address Request for IP addressRequest for IP address

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.

Automatic Private Automatic Private IP AddressingIP Addressing

Generates IP AddressGenerates IP Address

Automatic Private Automatic Private IP AddressingIP Addressing

Generates IP AddressGenerates IP Address

If No IP Address Returned

If No IP Address Returned

OR

RAITECNOLOGIA SU SOLUCION INTEGRAL

Page 8: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA SU SOLUCION INTEGRAL

1.2. Manual vs. Automatic TCP/IP Configuration1.2. Manual vs. Automatic TCP/IP Configuration

Disadvantages

Manual TCP/IP ConfigurationManual TCP/IP ConfigurationManual TCP/IP ConfigurationManual TCP/IP Configuration Automatic TCP/IP ConfigurationAutomatic TCP/IP ConfigurationAutomatic TCP/IP ConfigurationAutomatic TCP/IP Configuration

Advantages

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

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

Page 9: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA SU SOLUCION INTEGRAL

1.3. DHCP Operation1.3. DHCP Operation

IP Address1IP Address2IP Address3

DHCPDHCPDatabaseDatabase

IP Address2

IP Address1

DHCP Client:IP configuration

fromDHCP server

DHCP Server

Non-DHCP Client:static IP

configuration

DHCP Client:IP configuration

from DHCP server

RAITECNOLOGIA SU SOLUCION INTEGRAL

Page 10: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA SU SOLUCION INTEGRAL

1.4. The DHCP Lease Generation Process1.4. The DHCP Lease Generation Process

DHCP ServersDHCP Client

1111 IP Lease RequestIP Lease Request

3333 IP Lease SelectionIP Lease Selection

2222IP Lease OfferIP Lease Offer

4444IP Lease Acknowledgement

IP Lease Acknowledgement

RAITECNOLOGIA SU SOLUCION INTEGRAL

Page 11: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA SU SOLUCION INTEGRAL

1.5. The DHCP Lease Renewal Process1.5. The DHCP Lease Renewal Process

DHCPREQUESTDHCPREQUESTDHCPREQUESTDHCPREQUEST

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

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

DHCPACKDHCPACK

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

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

DHCP Client DHCP Server

RAITECNOLOGIA SU SOLUCION INTEGRAL

Page 12: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA SU SOLUCION INTEGRAL

1.6. Requirements for DHCP Servers and Clients1.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

DHCP Clients 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

Page 13: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA SU SOLUCION INTEGRAL

2. Installing the DHCP Service2. 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 what’s included in a component, click Details.

Subcomponents of Networking Services:

0.8 MB

Description:

Total disk space required:

Space available on disk:

0.9 MB

912.4 MB

Details...Details...

OK Cancel

Enables a network connected to the Internet to automatically assign a temporary IP address to a host when the host connects to the network.

COM Internet Services Proxy 0.0 MB

Domain Name System (DNS) 0.0 MB

Dynamic Host Configuration Protocol (DHCP) 0.0 MB

Internet Authentication Service 0.0 MB

QoS Admission Control Service 0.0 MB

Simple TCP/IP Services 0.0 MB

Site Server LDAP Services 1.8 MB

RAITECNOLOGIA SU SOLUCION INTEGRAL

Page 14: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA SU SOLUCION INTEGRAL

3. Authorizing the DHCP Service3. Authorizing the DHCP Service

If unauthorized, the service logs an error and will notrespond to clients

If authorized, the service starts properly DHCP Service DHCP Service

Checks For Checks For AuthorizationAuthorization

Clients DHCP Server

Domain Controller/DHCP server

DHCP Server

RAITECNOLOGIA SU SOLUCION INTEGRAL

Page 15: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA SU SOLUCION INTEGRAL

Lab A: Lab A: Creating and Authorizing a DHCP ServerCreating and Authorizing a DHCP Server

RAITECNOLOGIA SU SOLUCION INTEGRAL

Page 16: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA SU SOLUCION INTEGRAL

4. Creating and Configuring a Scope4. 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

Page 17: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA SU SOLUCION INTEGRAL

4.1. Overview of Scopes4.1. Overview of Scopes

ScopeScopeScopeScope

192.168.1.0192.168.1.1192.168.1.2192.168.1.3192.168.1.4

IP Addresses Available for Lease to Client Computers

DHCP Server

RAITECNOLOGIA SU SOLUCION INTEGRAL

Page 18: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA SU SOLUCION INTEGRAL

4.2. Using the New Scope Wizard4.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

Page 19: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA SU SOLUCION INTEGRAL

4.3. Configuring a Scope with Options4.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

Page 20: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA SU SOLUCION INTEGRAL

4.4. Customizing the Use of Scope Options4.4. Customizing the Use of Scope Options

Scope OptionsScope Options

Reserved Client LevelReserved Client Level

Server LevelServer Level

Scope LevelScope Level

Class LevelClass Level

RAITECNOLOGIA SU SOLUCION INTEGRAL

Page 21: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA SU SOLUCION INTEGRAL

4.5. Reserving IP Addresses for Client Computers4.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

Add Close

Stuttgart Server

192 . 168 . 1 . 201

DHCP Reservation for Server

00a024e2b01a

RAITECNOLOGIA SU SOLUCION INTEGRAL

Page 22: Automating IP Address Assignment Ing. Iván Méndez Alvarado RAI TECNOLOGIA SU SOLUCION INTEGRAL

Lab B: Lab B: Configuring a DHCP Scope Configuring a DHCP Scope

RAITECNOLOGIA SU SOLUCION INTEGRAL