Although I suspect your ISP has a 24h lease and your modem renegociates at 3:40 everyday
Although I suspect your ISP has a 24h lease and your modem renegociates at 3:40 everyday
mtr combines the functionality of the traceroute and ping programs in a single network diagnostic tool.
As mtr starts, it investigates the network connection between the host mtr runs on and HOSTNAME by sending packets with purposely low TTLs. It continues to send packets with low TTL, noting the response time of the intervening routers. This allows mtr to print the response percentage and response times of the internet route to HOSTNAME. A sudden increase in packet loss or response time is often an indication of a bad (or simply overloaded) link.
The results are usually reported as round-trip-response times in milliseconds and the percentage of packetloss.
This actually makes me wonder about whether there's a command that'll let me see short summaries of what every file under /usr/bin is, in the form of a list. Definitely wasn't aware of mtr as an average web developer up until now.The way DHCP 'should' work is that when a client is part-way through the lease it should try to renew the IP it already has:
* https://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Pro...
* https://tools.ietf.org/html/rfc2131#section-4.4.5
This allows the client to (hopefully) keep extending the IP it has so that a re-IP does not cause current connections to drop. If the modem is not doing this (can the OP log into it in someway to see logs?), then it is acting as a 'non-ideal' DHCP client.
Until this is sorted out, try rebooting the modem an an 'odd' hour that will not disrupt you during the day. This is no guarantee though: the DHCP server may remember the old/current DHCP lease and simply re-issue it with the same expiration time.
I'm on DSL/PPPoE, so this may not apply, but: my Asus router has a setting that allows it to automatically reboot. I do this at ~04h00 to get a new IP every day so help with privacy concerns. I generally surf with cookies disabled, so these two things help with the low-hanging fruit of simple tracking techniques. (My DSL modem is bridged.)
The lease would be dropped and renegotiated every few hours, we could notice it because our SSH tunnels would get torn down.
What was annoying was that the business plan had a static IP associated with it, presumably managed by their DHCP setup.
It took weeks to convince Comcast the issue wasn’t in our building, and moments for them to fix once they “got it”.
> The Gileadites seized the fords of the Jordan before the Ephraimites arrived. And when any Ephraimite who escaped said, “Let me cross over,” the men of Gilead would say to him, “Are you an Ephraimite?” If he said, “No,” then they would say to him, “Then say, ‘Shibboleth’!” And he would say, “Sibboleth,” for he could not pronounce it right. Then they would take him and kill him at the fords of the Jordan. There fell at that time forty-two thousand Ephraimites.
But I’ve not experienced similar in 20 years of dynamic ips.
My router is currently showing a lease time of 3 Min. I think most router tends to renew their IP at 50% of ISP's lease time ( in this case 6 min )
What are the purpose of these ridiculously low lease time? I remember in the old days they tend to go for 48 hours if not longer.
And apology for asking an off topic question. I guess that is what the downvotes are coming from.
But the other part is money... why give something away for free when you can make it a "feature" to pay for?
Tons of other reasons in various articles...
https://www.online-tech-tips.com/computer-tips/ott-explains-...
https://superuser.com/questions/590391/why-do-isps-change-yo...
Id be glad to give them away for free but it is all downside for us and over 99% of residential customers dont want one to start with.
I think we have 3 residential customers out of 1500 that have statics.
I'm actually glad I don't deal with that stuff on a day to day... but I like learning about it.
(or if I set up my own router could I just use the all?)
As OP said, mtr will tell you where in the line it’s happening.