WiFi switching to mobile hotspot causes connection issues

Sorry, I am a non-native English speaker and I have encountered an issue where switching networks causes devices to be invisible for about 5 minutes on the same zerotier network
Prerequisite:

  1. Self built planet node
  2. One Windows and one Mac; At the beginning, when connecting to the same WiFi device, they can ping each other. However, when either device switches to a mobile hotspot, the other device cannot ping this device for about 5 minutes
    Version: Both computers are using version 1.14.0
    Try:
  1. Referring to other posts, I used multi-path active backup, but I found that switching from a hotspot to a wifi device was quick and there was no change when switching from wifi to a hotspot
    Throughout the process, I found that the devices connected to the phone hotspot were always in relay mode, but switching to the same WiFi was always in direct mode.
  2. Within 5 minutes after switching networks, it was discovered on the web UI management interface that the node switching networks has multiple paths with old WiFi public IP and new hotspot public IP displayed inside. However, only when the path becomes a separate hotspot public IP can the devices be pinged.
    Doubt:
    Is the delay in switching networks due to the relay mode only taking about 5 minutes
    Is there a relationship between the change of path and latency in peers (because the device can ping immediately after the path becomes a single path)

Also, I would like to understand the mechanism of UDP relay. I suspect that the waiting time of 5 minutes is due to some internal failure. The timeout mechanism is 5 minutes, after which UDP relay will be attempted

anybody help?This issue has been bothering me for a long time, and there has been similar feedback on GitHub. Moreover, there have been related optimizations based on the submission records, but it seems that the optimizations have not been effective

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.