I faced simple task to do and found I'm not sure if my choice is right. Please advice:
- We have 2 remote ROS devices (R1 and R2), both has 2 uplinks each (so R1-U1, R1-U2 and R2-U1, R2-U2). We need to connect them via VPN links (any type, no limitations on this). There are 4 tunnels possible (R1-U1 <-> R2-U1, R1-U1 <-> R2-U2, R1-U2 <-> R2-U1, R1-U2 <-> R2-U2), and these links are of different speed and priority. That is, We'd like to use it (asn an example) like this:
- if R1-U1 <-> R2-U1 available, then use it,
- else if R1-U1 <-> R2-U2 available then use it
- else etc.
To add things up, we actually have several remote devices (not just two), so the one is the "center" one (hub), and others are spokes. Full mesh is not really needed, and a bit hard to maintain, but possible.
I tried to use static route priority to sort this thing but I'm not sure I'll work best. Maybe there is a way to employ dynamic routing to have this scheme work nice?