Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In
Continue with Google
or use


Have an account? Sign In Now

Sign In

Continue with Google
or use

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question.

Continue with Google
or use

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Network Classmate Logo Network Classmate Logo
Sign InSign Up

Network Classmate

Network Classmate Navigation

  • Home
  • Article
  • Q&A
  • Guest Post
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Feed
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
Home/ Questions/Q 2684
Next
In Process
Shailendra Yadav
Shailendra YadavLevel 50
Asked: August 3, 20212021-08-03T16:24:32+05:30 2021-08-03T16:24:32+05:30

How Do Dhcp Servers Respond To A Dhcpdiscover Message?

How Do Dhcp Servers Respond To A Dhcpdiscover Message?
  • 1
  • 1 1 Answer
  • 56 Views
  • 0 Followers
Answer
Share
  • Facebook

    Related Questions

    • What Do You Mean By Https?
    • How To Check TLS Version On Aix Server?
    • How To Change Permissions For Entire Directory In Linux?
    • What Does The Tracert Command Do?
    • How To Connect Uverse Receiver To Wifi?

    1 Answer

    • Voted
    • Oldest
    • Recent
    1. Network Classmate Bronze
      2021-08-04T00:32:45+05:30Added an answer on August 4, 2021 at 12:32 am

      How do DHCP servers respond to a DHCP discover message?
      Before we discuss the DHCP, let us know to look at an example of the TCP/IP network configuration. By taking windows as the example let us start a window command prompt and type IP config/all and press enter.

      After pressing enter we can see the computer’s physical address, IP address, subnet mask lease obtained. We can use these configuration credentials for a couple of days. We can also see the IP addresses of the default gateway, DHCP server, and DNS servers. These are useful for connecting the Internet. Now let us know how does the computer or more specifically the wireless adapter gets this network connection information.

      The DHCP stands for Dynamic host configuration protocol that allows the DHCP server to set the TCP/IP network automatically and for the configuration of the client computer. Without the presence of the DHCP technology, we can set up all the configuration values manually by the computer. And this process of setting up the client computer is called static addressing. We can know the difficulty if we do not use the DHCP network.

      Now let us know how the DHCP works. When the client computer boots up in the broadcast DHCP discover the message it doesn’t matter how where the client computer is present. It may be at home or at an unknown location. It would send the packet by looking for the DHCP server. If the client has no idea that there is a DHCP server present nearby, then the broadcast is the only way to notice the destination IP address. The DHCP discover packet asks if there is any DHCP server present out there and informs that it wants to connect to the Internet.

      And coming to the next step, if there is any DHCP server present close by and if it hears the DHCPDiscover message then the DHCP server responds by sending a message called the DHCPOFFER message. The DHCPOFFER is a broadcast UDP packet. It simply replies as it heard the message and tells that it can lease the IP address. And we can connect to the local network. It also tells the IP address of the default gateway and the DNS servers so that we can go to the Internet.

      Coming to another step, the DHCP client responds with the DHCPREQUEST. It says that it accepts all the TCP/IP information and the lease term.

      And in the next step, the DHCP server replies to the DHCPACK message. It is nothing but the acknowledgment packet. It says OK and tells to use the network and register the MAC address or the other information in the DHCP database. And this is the process of the DHCP.

      The DHCP is the dynamic way of giving the client computer network connection credentials between the DHCP servers. And the clients have broadcast UDP and not in the TCP. The client uses port 68 and the server can use port 67. Type the IP config/release and then reload a browser, if you are using windows. We can see it as the no internet connection. Now type IP config/renew now we can see that the internet is back.

      • 0
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    You must login to add an answer.

    Continue with Google
    or use

    Forgot Password?

    Need An Account, Sign Up Here

    Sidebar

    Top Members

    Shailendra Yadav

    Shailendra Yadav

    • 2k Questions
    • 52k Points
    Level 50
    Sneha Singh

    Sneha Singh

    • 2k Questions
    • 41k Points
    Level 40
    Nilay Sharma

    Nilay Sharma

    • 0 Questions
    • 33k Points
    Level 30
    • Popular
    • Comments
    • Farwa Khalid

      Half Duplex Versus Full Duplex

      • 3 Comments
    • Farwa Khalid

      What Is Split Horizon

      • 0 Comments
    • Farwa Khalid

      What Is Ping Spoofing

      • 0 Comments
    • Farwa Khalid

      What Is Wireless Isolation?

      • 0 Comments
    • Farwa Khalid

      What Is Radio Network Controller?

      • 0 Comments
    • What is Circuit Switching - Network Classmate
      What is Circuit Switching - Network Classmate added a comment […] needs to be established. It is additive into two… November 30, 2022 at 11:36 am
    • Difference Between Router And Switch - Network Classmate
      Difference Between Router And Switch - Network Classmate added a comment […] router works in the full-duplex transmission mode. However, we… November 30, 2022 at 11:36 am
    • Communication Protocols - Network Classmate
      Communication Protocols - Network Classmate added a comment […] receiver. It is two wired protocols. Rx and Tx… November 30, 2022 at 11:35 am

    • Home
    • Groups page
    • Communities
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Polls
    • Tags
    • Badges




    Footer

    Important Links

    • Home
    • Article
    • Q&A
    • Guest Post

    Useful Categories

    • Basic Networking
    • Basic Security
    • CCNA R & S
    • CCNA Security
    • Download

    Legal Stuff

    • About Us
    • Contact Us
    • Privacy Policy
    • Terms of Service
    • User Data Policy

    Social Links

    • Facebook
    • Instagram
    • Twitter
    • Telegram
    • Linkedin

    Copyrights © 2023 Network Classmate™. All Rights Reserved.
    Designed by LeadsNut

    Manage Cookie Consent
    To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
    Functional Always active
    The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
    Preferences
    The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
    Statistics
    The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
    Marketing
    The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
    Manage options Manage services Manage vendors Read more about these purposes
    View preferences
    {title} {title} {title}