Internet Does Not Work When Router Is Directly Connected To Modem, But Does If Connection Is Shared From PC

rjkucia

Distinguished
Dec 4, 2008
277
0
18,790
I just moved and got new internet service (Charter) and have had issues with my network from the beginning. I tried using my old router (which I had no issues with previously, with Time Warner). However, one of the following would happen:
-No internet connection can be found by the router
-The router would get internet (shown by a light on the front), but connected devices could not access the internet
-Internet would work for a short while (between 5 minutes and a day), but then cut out.

When I troubleshoot in Windows, it says that the modem needs to be restarted, however this doesn't fix it. I tried troubleshooting with Charter, and they replaced my modem, which did not resolve the issue. I then bought a new router (DLink, like the old one), but it had the same exact issue.

So, to make sure it wasn't a problem with Charter, I've connected my desktop directly to the modem. Zero issues with that, everything works perfectly. I then plugged in a second network card and shared the connection through that, and plugged the router into that shared port. That has been working perfectly as well, with both the old and the new router.

None of this makes any sense, am I right? Anyone with any idea about how to resolve this? The issue implies to me that it's the router, but unless it's a DLink-wide issue it seems unlikely that two routers would have the same issue. On the other hand, the modem seems to be working totally fine on its own.

tl;dr
Internet->Modem->Router->Other devices
Doesn't work.

Internet->Modem->Desktop->Router->Other devices
Works fine.
 

Master Kittens

Reputable
May 24, 2015
25
0
4,530
That is an interesting issue...

Based on what Windows is saying, it may be an issue with communication between your modem and the ISP's end, but to rule out some LAN based issues, you can do the following.

I would suggest placing your network in the non-working configuration (Internet->Modem->Router->Other devices), so we can determine where the point of failure is.

Once you're in this configuration, you'll need to do some tests using command prompt.

First, run the command "ipconfig", and confirm your PC is getting an IP address from the router, as well as the address the router is using (Default Gateway in Windows).

If there are no problems here, next we'll need to test connectivity at each hop on the way out of the network.

I would then try to ping the Default Gateway, which would be your router, to confirm your computer is able to communicate properly across the LAN. If this test is successful (all pings received responses), next attempt to ping your Internet gateway (the modem). You should be able to get this IP address from the router's web GUI, as the Gateway for the internet connection, or when the PC is directly connected, you should get the IP of the modem then, either way.

If pings to the gateway are successful, I would then ping out to an internet based address, something dependable like a DNS server (8.8.8.8 is my usual choice). If pings work here, then you're hitting the internet, and the problem is something deeper than I'm expecting. Otherwise, if pings fail here, I would expect it's an issue between your modem and the ISP. At this step, I would suggest running a continuous ping "ping -t x.x.x.x", and letting it run for a while (preferably long enough to go through the cases of the internet being up and down), to see if you have packet loss/bouncing over time.

Depending on where you find the point of failure is will change what the root cause will be, so if you aren't able to get this figured out, please provide some details on your results.

Hope this helps
 

rjkucia

Distinguished
Dec 4, 2008
277
0
18,790


