Hey guys. I have been testing ZT for a roaming mobile device use case and it’s been working really well. Have one weird issue though.
These mobile devices are running Ubuntu, and have both a wired (eth0) and an LTE (wwan0) connection. When eth0 is up, there is a default route in the table with a 425 metric, and all outbound traffic goes that way. There is also a default route out the wwan0 interface with a 700 metric.
If eth0 is not available, ZT works fine on the wwan0 interface. And, if eth0 was available and gets disconnected, it seems to fail over after some time. However, if ZT is running on wwan0 and eth0 comes online, it never seems to start using that route, despite the global routing table preferring eth0 at that point. Restarting the zerotier-one service immediately bumps it back over.
Thanks. Of course shortly after I posted that it did finally switch over to the eth0 connection, but seems to take a while. I had a ping running the whole time.
Just was hoping there was a way to make ZT a bit more aggressive choosing the best path. I’ve played with the multipath settings as well and they never seem to work.