You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
What's the recommended way of dealing with connectivity/identity issue caused by IP reused in a private network such as Kubernetes?
For example, given two Substrate nodes alice and bob running and talking to each other, then bob goes away, then a new node charlie comes in using bob's old IP address, but alice will refuse to talk to charlie because the IP address was associated with bob's peer ID, not charlies.
This is a potential issue in Kubernetes as when pods or the underlying machines get restarted, they may get assigned such an IP that will trigger this issue. What's the recommended way of dealing with this?
Thanks.
The text was updated successfully, but these errors were encountered:
There shouldn't be any problem caused by bob and charlie sharing the same IP.
What probably happen in your situation is that according to alice, charlie doesn't exist. alice continues to try to contact bob and finds a man-in-the-middle (charie) instead, but she isn't smart enough to realize that this man-in-the-middle (charlie) should also be part of the network.
If, however, she learned about charlie's existence through the discovery process, then she would connect to it.
I can confirm charlie was part of the network initially but restarted and received bob's old IP, looks to be a duplicate of #4272 indeed based on the behavior observed. I'll add some info to that issue instead, thanks.
Hi,
What's the recommended way of dealing with connectivity/identity issue caused by IP reused in a private network such as Kubernetes?
For example, given two Substrate nodes
alice
andbob
running and talking to each other, thenbob
goes away, then a new nodecharlie
comes in usingbob
's old IP address, butalice
will refuse to talk tocharlie
because the IP address was associated withbob
's peer ID, notcharlie
s.This is a potential issue in Kubernetes as when pods or the underlying machines get restarted, they may get assigned such an IP that will trigger this issue. What's the recommended way of dealing with this?
Thanks.
The text was updated successfully, but these errors were encountered: