Open chaudhryfaisal opened 2 years ago
@chaudhryfaisal Thanks for the details and it is very helpful for us to understand the issue.
I think this is working as expected. Calico vxlan expects node to node traffic without NAT. It will drop any vxlan packet if the source is not known to Calico. This is a security feature.
Yes it seems Calico vxlan or ipip+bgp expects node to node traffic without NAT. I was hoping there is some configuration available to accomplish this
What would an enhancement to support this look like?
Expected Behavior
pod to pod networking should work in VXLAN mode
Current Behavior
pod to pod networking is not working across NAT
Your Environment
I have multiple nodes in different NAT ranges as shown in the diagram below as Scenario A and Scenario B.
Scenario A: node1 and node2 are in different NAT and pod to pod networking does not work between the nodes
Scenario B: node1 and node4 are in not NAT translated and node2 and node3 and in NAT, pod to pod network works between
Connectivity between all nodes is there
VXLAN tunnels between node1 and node2 are working if setup outside calico
Deployment
Calico
Kubernetes
Routes and Network Interfaces
Analysis
POD to POD Test
tcpdump for previous test
Warnings from calico node pods
observations