2

What is the fastest way to force my iPhone to obtain a new IP-address?

One way to get a new IP-address is to simply restart the iPhone, but that is rather slow. Is there any faster way to obtain a new IP-address?

I'm running iPhone OS 3.0 and I'm getting my Internet connectivity over GPRS.

4 Answers 4

8

The quickest way I have found to reset all the network connections (wifi, 3g/edge/gprs) is to go to settings and turn on "Airplane Mode" for a few seconds and then turn it off again. It will reset all network connections.

Settings-->Airplane Mode

I have found this also to help when my phone doesn't connect to 3g in a known 3g area.

2
  • @knorv This is RENEWING IP only, not getting a new IP-address!
    – deddebme
    Aug 26, 2009 at 4:54
  • 1
    I didn't say it reset the IP, I just said it resets the connections. deddebme is correct in it being up to the carrier/server to give you a new ip. Sometimes you get a new one, sometimes you don't.
    – Troggy
    Aug 26, 2009 at 5:28
1

Turn wireless off and on again? It may not actually get a new IP as it may just renew the lease.

I don't have a ipod/iphone so I don't know if there is a renew IP button, but i would take a look around any network settings, especially the page on wifi where it says what your current status / connection is (going from memory on my brothers one)

2
  • getting a new NAT ip depends on the DHCP server, not the client, in this case the iPhone.
    – deddebme
    Aug 24, 2009 at 1:52
  • That's why I said it may just renew the lease and not get a new ip. Aug 24, 2009 at 9:19
0

There is definitely a "Renew Lease" button.

Go to Settings, Wi-Fi, click the blue arrow next to a network and you'll see it. You can also tell it to "forget" the current network it's on.

1
  • 1
    But OP was using GPRS, not wifi.
    – Jonik
    Aug 24, 2009 at 4:37
0

Ok, go into the settings and change the wifi setting inside the chosen network from DHCP or whatever to Static. Copy all data except IP address. Take the first 3 sections of your assigned IP and copy them. Ex: IP is 143.23.0.198, copy over 143.23.0. then make up the last 3 didgets, making sure not to use 0,1, or 255. Those are specifically reserved for network tasks. then you should be good. it worked for me.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.