adamant-kite-43734
06/27/2024, 11:55 AMcreamy-pencil-82913
06/27/2024, 5:12 PMcreamy-pencil-82913
06/27/2024, 5:12 PMechoing-father-81877
06/27/2024, 5:32 PMechoing-father-81877
06/27/2024, 5:33 PMcreamy-pencil-82913
06/27/2024, 5:45 PMechoing-father-81877
06/27/2024, 5:46 PMechoing-father-81877
06/27/2024, 5:58 PMcreamy-pencil-82913
06/27/2024, 6:10 PMbright-lifeguard-9803
06/27/2024, 6:12 PMcat /var/lib/rancher/rke2/server/manifests/rke2-canal-config.yaml
apiVersion: <http://helm.cattle.io/v1|helm.cattle.io/v1>
kind: HelmChartConfig
metadata:
name: rke2-canal
namespace: kube-system
spec:
valuesContent: |-
calico:
ipAutoDetectionMethod: interface=lom0
echoing-father-81877
06/27/2024, 6:13 PMbright-lifeguard-9803
06/27/2024, 6:14 PMlom0
)creamy-pencil-82913
06/27/2024, 6:23 PMechoing-father-81877
06/27/2024, 6:26 PMbright-lifeguard-9803
06/27/2024, 6:29 PMkubectl get ds -n kube-system rke2-canal -o yaml | grep -A1 AUTO
- name: IP_AUTODETECTION_METHOD
value: interface=lom0
echoing-father-81877
06/27/2024, 6:31 PMI0627 17:59:49.443577 1 match.go:263] Using interface with name eth0 and address 10.1.148.230
I0627 17:59:49.443600 1 match.go:285] Defaulting external address to interface address (10.1.148.230)
Hence our ultimate question, we are explaining our observation about the wrongly sourced packets, however, I don't actually know what's responsible for setting that , my understanding IP_AUTODETECTION_METHOD had more to do with node to node than the local systems srcing of packetsechoing-father-81877
06/27/2024, 6:32 PMcreamy-pencil-82913
06/27/2024, 6:39 PMcreamy-pencil-82913
06/27/2024, 6:39 PMbright-lifeguard-9803
06/27/2024, 7:17 PMinterface=lom0
the packets are still sourced from the wrong interfacebright-lifeguard-9803
06/27/2024, 7:17 PMechoing-father-81877
06/27/2024, 7:18 PMbright-lifeguard-9803
06/27/2024, 7:20 PMinterface=lom0
does not seem to change the behavior at all.creamy-pencil-82913
06/27/2024, 7:29 PMcreamy-pencil-82913
06/27/2024, 7:29 PMbright-lifeguard-9803
06/27/2024, 7:30 PMcreamy-pencil-82913
06/27/2024, 7:30 PMcreamy-pencil-82913
06/27/2024, 7:30 PMechoing-father-81877
06/27/2024, 7:30 PMcreamy-pencil-82913
06/27/2024, 7:31 PMcreamy-pencil-82913
06/27/2024, 7:31 PMbright-lifeguard-9803
06/27/2024, 7:31 PMcreamy-pencil-82913
06/27/2024, 7:32 PMcreamy-pencil-82913
06/27/2024, 7:32 PMcreamy-pencil-82913
06/27/2024, 7:32 PMbright-lifeguard-9803
06/27/2024, 7:32 PMcreamy-pencil-82913
06/27/2024, 7:32 PMcreamy-pencil-82913
06/27/2024, 7:33 PMcreamy-pencil-82913
06/27/2024, 7:33 PMbright-lifeguard-9803
06/27/2024, 7:35 PMechoing-father-81877
06/27/2024, 7:36 PMcreamy-pencil-82913
06/27/2024, 7:37 PMbright-lifeguard-9803
06/27/2024, 7:38 PMcreamy-pencil-82913
06/27/2024, 7:38 PMbright-lifeguard-9803
06/27/2024, 7:39 PMcreamy-pencil-82913
06/27/2024, 7:40 PMcreamy-pencil-82913
06/27/2024, 7:41 PMbright-lifeguard-9803
06/27/2024, 7:41 PMcreamy-pencil-82913
06/27/2024, 7:41 PMcreamy-pencil-82913
06/27/2024, 7:42 PMbright-lifeguard-9803
06/27/2024, 7:42 PMbright-lifeguard-9803
06/27/2024, 7:42 PMbright-lifeguard-9803
06/27/2024, 7:44 PMechoing-father-81877
06/27/2024, 7:51 PMsudo ip r g 192.0.0.4
192.0.0.4 dev calibcb3fe8370f src 10.1.252.132 uid 0
cache
routes
[broala@ip-10-1-148-230 bin]$ ip route
default via 10.1.148.1 dev eth0 src 10.1.148.230 metric 203 mtu 9001
default via 10.1.252.1 dev eth1 src 10.1.252.132 metric 210 mtu 9001
10.1.148.0/22 dev eth0 proto kernel scope link src 10.1.148.230 metric 203 mtu 9001
10.1.252.0/22 dev eth1 proto kernel scope link src 10.1.252.132 metric 210 mtu 9001
192.0.0.2 dev calie87d0f9759f scope link
192.0.0.3 dev calie56f4c00502 scope link
192.0.0.4 dev calibcb3fe8370f scope link
192.0.0.5 dev cali0b4cbd83c6e scope link
192.0.0.6 dev cali86937c25236 scope link
192.0.0.7 dev calice4109fc67f scope link
192.0.0.8 dev cali2c85d7dd4da scope link
192.0.0.9 dev cali94d23b88e64 scope link
192.0.0.10 dev cali18df69b6a18 scope link
192.0.0.11 dev cali00ec06cb7dd scope link
192.0.0.13 dev calif8b843d9ef2 scope link
192.0.0.14 dev cali83295eb1102 scope link
192.0.0.15 dev cali47264bd43d4 scope link
192.0.0.16 dev cali995f34fdcbb scope link
192.0.0.17 dev cali7853826c62c scope link
192.0.0.18 dev cali1de2de92208 scope link
192.0.0.19 dev cali8d1b2a7e7d1 scope link
192.0.0.20 dev cali65e0d43664c scope link
192.0.0.21 dev cali0d961dbf0ba scope link
192.0.0.22 dev calic6c090420a5 scope link
192.0.0.23 dev cali006646e50fc scope link
192.0.0.24 dev cali4efb7326ad0 scope link
we explicitly set node-external-ip and node-ip to 10.1.148.230 which is the "management" networkcreamy-pencil-82913
06/27/2024, 7:57 PMcreamy-pencil-82913
06/27/2024, 7:58 PMcreamy-pencil-82913
06/27/2024, 7:59 PMcreamy-pencil-82913
06/27/2024, 8:02 PMechoing-father-81877
06/27/2024, 8:02 PMcreamy-pencil-82913
06/27/2024, 8:25 PMbright-lifeguard-9803
06/27/2024, 10:34 PMbright-lifeguard-9803
06/27/2024, 10:38 PMbright-lifeguard-9803
07/16/2024, 6:18 PM