Dynamic Host Configuration Protocol_2

download Dynamic Host Configuration Protocol_2

of 16

Transcript of Dynamic Host Configuration Protocol_2

  • 8/12/2019 Dynamic Host Configuration Protocol_2

    1/16

    DYNAMICHOSTCONFIGURATIONPROTOCOLPRESENTEDBY-

    AANCHALARORA

    AMITSAINI

    JAGRITIRAJ

    SRISHTITIWARI

  • 8/12/2019 Dynamic Host Configuration Protocol_2

    2/16

    WHATISDHCP?The DHCP is a networkprotocol that is used toconfigure network devicesso that they cancommunicate on an IPnetwork.

  • 8/12/2019 Dynamic Host Configuration Protocol_2

    3/16

    CONTD...DHCP assigns an IP addresswhen a system is started.All IP addresses of allcomputers are stored in adatabase that resides on aserver machine.

  • 8/12/2019 Dynamic Host Configuration Protocol_2

    4/16

  • 8/12/2019 Dynamic Host Configuration Protocol_2

    5/16

    DORA DISCOVER: When a client is configured with the ipsetting to obtain IP address automatically. Then theclient will search for DHCP server and the UDPBroadcast to the server about the DHCP discover OFFER: DHCP Server will offers a scope of ip addressavailable in the pool. REQUEST: In response to the offer the Client will

    requests for an IP address. ACKNOWLEDGE:I n response to the request serverwill responds with all IP address Mask Gty Dns andwins info along with the acknowledgment packet.

  • 8/12/2019 Dynamic Host Configuration Protocol_2

    6/16

    HOW DORA WORKS? Client makes a UDP Broadcast to the server with aDHCPDiscover or Discover packet. DHCP offers to the client. In response to the offer Client requests the server. The server sends DHCPAck acknowledging therequest which is the clients final permission to takethe address as offered.

  • 8/12/2019 Dynamic Host Configuration Protocol_2

    7/16

    LEASEPERIOD The lease renewal process is the result of the

    lease period value.

    At any time during the lease period, the DHCP

    client can send a DHCP RELEASE packet to the

    DHCP server to release the IP addressconfiguration data and to cancel any remaining

    lease.

  • 8/12/2019 Dynamic Host Configuration Protocol_2

    8/16

    AUTOMATICLEASERENEWALPERIOD

    A DHCPclient automatically attempts to

    renew its lease as soon as 50 percent of the

    lease duration has expired. The DHCP

    client also attempts to renew its IP addresslease each time that the computer restarts.

    To attempt a lease renewal, the DHCP

    client sends a DHCP REQUEST packet

    directly to the DHCP server from which theclient obtained the lease.

    http://www.techbitnbyte.com/dhcp-what-is-it-why-it-is-used/http://www.techbitnbyte.com/dhcp-what-is-it-why-it-is-used/
  • 8/12/2019 Dynamic Host Configuration Protocol_2

    9/16

    MANUALLEASERENEWALYou can renew an IP

    lease manually if you

    need to update DHCP

    configuration information

    immediately.

  • 8/12/2019 Dynamic Host Configuration Protocol_2

    10/16

    APIPAThe Internet Assigned Numbers

    Authority (IANA) has reserved

    169.254.0.0-169.254.255.255 for

    Automatic Private IP Addressing.

    As a result, APIPA provides an

    address that is guaranteed not to

    conflict with routable addresses.

  • 8/12/2019 Dynamic Host Configuration Protocol_2

    11/16

    WINDOWS 98/MECLICK

    START

    CLICK

    RUN

    TYPE

    winipcfg

    CLICK

    OK

  • 8/12/2019 Dynamic Host Configuration Protocol_2

    12/16

    WINDOWS XP/2000/2003CLICK

    START

    CLICK

    RUN

    TYPECMD

    CLICK

    OK

    TYPE

    ipconfig/all

    PRESS

    ENTER

  • 8/12/2019 Dynamic Host Configuration Protocol_2

    13/16

    BOOTP In computer networking, the Bootstrap Protocol,

    is a network protocol used by a network client toobtain an IP addressfrom a configuration server.

    BOOTP is usually used during

    the bootstrapprocess when a computer is startingup. A BOOTP configuration server assigns an IPaddress to each client from a pool of addresses.

    http://en.wikipedia.org/wiki/Computer_networkinghttp://en.wikipedia.org/wiki/IP_addresshttp://en.wikipedia.org/wiki/Bootinghttp://en.wikipedia.org/wiki/Bootinghttp://en.wikipedia.org/wiki/IP_addresshttp://en.wikipedia.org/wiki/Computer_networking
  • 8/12/2019 Dynamic Host Configuration Protocol_2

    14/16

    CONTD.. BOOTP uses the User Datagram Protocol(UDP)

    as a transport on IPv4networks only.

    Historically, BOOTP has also been used for Unix-

    likediskless workstationsto obtain the networklocation of their boot imagein addition to an IP

    address, and also by enterprises to roll out a pre-

    configured client (e.g., Windows) installation to

    newly installed PCs.

    http://en.wikipedia.org/wiki/User_Datagram_Protocolhttp://en.wikipedia.org/wiki/IPv4http://en.wikipedia.org/wiki/Unix-likehttp://en.wikipedia.org/wiki/Unix-likehttp://en.wikipedia.org/wiki/Diskless_workstationhttp://en.wikipedia.org/wiki/Boot_imagehttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Boot_imagehttp://en.wikipedia.org/wiki/Diskless_workstationhttp://en.wikipedia.org/wiki/Unix-likehttp://en.wikipedia.org/wiki/Unix-likehttp://en.wikipedia.org/wiki/Unix-likehttp://en.wikipedia.org/wiki/IPv4http://en.wikipedia.org/wiki/User_Datagram_Protocol
  • 8/12/2019 Dynamic Host Configuration Protocol_2

    15/16

    DIFFERENCE BETWEEN DHCPBOOTPDHCP BOOTP

    Intended to configure frequently

    relocated networked computers

    (such as portables) that have local

    hard drives and full bootcapabilities

    Intended to configure diskless

    workstations with limited boot

    capabilities.

    8 Days expiration 30 Days expiration

    Supports a larger and extensible

    set of client configuration

    parameters called options

    Supports a limited number of client

    configuration parameters called

    vendor extensions

    DHCP clients do not require a

    system restart to rebind or renew

    configuration with the DHCP

    server.

    Describes a single-phase boot

    configuration process whereby a

    DHCP client negotiates with a

    DHCP server to determine its IP

    address and obtain any other initial

    configuration details it needs fornetwork operation.

  • 8/12/2019 Dynamic Host Configuration Protocol_2

    16/16

    ANY

    QUERIES???THANK YOU!