'Setup a multicast group using home wifi router for Linux operating system
I want to create a local multicast group using my home wifi router(TP link, TL-WR841N). I intend not to connect this router to the internet. I expect to create a multicast group using wifi router, where different Ubuntu OS(18.04 and 20.04) laptops can connect and share data. I want to transfer UDP packets in this multicast group using TP-Link router. I want to know how to create a multicast group, join and leave this group at will.
Below are a few commands that I tried:
$ sudo ip maddr add 224.0.0.1 dev wlp2s0
$ sudo route add -net 224.1.2.3 dev wlp2s0
I want to customize this multicast IP address, ofcourse in the range of 224.0.0.0 to 239.255.255.255
Let me know if you need any more information.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
