private IP is sent to other nodes when nodes are behind NAT

53 views
Skip to first unread message

Rajeev Naik

unread,
Mar 4, 2025, 12:16:37 AMMar 4
to codership
Hi,

I have set "--wsrep_node_address", "ist.recv_addr", "--wsrep-sst-receive-address" with DNS name of the node. And I have proper host aliases in each node to resolve the DNS name to public IP.

Cluster starts fine and works for a while. When one nodes goes down, the other nodes start hitting the private IP of the died node. I.e. the wsrep is somehow sending private IP to other nodes. When that node comes back up, then it doesn't connect, it goes in crash loop saying duplicate uuid.

Is there a config to say not to send the listen_address to other nodes?


Thanks,
Rajeev

Rajeev Naik

unread,
Mar 4, 2025, 5:33:05 PMMar 4
to codership
code link from codership repo - https://github.com/codership/galera/blob/4.x/gcomm/src/gmcast.cpp#L524
why the remote_addr is empty string when handshake with cluster node?

Reply all
Reply to author
Forward
0 new messages