Skip to content

Conversation

@SharanRP
Copy link

What this PR does / why we need it

Fixes Antrea dual-stack deployment failure on Ubuntu 22.04 caused by ip6tables-nft not supporting the --or-mark option.

Which issue(s) this PR fixes

Fixes #7602

How I did it

Replaced --or-mark with --set-xmark value/value in iptables mangle rules for marking LOCAL output packets.

According to the iptables man page, --or-mark bits is a "mnemonic for --set-xmark bits/bits" - they are semantically equivalent, but --set-xmark has wider compatibility across different iptables implementations (legacy and nft backends).

@hongliangl
Copy link
Contributor

Thanks for this patch, BTW, have you verified that on your local testbed?

@SharanRP
Copy link
Author

yes it works fine locally
image

@hongliangl
Copy link
Contributor

yes it works fine locally

May I know how you deployed your Kind cluster and the OS of the machine where you deployed the Kind Cluster?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failed to deploy Antrea dual stack in Ubuntu 22.04

2 participants