How tinc route traffic when two subnets are identical?

Bright Zhao startryst at gmail.com
Thu May 4 09:45:52 CEST 2017


Hi, All

Two remote tinc nodes(A, B) advertised the same route to the Tinc domain, and the local tinc node(C) has two ConnectTo to point to those two remote nodes, and I found, and let’s assume connection from C to A is better than C to B (better latency from ping) :
1. when two remote nodes are up, the traffic always send through A
2. when A is down, traffic send through B
3. when A recovered, traffic send back to A
4. when B is down, traffic will go through A
5. when B is recovered, traffic not switch to B, instead, still goes on A.

So I would like to know, the underlying mechanism for equal path of Subnet is what? Tinc will test the latency, or something else to make the decision?

BTW, I know if I put weight on the Subnet, it will select by weight, but in my case, same weight.


More information about the tinc mailing list