DHCP explained- DORA Process

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024
  • We all use mobile phones and laptops or pc at home or at office to access network resources such as internet or a printer etc.
    To access the network and its resources every device on a TCP/IP-based network must have a unique unicast
    IP address.
    Along with IP address each device must be assigned a default gateway and IP Address of DNS servers
    Two basic IP address assignment methods:
    Static
    Dynamic
    ■ Static:
    An IP address is statically assigned to a device by the administrator.
    The administrator configures the IP address, subnet mask, default gateway, and name servers IP manually.
    Static address assignment is an extra burden for the administrator-especially on large-scale networks- who must configure the address on every end system in the network.
    ■ Dynamic
    IP addresses are assigned to the end systems by DHCP server.
    DHCP stands for dynamic host configuration protocol
    (DHCP) is a client/server protocol used for address assignment.
    With DHCP, this entire process is automated and managed centrally.
    This method relieves the administrator of manually assigning an address to every network device.
    On the client machine you have to select the option as obtain ip add and dns automatically.
    It automatically provides all the parameters to the end device
    DHCP Scope is a pool of IP addresses or usually a range of consecutive numbers within a single IP subnet maintained by DHCP server. DHCP server assigns IP’s to the client from this pool/scope.
    Any numbers that the administrator does not want to have handed out can be excluded from the pool
    DHCP adopts the concept of a “lease” in IP allocation.
    It sets a “lease duration” and allow the client to use the allocated IP address only during the set lease duration.
    If the client want to renew or wishes to use the allocated IP address for longer than the lease duration, it should request the DHCP server for renewal of the lease.
    If the device is disconnected or powered off , it releases the IP instead and returns to the pool for reallocation.
    #DHCP #DORA #CCNA #IP
    what happens when DHCP client requests an IP address from DHCP Server.
    There are some messages which are exchanged between the DHCP Server and Client.
    This process is divided in to four steps
    1. DHCPDISCOVER :
    * When a DHCP client first boots up, it broadcasts a DHCPDiscover message. This message is intiated from DHCP Client to DHCP Server, to find the DHCP server on the local network
    2. DHCPOFFER :
    If a DHCP server exists on the local segment, it will respond with a DHCPOffer.
    This offer message is From DHCP Server to DHCP Client , to offer the IP Parameters, which contains IP address, subnet mask etc.
    3. DHCPREQUEST:
    * Once the client receives the offer, it will respond with a DHCPRequest, indicating that it will accept the offered protocol information.
    * This message is from DHCP Client to DHCP Server, giving a request to get the offered IP Parameters
    4. DHCPACK:
    Finally, the server responds with DHCPAck, acknowledging the client acceptance of offered protocol information
    This message is from DHCP server to DHCP Client, giving confirmation to use the the offered IP parameters.
    This process is also known as DORA process.
    DHCP is a UDP service.
    Uses two UDP port numbers for its operations
    DHCP Server uses the UDP port 67 and DHCP client uses UDP port 68.
    Use of ports number prevents an application from getting a message from a completely different protocol.
    If the client and server are on different subnets, well a DHCP Helper or DHCP Relay Agent must be used in this case.
    Other than dynamically assigning IP addresses to client machines DHCP also has the ability to provide various other interesting parameters or DHCP options to client machines, like timezone information, boot arguments/paths, NTP servers, static routes, host name of the client, very useful for IoT and any device without user
    For more information on DHCP options/ parameters please go through RFC1533
    #CCNA #DHCP #Free

ความคิดเห็น • 27

  • @chachaji1450
    @chachaji1450 2 ปีที่แล้ว +4

    Masha Allah short and brief and to the point. May Allah give you success in whatever you do.

  • @rutujakawade2435
    @rutujakawade2435 3 ปีที่แล้ว +1

    Nicely Explained!
    Btw, What's the software/graphics used to make the slides? The drawing part looks wonderful.

  • @Innn34
    @Innn34 2 ปีที่แล้ว

    It's very useful, thank you so much!!!

  • @punitanand5981
    @punitanand5981 2 ปีที่แล้ว

    Well explained ❤️

  • @nishantsaloki
    @nishantsaloki 2 ปีที่แล้ว

    very good video

  • @Mallunetworking
    @Mallunetworking 4 ปีที่แล้ว +1

    Nice

  • @kuzhenabelorim1419
    @kuzhenabelorim1419 2 ปีที่แล้ว

    Good Explaination. Great Vidéo,
    I have a question when configuring DHCP server any user can connect LAN with thier laptop to access thé network and Internet. Is there any other ways to stop DHCP from release IP address to thé ungistered (not registered to domain ) Users laptop/computers.

  • @iQuickGaming
    @iQuickGaming ปีที่แล้ว

    good

  • @abulshah8576
    @abulshah8576 4 ปีที่แล้ว

    Masha Allah, keep up the good work.

  • @thuyho2259
    @thuyho2259 2 ปีที่แล้ว

    Is it possible to set up DHCP in cloud to serve IP addresses for computers from multiple companies? Thank you

    • @networkingwithh4716
      @networkingwithh4716  2 ปีที่แล้ว +1

      yes virtual DHCP.

    • @thuyho2259
      @thuyho2259 2 ปีที่แล้ว

      Thank you for the reply. If two companies have the same subnet and I only have one virtual DHCP in the cloud, the DHCP might give the same IP addresses to two companies. How do I handle this case? Thank you so much.

    • @networkingwithh4716
      @networkingwithh4716  2 ปีที่แล้ว

      ummm....why would two different companies share the same DHCP server?

  • @newuser2474
    @newuser2474 3 ปีที่แล้ว

    Question - but how the dhcp client know that it has to broadcast a discovery request?

    • @maciejgowczyk9740
      @maciejgowczyk9740 2 ปีที่แล้ว

      he does not have ip address, so first thing after reboot it checka if any address is set manually. If not it will send Dhcp Discover to network

  • @rawanalthrwi5013
    @rawanalthrwi5013 2 ปีที่แล้ว

    What is the maximum clients that a DHCP server can support?

  • @msvibez1131
    @msvibez1131 2 ปีที่แล้ว

    Ok boomer