Thanks for the advice! I should have mentioned that local network connectivity (such as accessing the router's webpage, printing over the network etc.) seems to work fine no matter what, even when there is no internet connectivity. I'll try those things now and report on the results.
 

rjkucia

Distinguished
Dec 4, 2008
277
0
18,790


Okay, I set my configuration into the non-working state. As often happens, the connection works fine for a few seconds, and then cuts out on all devices. One thing I noticed is that the connection seems to cut as soon as a second device accesses the network. However, this could just be a coincidence, as it's hard to test this well.

ipconfig returned an address of 192.168.0.100 and gateway of 192.160.0.1, so nothing unusual there. Ping to router works fine.

Pinging the router's default gateway (the modem) returned 3 "Request Timed Out" and 1 "Destination Host Unreachable".

I actually have a bat script doing exactly what you suggest doing in that last section; I run it whenever I'm having connectivity issues so I know exactly when my connection cuts out.

I *think* the fact that it seems to be cutting out when I connect a second device should be a clue, but I definitely do not have that problem in the other configuration, I'm lost. And again, the router itself reports that the internet is working fine throughout this process (even though it obviously is not). Final side note: when I'm having this issue and open up Chrome, I get the error "DNS Probe Finished No Internet" every time I try to access a website.

Thanks again for your help here! I could potentially keep running my network in this weird configuration forever, but obviously I don't want to :)
 

Master Kittens

Reputable
May 24, 2015
25
0
4,530
Hm, it's definitely worth noting that a second device connecting to the network seems to cause the problem. I would definitely recommend testing this theory by having only one device attached to the network for long enough to confirm if it resolves the issue or not. If this IS a cause of the issue, to me it could point to a DHCP or NATing problem. All of your devices share the same internet facing IP address, so if they aren't being NATed properly, they may be losing connectivity to devices behind your router.

When the internet goes down, does it go down for all devices at the same time, and for the same length of time?

Also, your ping results are interesting - you're having trouble hitting your modem. If this was a problem with your circuit (the connection from your home to the outside world) you shouldn't see any connectivity problems until you start talking to internet based addresses (such as 8.8.8.8). This would lead me to believe the issue is within your LAN, most likely between the router and modem. Have you tried swapping cabling?

I would set up a continuous ping to the modem IP and see how often packets are successful. Are pings to that IP successful at the same time that your internet is working?
 

rjkucia

Distinguished
Dec 4, 2008
277
0
18,790
Before changing anything I tried pinging the modem (which is now the default gateway of my desktop). Pinging that address has a 100% failure rate, even though the internet connection is working just fine. It seems to me that, for whatever reason, the modem doesn't feel like returning pings. (the message is consistently "Request timed out"). Any idea what that would mean?

Also, I have swapped cabling previously and that had no noticeable effect.
 

Master Kittens

Reputable
May 24, 2015
25
0
4,530
The request timed out messages are most likely because the device just isn't replying to pings, this may be by design by the ISP.

Since we can't ping that device, try running a continuous ping to an internet based address (I would ping an IP rather than a hostname such as google, since DNS won't work when the internet is down). When you run this ping, do you get random bits of success and failure, like a random back and forth, or consistent failure, and then consistent success (no matter how short lived) in any kind of pattern?

I know you said originally that the internet will sometimes work in the faulty configuration but will eventually go down, what is it that tends to resolve the issue? Do you have to reboot a specific piece of equipment? Or does the internet come back without any intervention from yourself?

That also leaves us with the multiple host issue - have you had a chance to test/confirm that the internet goes out when a second device is introduced to the network?

At this point, it still sounds like a LAN issue to me, but it's definitely an odd one (or it's obvious and we're both missing it).
 

rjkucia

Distinguished
Dec 4, 2008
277
0
18,790


I set the ping to 8.8.8.8 instead of google.com and ran both of those at the same time (to maybe find some DNS issues, if any), but they both went down at the same time, which was when I connected a second device to the network. So, I can say with some certainty that adding the second device is what initiates the failure.

When the internet connection goes down, it will not go back up until I restart the modem. Restarting the other portions of the network (router, PC) does not do anything.

My pings are very consistent - either the connection is working perfectly and every packet makes it back, or none of them do. The error messages can vary, though: they're usually "Request timed out" or "General failure".
 

rjkucia

Distinguished
Dec 4, 2008
277
0
18,790
It's also worth noting that adding a second device does not *always* result in a dropped connection. Right now it's doing it consistently for my laptop over WiFi; however, I just connected my Xbox over a wired connection and it's still working fine. Also, in the past while troubleshooting this I've been able to connect multiple devices over wired and wireless just fine, but it does disconnect after no longer than 24 hours.
 

Master Kittens

Reputable
May 24, 2015
25
0
4,530
You should be able to release/renew the IP address on your router, between the router and the modem. This should be through the web GUI for your router.

When the internet goes down, attempt to release/renew the IP address, to see if it is working. If you are unable to renew your IP when the internet is down, it sounds like an issue with the modem, since it can't give out DHCP while you are experiencing other issues.

If you are able to release and renew, and this resolves the issue, then I would think it is more likely a problem with the router, or at least communication between the router and modem.

If you are able to release and renew, but this does not resolve anything, I would say it points more towards the modem being the issue.

If you can afford to, you could try replacing the modem with one you bought yourself, a model with good reviews, Google and all that good stuff can guide you there. Otherwise, it may be time to go back after Charter. It's by no means uncommon to have the carrier come out and completely miss the issue while on site. They tend to look at it more closely if you refuse to let the tech leave your house until they fix it. (A not so uncommon thing customers like to do lol.) As long as you can reproduce the issue while a tech is at your house, they should be willing to help.
 

Master Kittens

Reputable
May 24, 2015
25
0
4,530


That is another interest piece of info - the issue may be related specifically to wifi vs wired connections. When everything drops, I assume you still have LAN connectivity as you've stated before, so this makes it seem unlikely that the router is choking itself resource-wise.

