by londons_explore · 5y ago · 0 comments
A city-spanning mesh network which connected to the internet at peoples home broadband connections couldn't reasonably function. Someone who was downloading a file over the mesh wouldn't be able to have their data use any connection to the internet - they would have to keep using the same gateway from the mesh to the internet, because if they switched gateways their IP would change and existing connections would fail.
It's the same reason switching from WiFi to Mobile data and back causes a reconnect in video calls.
It's the TCP that doesn't handle it. Unfortunately HTTP and most other protocols are on top of TCP so suffer from the same problem.
[1]: https://mosh.org/
If I roam from network A to network B, then someone else cannot send me an IP packet till they know my address on network B.
I can only send out a "Hey, I'm now at this address" message to them if I know they will be wanting to contact me, and I know my own address has changed. Neither of those is guaranteed.
There is no concept in IP of a "user", "client", or other party that exists beyond the lifetime of that packet. IP is basically a stateless logical address sitting on top of some physical address with a few delivery options to facilitate traffic flow (like congestion handling).
Any connection state or concept of user/client/server/etc is held at either the TCP level, or for UDP-based protocol higher up the stack (commonly at the application level).
If you still insist on IP being at fault here, let's consider an analogue. If a user sets up an Amazon subscribe-and-save, and then moves to another city and has a different physical address, but the user does not inform Amazon by updating their address in Amazon's system (the higher level protocol), would you say that the postal service is at fault when the delivery ends up reaching the an incorrect party?
Seamless jumps from mobile networks to wifi were in our grasp.
https://en.wikipedia.org/wiki/Multipath_TCP
For example, Apple already uses it when you ask Siri a question on an iOS device. Hopefully this standard gains more usage.
There is a load balancing issue, but I don't think it's any worse than http/3 which also allows for peers to change IP (http/3 has a much limited scope of changes).
It might make sense to use something similar to MPLS that can encapsulate IP, to hide the details of the mesh network.
https://en.wikipedia.org/wiki/Space_Communications_Protocol_...
This used to be true, but new apps like Duo handle it like a champ. Uninterrupted switchovers between mobile data and wifi.