ip address - 169.254.x.x vs

when the router is doing its job, the pc's connected have an ip of 192.168.x.x
but when i disconnect the router cable for some reason and plug in again, it switched back to 169.254.x.x what could be cause for this and how to avoid it? (it cant go online now)

Who is Participating?
JohnConnect With a Mentor Business Consultant (Owner)Commented:
In addition to all the suggestions above:

1. In my experience, a router is best connected to the source (modem - as I expect you mean by router cable) via DHCP to the modem.

2. Ask your ISP to reset the modem and then prepare to plug in the router set for DHCP to the modem.
vmaganConnect With a Mentor Commented:
when you get a 169.254 address it is because the pc cannot reach the DHCP server. that 169.254 is an Apipa address which stands for Automatic private IP address.

Make sure that it can reach the DHCP server.

if the router cable is plugged in and try to restart your pc or do an Ipconfig /renew to try and request another IP from the DHCP server.

I hope that helps.
englanddgConnect With a Mentor Commented:
Yep.  Exactly what @vmagan said.

APIPA is "Automatic Private IP Addressing".  Whenever you see a 169.254.x.x address, that's why.  It means you don't have a local static IP assignment (i.e. you told the client machine to use DHCP) and the computer, for whatever reason, cannot reach the DHCP server.
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

vmaganConnect With a Mentor Commented:
maybe even try giving that machine a static IP address.
YorickosConnect With a Mentor Commented:
Its not receiving an address from the router, you can try to avoid this by configuring an static ip address in the range of 192.168 x.x.
Santosh GuptaConnect With a Mentor Commented:
increase the lease period time of DHCP client on router.
deviprasad_sConnect With a Mentor Commented:
vmagans answer is correct ,and i would like to add one more sentence ,

any computer in the computer network need to have the address to talk to each other computer in the network ,for
that reason : address space is reserved.
169.254 is the apipa address which gets automatically.
192.168. is the private address space ,which we assign
through dhcp server .

hope this thing help , give points to vmagan. not me .

thank you
25112Author Commented:
thanks all.. what finally helped was to say  'no proxy' and then it resolved back to 192.168.. thanks again for all the options. it could have been any of the so many things :)  !
I've never seen a breakdown like this before lol. What is the point of this breakdown?
JohnBusiness Consultant (Owner)Commented:
@25112 - Thanks for the update and I was happy to help.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.