Cable Broadband Problem

Paladin

Ars Legatus Legionis
33,855
Subscriptor
Uh... It kind of sounds like you are describing an idle timeout. If nothing is connected to the router who cares if the connection goes down until you connect a device? :confused:

Or do you mean you have a bunch of devices on the LAN, they all lose service suddenly and it can't be restored until you unplug everything and connect a specific laptop to the router LAN port?

Does the service come back up by just rebooting the router (no laptop involved)?

Have you looked at the router status page or error log to see if it shows any usable information when it is down?

Have you talked to the ISP about what is wrong?

Is it only one router/connection that goes down and the other is fine?

Why do you have 2 routers? I'm assuming 2 connections but are you trying to run 2 routers on one connection?
 

Paladin

Ars Legatus Legionis
33,855
Subscriptor
That would seem to be something tied to the MAC address of the laptop or some other config on the laptop, like it's doing a PPPOE login through the router to the ISP or something, authenticating with the ISP or something.

Talk to the ISP and see why it keeps going down. Look at the router logs when it goes down. Look at the laptop for any special applications installed on it by the ISP or any network config that looks unusual.
 

Paladin

Ars Legatus Legionis
33,855
Subscriptor
This kind of intermittent but repeat issue is something where you have to be willing to take a hit while it is down until you can find the real cause. When it goes down, call the ISP and ask why it is down and don't get off the phone until they give a real explanation. It should be that easy. They should be able to tell you that some kind of authentication is failing and what needs to be done to fix it, or if they see no attempt to connect, go through it as an initial setup and ask how to get the service going when it is new.
 

Paladin

Ars Legatus Legionis
33,855
Subscriptor
Uhhh, I think you need to be there (sounds like you are not on site) and see what is really happening. What you are describing is really weird. An ISP would not install a second router just for the lulz. ;)

I'm guessing one is a router and one is a modem or something.

There is no such technical thing as a 'DHCP conflict'. You can have more than one DHCP server, no problem, as long as they are configured properly. What most people would call a DHCP conflict is just when they are not configured properly and software can't know that because... it's not a person who knows how a network should be setup.
 

Frennzy

Ars Legatus Legionis
85,841
Is there any software utility which can detect DHCP conflicts?

Sure. ipconfig/all

So, in the context of a simple LAN, might this show the (real) DHCP server one minute and possibly 20 minutes later show the (rogue) DHCP server?

Check all of the hosts you can...if you see more than one DHCP server address, that's your problem.
 

Paladin

Ars Legatus Legionis
33,855
Subscriptor
In a situation where you have more than one DHCP server on the LAN (same LAN, all one flat layer 2 network), you might get unpredictable results in DHCP offers, depending on the config of the 2 (or more) servers.

Basically when a client device broadcasts asking for a DHCP offer, whatever servers see that broadcast should reply. Barring any preferences on the client devices (affinity for renewing a previous lease, etc), whichever offer is made fastest should be accepted by the client. There are some other tweaks in various IP stacks and operating systems for MAC address and IP address priority and stuff, from what I remember but basically whatever makes an offer first will probably be accepted. This is assuming you have 2 servers on the LAN that are in good working order and all else is nominal.

The problem you *usually* see is a bit more complicated:

You have a router with LAN IP 192.168.1.1 on it (subnet mask 255.255.255.0 but that doesn't really matter much here) handing out DHCP for whatever range makes it happy, say 192.168.1.10-192.168.1.150 and itself as DNS server. It probably has an internet connection up and running too.

Everyone is happy and life is good. Well, as good as it can be anyway given the state of the world today... but I digress.

Now, someone who should probably know better comes along and does something very stupid. Either from malice, or just plain foolishness, or maybe even with good intent, they install another router on the network. They don't bother getting into the setup of this new router, they just grab a cable, plug it into a LAN port on the router and power it on. It comes up with default 192.168.1.1 on its LAN interface and starts handing out DHCP with itself as gateway and DNS server.

Of course, there is already a 192.168.1.1 on the LAN so things are ok for a while. Devices have that IP in their ARP table because they are talking to it all the time and they don't need a DHCP renewal for a few hours to days so no one cares and the useless fleshwad that put in the new router linked up their Xbox or whatever that used to be on wifi and is now on the LAN and maybe it works, maybe it doesn't but they're not going to complain, they know they're doing something naughty so they keep quiet.

20 minutes pass.

ARP tables start to expire and peoples' devices need to know if that 192.168.1.1 IP is still on the same MAC address it was a while ago so they ARP for it. 2 replies come back. Now there is trouble. I have done a little reading and have not found any official info on what criteria should be used to prefer one address over another or to just give up and have no ARP entry when you receive conflicting information. As far as I know, basically the client trying to resolve the address 192.168.1.1 will ARP for it, get 2 replies, assume the IP was on one MAC address, moved and is now on another so the second reply 'wins'. Luck of the draw on whether that is the one that has a working internet connection.

Throw in the mix that devices can do a Gratuitous ARP when they start up, or at some other interval to basically announce to the network what their IP and MAC are and you can have a similar problem within moments or a couple of minutes.

Basically once you can document that devices on the network get DHCP or ARP entries that are other than expected, you can easily track down the cause of the problem. Find the IP address and MAC address of the DHCP server that causes problems. Once you have the MAC you can track down the port it is on (if you have good switches) or find the manufacturer and search the area for matching devices.