Invalid IP provided to some devices by Time Capsule

Joined
Apr 2, 2011
Messages
6
Reaction score
1
Points
3
I posted a question here earlier but didn't get any feedback; now I have a little more info to add which might help.

I connect with a MacBook Pro to a home wireless network created by a Time Capsule (1 TB). The Time Capsule is connected via a cable modem. When connecting with my MacBook, I get a valid IP address and have internet access. 2 visitors with iPhones have also managed to successfully connect (and get valid IPs and internet connection), as has another MacBook Pro. Conversely, 2 iPods and another MacBook Pro have NOT managed to get a valid IP and internet connection. To be precise, they manage to connect to the wireless network (WPA2 security), but the router doesn't give them a valid IP address (they get a 169.xxx address). It doesn't matter if I reset everything and try to connect with these devices first (such that they are the first ones to connect to the wireless network), including after resetting the Network Settings on the iPods -- they always get the 169.x IP address.

I compared all the settings on my MacBook (the one that gets a valid IP) and the MacBook that got the 169.x IP address, and found no differences -- all settings were identical.

I do NOT have Mac address blocking on in the Time Capsule.

When I connected the MacBook (that didn't get a valid IP from the Time Capsule) directly to the ethernet cable from the cable modem, it DID get a valid IP.

The problem therefore seems to be with the Time Capsule. Question is -- what can I do to fix it?

Help!!! Thanks :)
 

cwa107


Retired Staff
Joined
Dec 20, 2006
Messages
27,042
Reaction score
812
Points
113
Location
Lake Mary, Florida
Your Mac's Specs
14" MacBook Pro M1 Pro, 16GB RAM, 1TB SSD
You're having some kind of authentication problem with WPA2. A 169.x.x.x address is known as an "automatically assigned IP address" (APIPA). This happens when your computer doesn't receive an IP from DHCP, most commonly caused by failed attempt at authentication using WPA/2. The first thing I'd try would be to switch to WPA and see if the problem persists.
 
OP
I
Joined
Apr 2, 2011
Messages
6
Reaction score
1
Points
3
You're having some kind of authentication problem with WPA2. A 169.x.x.x address is known as an "automatically assigned IP address" (APIPA). This happens when your computer doesn't receive an IP from DHCP, most commonly caused by failed attempt at authentication using WPA/2. The first thing I'd try would be to switch to WPA and see if the problem persists.

Thanks, I'll try that next chance I get (when someone with another device comes by to visit...)
 
OP
I
Joined
Apr 2, 2011
Messages
6
Reaction score
1
Points
3
Okay, I ended up figuring out and solving the problem. This will probably be obvious to some, but others may benefit from the solution if they're experiencing the same problem, so I'll post it here.

I started by changing WPA2 security to WPA/WPA2 (in case it was an authentication problem via WPA2), but that didn't help. I then removed security altogether (temporarily, of course), and was surprised to find that that didn't help either... I then realized the problem was that I wasn't receiving an IP from my Internet Service Provider (ISP) for more than 2 devices (actually 3: my router was getting one, and two other devices that I connected to the wireless network). As my ISP was not willing to provide support for my router (as it was purchased privately, not through them -- very annoying...), I started trying to understand and playing with the various configuration options on my own.

It turns out the problem was with the "Connection Sharing" option (in Airport Utility, under the Internet menu, under the Internet Connection tab). Mine was set to "Off (Bridge Mode)" -- which I now understand means that every device that connects to the wireless network attempts to obtain an IP address from the ISP via DHCP. The problem is, my ISP apparently is only willing to provide 3 such distinct IPs for my account (they didn't say anything about this, but that's what I saw in practice...), so once 3 devices (including my router -- the Time Capsule) had been connected, it would not give out any more IPs, and the device would consequently self-assign one (169.x.x.x), leading to the problem I described.

So, I tried the other Connection Sharing options (not really understanding at first what I was doing...). I started with the wrong choice, "Distribute a range of IP addresses" -- I guess only the ISP can do this (i.e. distribute fixed "real" IP addresses within a given range that belong to the ISP). I then tried what turned out to be the correct choice: "Share a public IP address". This took the single unique IP that the router got from the ISP via DHCP, and shared it among whatever devices connected to the home wireless network, distributing IPs in the range 10.0.1.2 -> 200 (so I guess in principle, I can connect 199 devices...). At first it didn't work -- i.e. I managed to connect with all devices and get an IP (10.0.1.x), but I couldn't connect to any website from Safari, or use the AppStore, or Mail, or any other application that needed an internet connection. I then realized there was one more piece of information I still needed to enter: DNS servers. This is entered in Airport Utility under the Internet menu, under the TCP/IP tab, in the DNS Server(s) field. There are two fields here, I guess most ISPs have 2 DNS servers (mine did). I obtained the numbers from what appeared automatically when my computer previously got an IP directly from the ISP by DHCP when I had the Time Capsule set to Bridge Mode, which I found in the Network Preference Pane (by clicking "Advanced...", and then selecting the DNS tab) -- but I guess you can also just call your ISP and ask them for the address(es) of their DNS server(s).

In any case, once I did all that, any device I connected to the network got an IP starting at 10.0.1.2 (next one gets 10.0.1.3, etc.), and they all point to 10.0.1.1 for DNS (which then gets the actual DNS numbers from what I entered previously in the Airport Utility). This setup works and allows multiple devices to use the internet connection simultaneously (I've tried it with 4 devices connected simultaneously -- works like a charm...).

Like I said at the beginning, I'm sure much (if not all) of this will be obvious to many, but for people like me (who manage quite well with computers, but just don't know much about wireless networking), I hope it may be of help.
 

chscag

Well-known member
Staff member
Admin
Joined
Jan 23, 2008
Messages
65,248
Reaction score
1,833
Points
113
Location
Keller, Texas
Your Mac's Specs
2017 27" iMac, 10.5" iPad Pro, iPhone 8, iPhone 11, iPhone 12 Mini, Numerous iPods, Monterey
Thanks for sharing the solution. You exhibited very good trouble shooting skills - well done! And yes, the solution was obvious once you mentioned DHCP and setting in the DNS addresses. :)
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top