When subctl joins the cluster, there are multiple network cards. How to specify the network card IP? #2949
luoMonkeyKing
started this conversation in
General
Replies: 1 comment
-
Thanks for reaching out @luoMonkeyKing, Submariner discovers two IP addresses for each endpoint, private and public - you can find more details here In your case since NAT is disabled, private IP is used to represent the endpoint. PrivateIP is IP assigned to one of the interfaces on the gateway node, in case of multiple interfaces/IP addresses Submariner chooses the source IP used when we connect to 'external world' by connecting to DNS @ 8.8.8.8 . So, you can update routing table on GW node to control privateIP chosen by Submariner. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What happened:
My virtual machine has two network cards. When subctl join, the submariner uses a network card IP that is not connected to the network, causing the pod network between the two clusters to be blocked.
What you expected to happen:
The ENDPOINT IP of the cluster can be modified, or the network card IP can be specified when subctl join
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
The 10.0.2.15 network card is blocked. The k8s cluster uses another network card with an IP address of 192.168.10.17. How to change the endpoint IP to 192.168.10.17?
Environment:
subctl diagnose all
):subctl gather
):Beta Was this translation helpful? Give feedback.
All reactions