Honestly, it sounds almost like DHCP could be setup to allow the router's own LAN address to be assigned out, causing layer 3 communication out to the internet to die. LAN connectivity would be fine since you're communicating at layer 2 there. Though I find that unlikely, since it would be an insanely poor design on the router's part, and to be on 2 different routers is even more unlikely.

You could try turning off DHCP, as well as any unnecessary services, such as SIP ALG, and seeing if that may improve stability.
 

rjkucia

Distinguished
Dec 4, 2008
277
0
18,790
I've tried that before, but I tried it again just now to double check.

It did work once for me before, but every other time (including just now) I'm able to Release just fine, but hitting Renew doesn't do anything. I cannot reconnect until I restart the modem.

When I did restart the modem this time, internet was working fine on both my wired desktop and my wireless phone, which I kept connected to the router. So it looks like things only go bad when something is connecting for the first time.

It's Charter's modem, not mine - I tried getting Charter out here before, and they replaced my modem, but it didn't fix anything. They also said that the signal in the building was fine (which it should be, as it's a pretty new place). Any suggestions on what to tell them when I call, or any other troubleshooting steps you can think of? In the past when I talked to them they kept insisting it's my router that's the problem, and I want to be absolutely positive they're wrong before being too forceful with them, haha.

One more thing: I've had this issue since beginning my service last week, if that's helpful at all.
 

Master Kittens

Reputable
May 24, 2015
25
0
4,530


The last time I experienced this, I had an extreme amount of noise on the line coming into my house from the road, and this was only discovered after 3 other techs were sent out. Not that this is necessarily your situation, but wanting another tech to come out is by no means going to be a surprise to them, it's pretty common for long standing issues.

In regards to calling them...

The fact that rebooting the modem fixes the issue is probably the strongest point you can make. If your router is the problem, why is their device failing? Especially since you have stated your LAN connectivity remains intact, the router that you own does not appear to be operating improperly.

Second, most ISPs offer modem/router combos, or wifi routers to rent - I would ask a tech to come install one of their own devices. Since you have already purchased a new router, it's very unlikely to be your router. Especially if this is a brand new in box router, not refurbished or anything. Even if you don't intend to keep the router, ask them to do it to at least prove the issue out so you can troubleshoot further on your end (though I wouldn't bother telling them this is your plan, unless you're worried they'd charge you in some way for this, who knows with ISPs).

Since this issue has been ongoing since day 1, you've never had a steady state after all this troubleshooting. While the person you talk to might not give a damn, it could give a nudge in the right direction - generally new business/new deployments that have had issues from day 1 will get a little more attention.

Finally, just remember the squeaky wheel gets the oil. When you open a ticket with Charter (or pretty much any service provider), that ticket is going to be assigned to an individual or group, who at some level is held accountable. If a ticket keeps being escalated by a customer, it's eventually going to get attention, if only because the right person finally had it come across their desk. (We generally call once per our to ask for updates, and ask for an escalation to be placed on the ticket if there are no updates, until some kind of traction is made. Though this is on business accounts.)

Hope that helps
 

Master Kittens

Reputable
May 24, 2015
25
0
4,530


Yes, my apologies, this would require you to statically configure all of your devices on your network. But, you could just set up your computer and phone for the purposes of testing, and undo it once you have confirmed if that resolves anything.
 

rjkucia

Distinguished
Dec 4, 2008
277
0
18,790
Disabling DCHP did not seem to have any effect; when I tried to connect my phone again, it dropped.

I'll call them again and ask them to send a different guy out (it was the same guy the last two times) and try to bring a router to at least test with. Hopefull if they do that then either they'll find an issue on their end, or I'll know to try a third router. *Hopefully* all this nagging with them will get a guy out who can figure this out for me.

Thank you so much for your help! I'll be sure to come back and update this thread if/when this issue gets resolved. And worst case, I can always fall back to my goofy setup, haha.
 

rjkucia

Distinguished
Dec 4, 2008
277
0
18,790
Well, I just called them and they said there would be a $45 service fee for a guy to come out here, which I'm not exactly pumped to pay, especially when there's a pretty good chance he's just going to tell me the router's broken. At this point I guess my only options are to keep my current setup, buy another router (that's not DLink brand) and see if I can get that to work, or switch internet providers. Ugh. Well, thanks for trying, Master Kittens! If you can think of any other troubleshooting steps I can try, let me know and I'll give them a go.