Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iPad getting wrong IP address from router?

Greetings, all.

I have a Netgear 11g router and connect just fine with my wireless laptops - IP addresses on the laptops are in the expected range (192.161.1.2-50 DHCP provided). All internet works fine.

So now I've just bought an iPad. It sees my named network, connects via DHCP successfully but the IP address listed by the iPad is not what I expected! It reflects 169.254.235.xxx (which is not the external ip, either).

I've tried many of the tricks listed on this site - Am broadcasting only 11g... have tried hardcoding static addresses... am a foot away from router... have done a refresh/reboots... but nothing works. Even tho the wireless connection appears in the menu bar, no apps can access the internet.

Help me Obi-wan. Why am I getting a different IP address than what I have enabled? You're my only hope.

ipad, Other OS, ipad

Posted on Apr 10, 2010 12:34 PM

Reply
28 replies

May 9, 2011 1:12 AM in response to Golfboy

I have my router's DHCP server set to hand out static IPs based on a machine's MAC address, though keep my clients configured to grab their IPs with DHCP. I have some customized DNS and domain settings I like to propagate without manually configuring any machine that may join my network. The iPad plays well with this configuration most of the time, but it fails often enough to be annoying. When I manually assign the iPad an IP rather than fetch it via DHCP everything is seamless. My network has a wireless repeater on it to expand my range a bit, and I suspect this is what's occasionally causing the problem.

Oct 19, 2011 5:07 AM in response to Golfboy

I have had this problem too, but everything worked for weeks before it went wrong. I have just checked my router and discovered that I had reserved an IP address for an old printer which is now being used by a new printer using a fixed IP address. Possibly this was slowing the DHCP down and causing the problem described in another post. I deleted the reservation and the iPad picked up an IP address immediately. However this does not account for the weeks of normal operation.

Sep 9, 2013 11:18 AM in response to Golfboy

Thank you Golf Boy!!


My iPad2 had connected to Netgear router with no problems for 2 years before suddenly picking up wrong ip address as above. Spent a whole day trawling for solutions, tried all sorts, close to giving-up as read over and over it's a router problem / iOS 6 not compatible with older router software, Golf Boy's solution of setting router to broadcast 11/b only finally did the trick! Changed the setting, told iPad to 'forget this network', unplugged router for a while, plugged it back in, logged into wifi, working at last.

Jul 18, 2014 6:46 PM in response to Golfboy

This post is old but it popped up on the first page of my google search for this problem so I'm going to reply anyway.


My router has a setting where it can reserve an IP address for individual MAC addresses so that each time a device connects to the network, it's given the same IP. Well after a couple years, all the availible IP's had gotten reserved and there were none left for my new phone. Deleting some of the unused entries and now my phone connects as should.


Just another thing to check.

Aug 3, 2016 2:35 AM in response to Golfboy

I have the same on an iPhone. I am using Unifi APs, and FireBrick DHCP.


I have narrowed the problem down to when the phone changes between APs (same SSID and network). It drops the existing DHCP lease regardless of lease or renewal time. It is a bit intermittent, but seems reasonably reproducible now.


The pcaps I have run show that it does not send a new DHCP request at all. In some cases I have seen it send one minutes later. During the gap it is actually working on IPv6 but not IPv4. Typically it will show no IPv4 on the WiFi status page, and eventually switch to a 169 address (which you use when no DHCP server).


I have seen LLC "receiver not ready" messages even. I have tried numerous changes to DHCP, including lease time, TTL on replies, and so on, but as it seems not to be sending a request at all during this period then there is nothing the DHCP server can actually do. It has been like this for quite some time, and is very annoying. I see if every day as I move through my house and it changes APs.


In all cases, turning wifi off and on, or turning airplane mode on and off, will immediately cause a DHCP request and correct allocation of IPv4.


I am happy to do more packet dumps if that would help Apple fix this.

Aug 3, 2016 7:00 AM in response to AdrianKennard

It is more likely that the network is dropping the lease, not the phone. As the phone doesn't know it has been dropped it doesn't send a new DHCP request. I use my phone in offices with dozens of access points, and the connection moves from one to another seamlessly. Likewise for my ISP's public access points. There are something over 100,000 of them, and the phone always connects to the nearest one (even when I don't want it to).

Aug 3, 2016 7:04 AM in response to Lawrence Finch

No, this is the phone dropping it as in it shows no IP address on the wifi status page and does not answer the IP, either IP packets, or later ARPs, sent to it during this period. The phone has linked to the new AP and is using the same MAC as can be seen by working IPv6 traffic both ways during the period. The phone has dropped the IPv4 address on change of AP. There may be some other factor - make of AP, or use of IPv6 or something, but this is very repeatable.

iPad getting wrong IP address from router?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.