-
Notifications
You must be signed in to change notification settings - Fork 387
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix intra-Node service access when both Egress and AntreaProxy is ena…
…bled (#2332) When Egress enabled, extra flows will be added to L3Forwarding table, one of which make the packets to local Pods jump to L2ForwardingCalculation directly to prevent them from entering SNAT table. However, it would also prevent the packets' MAC from being rewritten even when they are marked as requiring it, which leads to local Pods cannot access local Pods via their Services' ClusterIPs. This patch fixes it by making the SNAT skipping flow apply to packets that don't have macRewriteMark set only, with which all traffic to local Pods will either be forwarded to L2ForwardingCalculation directly or be MAC rewritten first before going to L2ForwardingCalculation if they are required to do so. It also removes a flow in L3Forwarding table that specially handles gatewayCT related traffic, which has been taken care of by another more generic flow in same table. Signed-off-by: Quan Tian <[email protected]>
- Loading branch information
Showing
3 changed files
with
14 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters