allocating ip addresses by using dhcp

Upload: kris-merz

Post on 09-Apr-2018

225 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    1/34

    Module 2: Allocating IPAddressing by Using Dynamic

    Host Configuration Protocol(DHCP)

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    2/34

    Overview

    Multimedia: The Role of DHCP in the NetworkInfrastructure

    Adding and Authorizing a DHCP Server Service

    Configuring a DHCP Scope

    Configuring a DHCP Reservation

    Configuring DHCP Options

    Configuring a DHCP Relay Agent

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    3/34

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    4/34

    Lesson: Adding and Authorizing a DHCP Server Service

    Why Use DHCP?

    How DHCP Allocates IP Addresses

    How the DHCP Lease Generation Process Works

    How the DHCP Lease Renewal Process WorksHow to Add a DHCP Server Service

    How a DHCP Server Service Is Authorized

    How to Authorize a DHCP Server Service

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    5/34

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    6/34

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    7/34

    How the DHCP Lease Generation Process Works

    DHCP client broadcasts a DHCPDISCOVER packet1DHCP servers broadcast a DHCPOFFER packet2

    DHCP client broadcasts a DHCPREQUEST packet3

    DHCP Server1 broadcasts a DHCPACK packet4

    DHCP

    Client

    DHCP

    Server1

    DHCP

    Server2

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    8/34

    How the DHCP Lease Renewal Process Works

    DHCP ClientDHCP

    Server1

    DHCP

    Server2

    DHCP Client sends a DHCPREQUEST packet1

    DHCP Server1 sends a DHCPACK packet2

    50% of leaseduration has

    expired

    87.5% of leaseduration has

    expired

    100% of leaseduration has

    expired

    If the client fails to renew its lease, after 50% of the lease

    duration has expired, then the DHCP lease renewal process will

    begin again after 87.5% of the lease duration has expired

    If the client fails to renew its lease, after 87.5% of the lease hasexpired, then the DHCP lease generation process starts overagain with a DHCP client broadcasting a DHCPDISCOVER

    DHCP ClientDHCP

    Server1

    DHCP

    Server2

    DHCP client sends a DHCPREQUEST packet1

    DHCP Server1 sends a DHCPACK packet2

    50% of leaseduration has

    expired

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    9/34

    How to Add a DHCP Server Service

    Your instructor will demonstrate how to:

    Prepare to add a DHCP Server service

    Add a DHCP Server ser

    vice

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    10/34

    How a DHCP Server Service Is Authorized

    DomainController

    Active

    Directory

    DHCP Client

    DHCP Server1 checks with thedomain controller to obtain a list

    of authorized DHCP servers

    Unauthorized

    Does not service

    DHCP requests

    Authorized

    Services DHCP

    requests

    DHCP Server1

    DHCP Server2

    If DHCP Server1 finds its IPaddress on the list, the service

    starts and supports DHCP clients

    DHCP Server2 checks with thedomain controller to obtain a list ofauthorized DHCP servers

    If DHCP Server2 does not find its IPaddress on the list, the service doesnot start and support DHCP clients

    DHCP client receives IP addressfrom authorized DHCP Server1

    DHCP client receives IP addressfrom authorized DHCP Server1

    DomainController

    Active

    Directory

    DHCP Client Unauthorized

    Does not service

    DHCP requests

    Authorized

    Services DHCP

    requests

    DHCP Server1

    DHCP Server2

    DHCP authorization is the process of registering the DHCP Server service in the

    Active Directory domain to support DHCP clients

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    11/34

    How to Authorize a DHCP Server Service

    Your instructor will demonstrate how to:

    Apply the requirement for authorizing a DHCP Serverservice

    Authorize a DHCP Server service

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    12/34

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    13/34

    Lesson: Configuring a DHCP Scope

    What Are DHCP Scopes?

    How to Configure a DHCP Scope

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    14/34

    What Are DHCP Scopes?

    A scope is a range of IP addresses that are available to be leased

    Scope PropertiesNetwork ID Lease duration Scope name

    Subnet mask Router Exclusion range

    Network IPaddress range

    LAN A LAN B

    DHCP Server

    Scope BScope A

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    15/34

    How to Configure a DHCP Scope

    Your instructor will demonstrate how to:

    Configure a DHCP scope

    Activate a DHCP scope

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    16/34

    Practice: Configuring a DHCP Scope

    In this practice, you will configure a DHCPscope

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    17/34

    Lesson: Configuring a DHCP Reservation

    What Is a DHCP Reservation?

    How to Configure a DHCP Reservation

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    18/34

    What Is a DHCP Reservation?

    A reservation is a specific IP address, within a scope, that ispermanently reserved for leased use to a specific DHCP client

    Subnet A Subnet B

    Workstation 1

    DHCP Server

    Workstation 2

    File andPrint Server

    IP Address1: Leased to Workstation 1

    IP Address2: Leased to Workstation 2

    IP Address3: Reserved forFile and Print Server

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    19/34

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    20/34

    Practice: Configuring a DHCP Reservation

    In this practice, you will configure a DHCPreservation

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    21/34

    Lesson: Configuring DHCP Options

    What Are DHCP Options?

    How DHCP Server, Scope, and Reserved Client OptionsAre Applied

    How DHCP Class-level Options Are Applied

    How to Configure DHCP Options

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    22/34

    What Are DHCP Options?

    DHCP options are configuration parameters that a DHCPservice assigns to clients along with the IP address anddefault gateway

    DHCP Client

    DHCP Server

    DHCP Client IP Configuration Data

    Clients IP address

    Clients subnet mask

    DHCP options such as:

    Routers IP addressDNS servers IP addressWINS servers IP addressDNS domain name

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    23/34

    How DHCP Server, Scope, and Reserved Client OptionsAre Applied

    DHCP option applied at the

    server level

    DHCP option applied at the

    scope level

    DHCP option applied at the

    reserved-client level

    Scope A Scope B

    Windows XP

    DHCP ServerWindows 98

    Windows XP

    Router

    File andPrint Server

    Scope A Scope B

    Windows XP

    DHCP ServerWindows 98

    Windows XP

    Router

    File andPrint Server

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    24/34

    How DHCP Class-level Options Are Applied

    DHCP option applied at the

    class level

    Scope A Scope B

    DHCP ServerWindows 98

    Windows XP Windows XP

    Router Router

    File andPrint Server

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    25/34

    How to Configure DHCP Options

    Your instructor will demonstrate how to:

    Configure a DHCP server option

    Configure a DHCP scope option

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    26/34

    Practice: Configuring DHCP Options

    In this practice, you will configure DHCPoptions

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    27/34

    Lesson: Configuring a DHCP Relay Agent

    What Is a DHCP Relay Agent?

    How a DHCP Relay Agent Works

    How a DHCP Relay Agent Uses Hop Count

    How a DHCP Relay Agent Uses Boot ThresholdHow to Configure a DHCP Relay Agent

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    28/34

    What Is a DHCP Relay Agent?

    A DHCP relay agent is a computer or router configured to listen forDHCP/BOOTP broadcasts from DHCP clients and then relay those messagesto DCHP servers on different subnets

    DHCP Server

    Client

    DHCP Relay Agent

    Client Client Client

    Routers

    Non-RFC 1542Compliant

    UnicastUnicast

    Broadcast

    Subnet A Subnet B

    Broadcast

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    29/34

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    30/34

    How a DHCP Relay Agent Uses Hop Count

    The hop count threshold is the number of routers that the packet can betransmitted through before being discarded

    DHCP Relay Agent 2

    DHCP Server

    Hop Count = 2

    DHCP Relay Agent 1

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    31/34

    How a DHCP Relay Agent Uses Boot Threshold

    DHCP Server 2

    DHCP Server 3

    DHCP Relay Agent

    Boot Threshold

    = 10 seconds

    Local DHCPServer

    DHCP Server 2

    DHCP Server 3

    DHCP Relay Agent

    Boot Threshold

    = 10 seconds

    Local DHCPServer

    The boot threshold is the length of time in seconds that the DHCPRelay Agent will wait for a local DHCP server to respond to clientrequests before forwarding the request

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    32/34

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    33/34

    Practice: Configuring the DHCP Relay Agent

    In this practice, you will configure a DHCPRelay Agent

  • 8/8/2019 Allocating IP Addresses by Using DHCP

    34/34

    Lab A: Identifying and Resolving Common Issues WhenAllocating IP Addressing by Using DHCP

    In this lab, you will identify and resolvecommon issues when allocating IPaddressing by using DHCP