IP Address Assignment and DHCP

Boopathi S 3,806 Reputation points
2021-05-21T14:12:34.257+00:00

Hi,

  1. Computer installed Windows 10 Enterprise Edition operating system and connected to Ethernet Port on the computer
  2. They unplug cable at the switch to router/dhcp
  3. Then computer receives APIPA address
  4. They plug cable from switch to router/dhcp
  5. Computer do not receive IP Address

Please help to understand why Windows 10 Computer will receive IP Address and How Windows 10 client receives IP Address (Ethernet Port on the Computer-> Switch -> Router)

Windows for business | Windows Client for IT Pros | Networking | Network connectivity and file sharing
{count} votes

5 answers

Sort by: Most helpful
  1. Anonymous
    2021-05-21T14:18:40.743+00:00

    How long did you wait? Also try ipcofig /renew something here may also help.
    https://learn.microsoft.com/en-us/windows-server/troubleshoot/how-to-use-automatic-tcpip-addressing-without-a-dh#example-1-no-previous-ip-address-and-no-dhcp-server

    --please don't forget to Accept as answer if the reply is helpful--


  2. Anonymous
    2021-05-21T15:10:16.547+00:00

    Glad to hear it was helpful.

    --please don't forget to Accept as answer if the reply is helpful--


  3. Jiang Zhang 811 Reputation points
    2021-05-24T09:54:48.87+00:00

    Hi,
    I tried to imitate your environment in my lab. When I stop my DHCP server, the computer receives APIPA address after its previous IP address release ends which is assigned by DHCP.
    99065-image.png
    When I reactive my DHCP server, the computer will remain APIPA address unless i execute CMD commands ipconfig /release> ipconfig /renew by run as administrator to receive IP Address which is assigned by DHCP.
    99135-image.png

    As you can see, later i run ipconfig /all to refresh. This is how the IP Address assigned by DHCP when you unplug cable at the switch to router/ DHCP and then plug cable from switch to router/ DHCP.
    99127-image.png

    Best Regards,
    Mulder Zhang

    --------------------------------------------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  4. Anonymous
    2021-05-24T13:28:32.77+00:00

    Network cable is connected in Switch and Computer Computer receives APIAP IP Address. Does it mean whether it does not have communication with DHCP?

    The computer checks for the DHCP server and if none are found, an attempt is made to contact the default gateway. If the default gateway replies, then the Windows computer retains the previously-leased IP address. However, if the computer does not receive a response from the default gateway or if none are assigned, then it uses the automatic private IP addressing

    Once there is a communication with DHCP then computer will receive the IP Address or will it remains APIPA IP Address

    An error message is presented to the user and discover messages are transmitted every 3 minutes. Once a DHCP server comes on line, a message is generated stating communications have been re-established with a DHCP Server and address is assigned.

    --please don't forget to Accept as answer if the reply is helpful--


  5. Anonymous
    2021-05-31T01:54:42.317+00:00

    Just checking if there's any progress or updates?

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.