Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I've setup a WiFi network to allow iOS devices (such as my iPad) to connect to other devices on the local network, but I want to be able to use the 3G functionality on my iPad at the same time to connect to the internet. How can I setup the WiFi so that the iOS device doesn't think there's an internet connection through it?

I've tried setting the DHCP Gateway to 0.0.0.0 but this just seems to confuse the iPad - the spinning circle next to the Wifi network never disappears even though it has an IP address from the DHCP server.

Update: I was able to set the DHCP Gateway to 0 and the Router entry now appears as blank, but the spinning circle still doesn't disappear.

Update: Setting the DHCP Gateway to 0 or 0.0.0.0 works fine for Windows, Android and Windows Mobile so I'm beginning to think this is an iOS bug. I've posted a question on the Apple iOS Dev forum here.

share|improve this question
1  
Not sure I understand - if you want to use 3G, why not just turn off Wi-Fi? –  JW8 Sep 3 '12 at 5:36
2  
If I understand this correctly you want your iPhone/iPad to connect via WLAN for addresses in your local network and via 3G for all other addresses? –  patrix Sep 3 '12 at 6:32
    
Basically yes. The addresses in the local network will be discovered using Bonjour, but for anything else we want it to fall back to 3G. –  parsley72 Sep 3 '12 at 23:43
add comment

2 Answers 2

You should define a STATIC address for the WiFi/LAN. (define an correct netmask, and dont enter any router/gateway address ). (see the static tab in the @Michiel's screenshot.)

When you done, you can access the computers on WiFi network and you will access the rest of the Internet via 3G.

This is what you looking for?

share|improve this answer
    
I should have been more specific. We want the Wifi to use DHCP so this isn't an option. How can I set the DHCP gateway to a value that the iPad will read as unset? –  parsley72 Sep 3 '12 at 23:45
    
@parsley72 Why are you so set on DHCP? Unless there's something I'm missing, it's not going to be of a benefit to you in this situation. By the way, nice answer, @kobame! –  Andrew Larsson Sep 5 '12 at 17:43
    
If you don't have DHCP then the iOS device takes about a minute to assign a zeroconfig address. This isn't a good user experience. –  parsley72 Sep 5 '12 at 23:29
    
This is the right answer. Set the Static address to the address you received from the DHCP server, leave out the gateway. This is how I do it, works great. –  dennis.hempler Mar 7 '13 at 23:32
    
I'm trying to setup a network on a product to sell to non-technical customers. Asking them to set a static address isn't very convenient. –  parsley72 Sep 21 '13 at 3:52
add comment
up vote 3 down vote accepted

This appears to be fixed in iOS7 - I set the DHCP Gateway to 0.0.0.0 and the iPad connects with a tickbox rather than leaving the spinning circle.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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