Skip to content
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

PTP(Precision Time Protocol) message is silently DROPPED by CNI plugin bridge #1045

Open
wt2017 opened this issue May 20, 2024 · 1 comment

Comments

@wt2017
Copy link

wt2017 commented May 20, 2024

Issue:

  • In IEEE Std 1588™-2019, 01-80-C2-00-00-0E multicast address is defined for multicast (ITU-T G.8275.1 profile) scenario.
  • In CNI plugin bridge, packet with 01-80-C2-00-00-0E is silently dropped since it locates in MAC address range for LLDP.
  • In kernel bridge implementation, echo 16384 > /sys/class/net/<bridge_name>/bridge/group_fwd_mask is provided to change the default (silent drop) behavior to normally (MAC based) forward.
  • But this option provided by kernel can't be set into CNI, due to NO configuration parameter for it.

Can CNI plugin - bridge, add one additional parameter group_fwd_mask, to activate the bridge function which is already provided in kernel ?

@champtar
Copy link
Contributor

@wt2017 you can use an udev rule on the host:

ACTION=="add|change", SUBSYSTEM=="net", KERNEL=="<bridge_name>", RUN+="/bin/sh -c 'echo 16384 > /sys/class/net/<bridge_name>/bridge/group_fwd_mask'"

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

No branches or pull requests

2 participants