Hello! Wondering if someone knows what I'm doing w...
# rke2
b
Hello! Wondering if someone knows what I'm doing wrong. I'm trying to startup RKE2 on a node to join another node that's already running. When I want the nodes to use a specific source IP (loopback interface) for inter-node communication. I have node-ip set to the loopback on each server but when RKE2 first starts up on node B it tries to connect to the existing server (node A) on :9345 with the source IP of a different interface. How can I configure RKE2 to use the value of node-ip as the source IP?
h
trying to understand what you are saying... you have nodeA Interface: eth0 Interface: lo nodeB Interface: eth0 Interface: lo and you want the 2 to communicate over Interface: lo ??
b
Yup that's pretty much what it is. Slightly more complicated with another interface. nodeA Interface: eth0 Interface: eth1 Interface: lo nodeB Interface: eth0 Interface: eth1 Interface: lo eth0 + eth1 are redundant and the loopbacks are routable between each node. Basically, I want RKE2 to use the
lo
IPs as the source and destination for network traffic between nodes. It's correctly sending traffic to the loopback IP of the other node but the source address is a loopback. I'm wondering if it's possible to tell RKE2 to use the loopback as the source IP.
I can make it happen with a change in the kernel routing table but that's a bit heavy-handed IMO as only RKE2 needs a different source IP.