real-logic / aeron

Efficient reliable UDP unicast, UDP multicast, and IPC message transport
Apache License 2.0
7.39k stars 888 forks source link

Can not subscribe multicast after deploying to aws. #1157

Closed charlesso closed 3 years ago

charlesso commented 3 years ago

I am deploying aeron on aws and create transit gateway for the multicast group. The network is verified working by testing with iperf. But when I turn to aeron. Other subscribers can receive multicast message only when there is a subscriber running at the host of the publisher.

Using following basic_publisher/basic_subscriber comannds for testing.

./basic_publisher -c "aeron:udp?endpoint=224.0.3.11:30002|interface=10.2.0.0/16|fc=min"

./basic_subscriber -c "aeron:udp?endpoint=224.0.3.11:30002|interface=10.2.0.0/16|fc=min"

What am I missing in the network or other configurations?

charlesso commented 3 years ago

I found the solution. Need to setup an even multicast address next to the endpoint address for control channel. In my case, it should be 224.0.3.12.