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

Zenoh doesn't necessarily join the right multicast interface. #1702

Open
alexis-boisserand-acuity opened this issue Jan 9, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@alexis-boisserand-acuity
Copy link

alexis-boisserand-acuity commented Jan 9, 2025

Describe the bug

Zenoh doesn't necessarily join the IPv6 multicast group on the correct interface, when more than one IPv6 network interfaces are present.

Conditions required to reproduce the issue:

  • Host with more than one IPv6 network interfaces
  • Zenoh configured for multicast transport, and to listen on a particular interface. For example:
  mode: "router",
  listen: {
    endpoints: [
      "udp/[ff02::01]:7447#iface=r1-eth2",
    ]
  }

I attached a patch that fixed the issue for me.

multicast_ipv6_wrong_interface.txt

To reproduce

  1. Configure zenoh for IPv6 multicast transport as specified above
  2. Zenoh may join the multicast group on the wrong interface. If this is not the case, just specify a different interface and it should fail.

System info

  • Platform: Ubuntu 22.04 amd64
  • zenoh 1.1.0
@alexis-boisserand-acuity alexis-boisserand-acuity added the bug Something isn't working label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant