The Basics
Our home has a DSL line coming in to a modem on the second floor. A line then goes down to a switch/hub and through to our downstairs living room where a wireless router is set up. Up until last week, we received reliable 3Mbps Internet in this fashion to our devices (mostly iOS devices).
We also have DirecTV's whole-home DVR, which as I understand it means they linked all the DirecTV boxes together with Ethernet and also connected one DirecTV box to the wireless router.
The Events
The issue began when we added a new MacBook Air to the mix, which could not connect to the Internet. When everyone else had IP addresses in the 173.191.X.X range, this MBA kept giving itself a 166.X.X.X address and reported itself as "able to connect to the Internet" when it surely could not. Even giving it a static IP would not work. We had to renew the DHCP license until it randomly flipped to a 173.191.X.X IP address.
At the same time, we tried to upgrade our modem since it's about 7+ years old. To our great misfortune, the new modem seemed unable to get a PPP connection from the ISP. We switched back to the old modem, and now it seems like a free-for-all with our devices.
How My MacBook Pro reacts
My MBP, when I turn off/on wifi, will sometimes land me with a 192.168.X.X IP address, which I believe is a NAT-like 'local' IP address. My MBP will show me the router's IP and with that information I can connect to the web interface of my modem (Paradyne). I can look at the settings for a little bit, but eventually (30 seconds) I am forcibly redirected to my router's (Netgear) web interface. I can make changes here as well.
Whether or not I have Internet connectivity at this point seems random. If I renew my DHCP lease, it will give me another 192.168.X.X IP address for one second, at which time it disappears and I am given a 173.191.X.X IP address and Internet access (yay). This is the only device which can reliably get an Internet connection. My MacBook has been unable to connect through a wired connection to the modem or the router during this whole time.
How all the other devices react
None of the other devices can reliably connect to the network. If any of the devices receive the 192.168.X.X IP address, they cannot connect at all. If they receive the 173.191.X.X IP address, they can connect - problem is that has happened only twice, once through static addressing and once on a random DHCP lease renewal. On top of this, some of the devices are experiencing the same issue as the MacBook Air - they're getting a third type of IP address of 166.X.X.X. None of the devices we're working with besides my MacBook Pro have an Ethernet port, so I don't know if a wired connection works for them.
The Kicker and my specific question
The funny part is that I unplugged the line from the modem to the router and my MacBook still connects. It even shows on the router that it is receiving no Internet connection. This makes me believe there's a direct line from modem to router via the DirecTV installation.
I have tried completely restarting from scratch with the modem and cycling power on the router. The router is about 4 years old.
What I want is for all the devices to recognize the 173.191.X.X IP address as the way to go, but I know this is strange because I can only access the web interfaces for my router and modem using 192.168.X.X.
Do I have multiple DHCP servers working against each other here? Is there a possible direct line from the router to the modem made by the DirecTV box links? How can I tell where these devices are receiving their IP addresses?
UPDATE, May 18 2014 I ran the 'ipconfig getpacket' on my MBP (with option en1 for wireless) and on the MBA (with option en0 for wireless, not sure why it's different) and got surprising information:
MacBook Pro (always connects)
yiaddr = 173.191.X.X //machine address
giaddr = 166.82.100.1 //gateway address
server_identifier (ip): 207.91.5.220 //DHCP server address
subnet_mask (ip): 255.255.254.0
router (ip_mult): {173.191.252.1} // router address
domain_name_server (ip_mult): {207.91.X.X, 166.102.X.X}
domain_name (string): [companyA].net
MacBook Air (never connects)
yiaddr = 166.82.X.X
giaddr = 166.82.100.1
server_identifier (ip): 207.91.5.220
subnet_mask (ip): 255.255.255.0
router (ip_mult): {166.82.228.1}
domain_name_server (ip_mult): {207.91.X.X, 166.102.X.X}
domain_name (string): [companyA].net
So somehow the MBA knows who to connect to (domain_name) and has an ip address deriving from the gateway address. They both have the same DHCP server address, different subnet masks, different routers... What is the cause of this difference?
Update, May 21 2014
We now have Internet! I will post a solution when I figure out exactly what happened. We ended up removing everything and starting over outside where we first get the DSL line. we connected that to the modem, then directly to the router, and connected all machines with wifi successfully. Then step by step we added complexity in the form of walls and more wiring.
Right now it seems like the problem may have come from the "filter" the ISP put on our DSL line or from our hub/switch. I'll update again later.