Sounds like some QoS software is also limiting LAN traffic, seeing as it still works if the internet is disconnected. I would look if your router has "Adaptive QoS" or something similar enabled.
I will check qos, i think i saw it enabled or something, thanks
How are you accessing Jellyfin? By its internal IP, or your public IP?
That's weird but maybe the way you have set it up (especially if you use your public IP), it may go through the ISP's rate limiter on the router/modem before looping back to you.
You definitely should be getting full local speed if you're using the private IP unless your ISP's router is configured horribly wrong.
From my internal IP (192.168.1.xx), I don't access it from the outside (can't open ports on residential connection in my country :c )
All my devices are connected to my own router, then that router connects to my isp router, which then connects to the internet, so its very weird.
The only thing I configured was reserving an ip address for my server on my router, but I don't think that should influence...
Is that IP address the address of your router that was given by the ISP router or is it the IP of the jellyfin server?
My isp gives me something a public ip like 200.191.57.xxx, but that ip changes and I can't open any port. Then my isp's router's local network is 192.168.0.xxx, my TP link router connects there (to 192.168.0.3 i think). Then my TP link manages ips 192.168.1.xxx. My jelly server is at 192.168.1.10, my devices are at 192.168.1.5, 8, etc.
Everything is local, nothing goes outside
Makes sense just thought you might have had a hairpin setup through your router.
If your server is local, meaning it is on your network, then you connect via the local netowork. If you are both wired, then you'll likely be connected via 1Gbe. If you server is wired, and you connect wirelessly, you are limited by the wireless connection speed. If your jellyfin server is remote, meaning physically hosted offsite, then you will be limited by your internet speed and the speed of the jellyfin servers connection.
If the connection is local and its dropping, check out your jellyfin servers resources to see bottlenecks. Also see if you can check your tplink router and see if the CPU is spiking.
Correlation does not imply causation. It could be that the same thing that is lowering your internet speed is affecting LAN, perhaps the router not being enough to handle the traffic, or something in the network occupying a lot of bandwidth which is only active when there is internet (e.g. a download client, or worse a download client accessing a NAS).
In any case you need to give more info into what your setup looks like, e.g.
- is the Jellyfin server wired or wireless?
- what is the maximum speed you reach when disconnected from the internet?
- are you accessing via a computer or phone? And if a computer is it wired?
- does the Jellyfin server has other services running that could occupy bandwidth?
- is there a NAS for that Jellyfin server?
- is the TP-Link acting like a router or a switch?
- how are you measuring speed?
- have you monitored the Jellyfin server bandwidth usage during those tests? Does it drop or remains constant while you're testing and disconnect the internet? (If it remains constant it means you're saturating your server's connection, so while it is connected to the internet it L's only using a limited bandwidth for you and using the rest for something else, if you disconnect the internet it allocates everything for you because it's not doing anything else anymore. If on the other hand the usage increases it signifies the router is not being able to handle the traffic)
Please tell us the complete chain of active network components between your device and the server.
I.e. Device -> Wifi -> Access Point -> Switch -> Server
Have you actually confirm this, e.g. using iperf3
?
That being said, I heard some routers behave badly when one of the devices connected to the lan/wan port is using 100mbps nic instead of gigabit nic, which caused the router to downgrade to 100mbps speed on all lan ports.
Internet speed is really something that is largely misunderstood. When we hear about things like 1Gbps up and down what is really being conveyed is the amount of data being able to be carried over a period of one second. It's really bandwidth and not speed. Speed is measured by packet latency often determined by ping times. Obviously lower ping times meaning the data is able to travel at faster speeds. One thing you can do to determine ultimate efficiency is measure both bandwidth and latency together.
It's the first time I'm reading about someone misunderstanding this concept.
A higher "speed" means faster downloads/uploads, it's pretty straightforward. If you want to get technical, there's no such thing as "network speed"
Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!