none
When the DHCP client sends the broadcast request for the first time , what is the IP address it uses to enter network. RRS feed

  • Question

  • When the DHCP client sends the broadcast request for the first time ,  what is the IP address it uses to enter network.

    can some one help me here.


    Paramesh KA

    Tuesday, February 9, 2016 10:51 AM

Answers

  • Hi Paramesh123,

    >>Please let me know what is 0.0.0.0 IP mean in system.

    In the IPv4 protocol,the address 0.0.0.0 is a non-routable meta-address used to designate an invalid, unknown or non-applicable target.

    In the context of servers, 0.0.0.0 means "all IPv4 addresses on the local machine". If a host has two IP addresses, 192.168.1.1 and 10.1.2.1, and a server running on the host listens on 0.0.0.0, it will be reachable at both of those IPs.

    In the context of routing, 0.0.0.0 usually means the default route, i.e. the route which leads to "the rest of" the internet instead of somewhere on the local network.

    Best regards,


    Andy_Pan


    • Edited by Hello_2018 Wednesday, February 10, 2016 5:59 AM
    • Marked as answer by paramesh123 Thursday, February 11, 2016 4:23 AM
    Wednesday, February 10, 2016 5:59 AM

All replies

  • The client does not have to have an IP address when using DHCP. if the client already has an IP address, then that address will be passed in client IP address field of DhcpDiscover message, so that the server can renew existing lease. Otherwise the client address is set to 0.0.0.0. The client also specifies its hardware address (MAC): that's the address used to communicate with the client during DHCP chat. The server selects scope for IP allocation using either subnet info of the interface through which it receives dhcp message or gateway address field of DHCP message (which is defined by the relaying agent).  

    Gleb.

    • Proposed as answer by Hello_2018 Wednesday, February 10, 2016 6:00 AM
    Tuesday, February 9, 2016 11:08 AM
  • All you need is to read this for information you need about DHCP basics: https://support.microsoft.com/en-us/kb/169289

    The broadcast is done on 255.255.255.255.


    This posting is provided AS IS with no warranties or guarantees , and confers no rights.

    Ahmed MALEK

    My Website Link

    My Linkedin Profile

    My MVP Profile

    • Proposed as answer by Hello_2018 Wednesday, February 10, 2016 5:59 AM
    Tuesday, February 9, 2016 11:13 PM
  • Hello Gleb,

    Thanks for the answer.

    Please let me know what is 0.0.0.0 IP mean in system.


    Paramesh KA

    Wednesday, February 10, 2016 4:17 AM
  • Hi Paramesh123,

    >>Please let me know what is 0.0.0.0 IP mean in system.

    In the IPv4 protocol,the address 0.0.0.0 is a non-routable meta-address used to designate an invalid, unknown or non-applicable target.

    In the context of servers, 0.0.0.0 means "all IPv4 addresses on the local machine". If a host has two IP addresses, 192.168.1.1 and 10.1.2.1, and a server running on the host listens on 0.0.0.0, it will be reachable at both of those IPs.

    In the context of routing, 0.0.0.0 usually means the default route, i.e. the route which leads to "the rest of" the internet instead of somewhere on the local network.

    Best regards,


    Andy_Pan


    • Edited by Hello_2018 Wednesday, February 10, 2016 5:59 AM
    • Marked as answer by paramesh123 Thursday, February 11, 2016 4:23 AM
    Wednesday, February 10, 2016 5:59 AM