I have 2 servers, They have at least 2 interfaces, When one of the interface is down, I want to grpc to try next interface in same RPC call, for example
N1 ip-eth0 <-- Path1 ---> N2 ip-eth0
N1 ip-eth1 <-- Path2 ---> N2 ip-eth1
In this case, while connecting from N1, I want to bind(2) client to ip-eth0 when trying path1 and connect to N2 ip-eth0. Similarly if this connection fails, Connect from N1 ip-eth1 to N2 ip-eth1. WithContextDialer I can bind the IP's but how to retry with second path if first path is not working. and give up if path2 is also not working. Please note I am not trying to load-balance the server, The server is only one process, but path to that server are via two interfaces.