Hello, I have been trying to join a multicast group(226.0.0.59) using the regular Linux commands on the Jetson TX2, but nothing seems to work. I’ve tried the following commands:
sudo ip maddr add 226.0.0.59 dev eth0
sudo route add 226.0.0.59 dev eth0
Unfortunately, when I ping the multicast ip address it doesn’t work. Also, when I run netstat -ng the multicast group is not added:
IPv6/IPv4 Group Memberships
Interface RefCnt Group
That seems to add the multicast address to the multicast group shown with nestat -ng, but pinging still does not seem to work: netstat -ng
IPv6/IPv4 Group Memberships
Interface RefCnt Group
I don’t really have much experience on multicast setup. Could you share how to set up a group with 226.0.0.59 IP? It may require an extra router for me to do the test, right?
Typically, I just run one of the following commands on two different computers to get them to join the multicast address:
sudo ip maddr add 226.0.0.59 dev eth0
or
sudo ip maddr add 226.0.0.59 dev eth0
Then, when I ping the multicast address(226.0.0.59) I get a response from both computers independently:
ping 226.0.0.59
PING 226.0.0.59 (226.0.0.59) 56(84) bytes of data.
64 bytes from 1.1.0.1: icmp_seq=1 ttl=64 time=0.141 ms
64 bytes from 1.1.0.3: icmp_seq=1 ttl=64 time=0.256 ms
I have run this test with an ethernet switch between them and connected directly to each other.