-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iccpd] Add nft-based ebtables utilities. #19324
Conversation
Signed-off-by: Julian Chang - TW <[email protected]>
@yxieca @Praveen-Brcm Please help to review this PR. Thanks. |
I added the iptables to the I seem to get these syslog messages:
Inside the container.
|
Thanks for your valuable feedback. I'll look into it and it may relate to PR #17835. |
Thanks @puffc Could you update the diff with the fix for permission denied error. We could merge the change after that. |
Signed-off-by: Julian Chang - TW <[email protected]>
Thanks @kperumalbfn. The permission problem had been fixed. |
/azpw ms_conflict |
Are people on vacation? |
Since the |
ebtables CLI utility does come with the iptables package, but I am not 100% sure if it can be removed without testing it first |
Signed-off-by: Julian Chang - TW <[email protected]>
Remvoed legacy ebtables packages. Now ebtables only points to ebtables-nft. root@sonic:/# ebtables -L Bridge chain: INPUT, entries: 0, policy: ACCEPT Bridge chain: FORWARD, entries: 4, policy: ACCEPT Bridge chain: OUTPUT, entries: 0, policy: ACCEPT |
@lguohan Please review and merge. Thanks. |
@lguohan Please review, Thanks. |
@prsunny Would you please merge this PR? Many thanks! |
@lguohan, kindly cherry-pick the patch to 202405 branch |
Why I did it
Fix a problem (fixes #19323) where ebtables command cannot be executed by iccpd. This cause the trapped BUM packets (ipv6 neighbor discovery) looping back to the MCLAG port channel.
Work item tracking
How I did it
Replacing the legacy ebtables with the nft-based ebtables command suite by adding iptables package into the iccpd docker container.
How to verify it
Verified the ebtables command can be executed from the iccpd docker. When the MCLAG reaches operational state the isolation rules can be added.
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
master
202305
202211
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)