not getting udp multicast working in the new mirrored network mode of WSL2, how to? #10614
Replies: 5 comments 4 replies
-
Can repo, WSL 2.0.4.0 with same of rest of version info. |
Beta Was this translation helpful? Give feedback.
-
I have same problem described by Luuk using the latest prerelease 2.0.6 :( |
Beta Was this translation helpful? Give feedback.
-
Currently I was able to get multicast (through lan 255 address at least) working by turning on |
Beta Was this translation helpful? Give feedback.
-
For me it worked after adding a firewall exception. The rule was an Inbound rule to allow a certain UDP port range. Except I have WSL version: 2.0.7.0 So maybe it's something with the firewall not working yet? |
Beta Was this translation helpful? Give feedback.
-
I think multicast does not work with mirrored mode.
My guess right now is that the internal VMSwitch that WSL uses by default does not allow multicast traffic or it's not able to forward properly (ex: hyperv multicast routing iss Also it works with WSL distro version 1 If anyone is able to make the example I mentioned with Mirrored mode, please, let me know |
Beta Was this translation helpful? Give feedback.
-
According to the release information multicast should be supported in the new mirrored network mode of wsl2. Only when i try to use it i can only send multicast udp frames but i cannot receive them. Is this an issues with the windows firewall or does anyone else know, i have not enabled the new firewall option though?
This because i am trying to run ros2 in wsl2. And when i run ros2 multicast receive in wsl2 i am not able to receive any messages from an host on my local network. I and i am sure it is reachable because i can ping it and ssh into it. So when i run ros multicast send on a host on the same network, the ros2 multicast receive in my wsl2 should print hello world, but it doesn't. It does work the other way around though.
Did anyone else get this working, else i will open an issue in the issues queue? I have also use sockperf to test but it also doesn't work, although i may have done it wrong.
##Build:
Beta Was this translation helpful? Give feedback.
All reactions