question

BoopathiSubramaniam-6294 avatar image
0 Votes"
BoopathiSubramaniam-6294 asked DSPatrick answered

IP Address Assignment and DHCP

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-10-networkwindows-dhcp-dns
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,


Just want to confirm the current situations.


Please feel free to let me know if you need further assistance.


Best Regards,
Mulder

0 Votes 0 ·

Hi,

Just checking if you have fixed the issue? And is there something else I can do for you?

Best Regards,
Mulder

0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered BoopathiSubramaniam-6294 commented

How long did you wait? Also try ipcofig /renew something here may also help.
https://docs.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--





· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello DSPatrick,

Thanks for the information. It is very useful. I will write back after the outcome.

0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered BoopathiSubramaniam-6294 commented

Glad to hear it was helpful.

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





· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I need a help in understanding.

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

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

0 Votes 0 ·
JiangZhang-MSFT avatar image JiangZhang-MSFT BoopathiSubramaniam-6294 ·
  1. Computer receives APIAP IP Address because you didnt run ipconfig /release> ipconfig /renew command in CMD as administrator to receive IP Address which is assigned by DHCP.

2.Once there is a communication with DHCP, the computer will remain APIPA address unless you execute CMD commands ipconfig /release> ipconfig /renew by run as administrator to receive IP Address which is assigned by DHCP.

0 Votes 0 ·

Hello JiangZhang,
Thank you for the detailed update.

0 Votes 0 ·
JiangZhang-MSFT avatar image
0 Votes"
JiangZhang-MSFT answered BoopathiSubramaniam-6294 commented

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.



image.png (181.3 KiB)
image.png (182.4 KiB)
image.png (199.5 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello Mulder Zhang,

Thank you for your testing and It is very useful. I will let you know once i connect with user of the problematic computer

0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered DSPatrick commented

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--













· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello DSPatrick,
Thanks for the detailed update.

0 Votes 0 ·
DSPatrick avatar image DSPatrick BoopathiSubramaniam-6294 ·

You're welcome.

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





0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered

Just checking if there's any progress or updates?

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








5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.