this post was submitted on 17 Nov 2023
40 points (90.0% liked)

Selfhosted

40183 readers
519 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hi all,

I'm in a unique situation where my landlord can't log in to his router nor is around/cares to contact the ISP to do so. This is my current setup. Does anyone know how I might go about measuring the latency between the router and my end devices (area shaded in orange)? I'm just curious to see how much my setup is introducing in terms of online games and what not.

And yes, 40 mbps is all we get out in suburban Alaska. Cope with me.

Clarification

all 29 comments
sorted by: hot top controversial new old
[–] [email protected] 30 points 1 year ago (3 children)

Just ping it?

Actual traffic might be slightly different, but honestly on a LAN you shouldn't need to worry about latency. But you're not going to be able to run iperf3 on that router in any case.

[–] [email protected] 4 points 1 year ago (1 children)

Sounds good, I'll go ahead and just do this. Connect to landlord's router -> ping test -> connect to my router -> ping test. Thanks for the comment!

[–] [email protected] 9 points 1 year ago (1 children)

Or, you know, just ping your landlords router.

[–] [email protected] 2 points 1 year ago (1 children)
Ping statistics for ________________:
    Packets: Sent = 100, Received = 100, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 5ms, Average = 1ms

So if I understand this, there is barely any latency being introduced here.

[–] [email protected] 2 points 1 year ago (1 children)

Yes, why would expect otherwise?

Unless you've got signal issues, wifi doesn't add more than a few ms

[–] [email protected] 2 points 1 year ago (1 children)

Yes, why would expect otherwise?

Because I know very little about network and is why I’m seeking help/input. Thank you for your input.

[–] [email protected] 2 points 1 year ago

Radio waves travel at close to the speed of light. Latency generally just comes from raw distance, unless the packets are being processed by a slow / overloaded device on route.

If the wifi has to retry a lot due to noise or low signal you'll see loss and latency spikes, but otherwise its very little.

[–] [email protected] 3 points 1 year ago

This is the answer. Although you may need to look up the IP address (a lot of them use 192.168.100.1) and you may need to reconfigure your gateway/firewall/router to route that subnet out its WAN interface while still performing NAT.

[–] [email protected] 2 points 1 year ago

Also if the router blocks icmp for some reason you can always manually send an ARP request and check the response latency.

[–] [email protected] 22 points 1 year ago (2 children)
[–] [email protected] 13 points 1 year ago

This is a cry for help haha, you poor soul

[–] [email protected] 11 points 1 year ago (1 children)

how long did it take you to upload this image?

[–] [email protected] 11 points 1 year ago

About 30 seconds

[–] [email protected] 17 points 1 year ago (1 children)

Tracert will give you the latency of each hop required to make it to your destination. Not sure why everyone is complicating it.

[–] [email protected] 7 points 1 year ago

Thank you, this is exactly what I was looking for. I’ve found essentially less than 1ms of latency between my mini router and my landlord’s router and I’m very happy with that.

[–] [email protected] 10 points 1 year ago* (last edited 1 year ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
IP Internet Protocol
NAT Network Address Translation
VPN Virtual Private Network

3 acronyms in this thread; the most compressed thread commented on today has 10 acronyms.

[Thread #286 for this sub, first seen 17th Nov 2023, 20:35] [FAQ] [Full list] [Contact] [Source code]

[–] [email protected] 8 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago

As a network engineer I use this frequently to figure out where latency is coming from. +1 for mtr

[–] [email protected] 5 points 1 year ago

If you want to test what your equipment is doing to your latency, connect your pc directly to your landlord's router, run latency tests multiple times, then set everything up as you normally would and run the same tests again. Some recommended tests for different situations would be fast.com for netflix/video streaming performance, and https://www.waveform.com/tools/bufferbloat for bufferbloat. Other things you'll want to check for gaming performance are double-NAT and ping tests for the online games you tend to play.

[–] [email protected] 2 points 1 year ago

Do you physically have access to the router? If so, I would figure out the settings it uses that other people notice (wifi settings etc) and just hard reset it. Chances are they just use the basic settings provided anyway.

Is anybody else using the router or just you? If just you, I'd just do what you want to it and reset it when you leave.