My Server and Client softwares run both on Linux.
The Server broadcasts multicast, the Client listens multicast.
My Client has to migrate to another site,
and unfortunately multicast is not allowed between the two sites
How to convey multicast between the two sites?
– Through TCP or UDP?
– What tools do you recommend?
– What about latency?
I received an good answer about Cisco configuration (GRE),
but one of the network teams do not want to monitor/maintain it,
=> when transmission will break, support team will spend too many hours to understand and repair.
=> So, what should be the best alternative to GRE?
Is there a solution based on Linux kernel features
or on network card capabilities? (low latency is important)
Usage examples are appreciated
Currently: Server and Client on the same site
Future: Server and Client, each one on a different site
multicast channel: 18.104.22.168:6666
- UPD Multicast (Class D) = How can this be routed over the internet?
- IGMP/Multicast routing in Linux
- Multicast accross the subnets and RSVP answer
- Multiple GRE NAT router and “Multiple VPN limitation” link
I am not sure to understand your graphic in your question, but as far as I understood, you need to forward multicast packet through TCP ? A tool oriented solution may involve
For instance, multicast channel is 22.214.171.124:6666.
On the Server host (IP=SS.SS.SS.SS):
$socat -v UDP4-RECVFROM:6666,ip-add-membership=126.96.36.199:CC.CC.CC.CC,fork TCP:destination.hostname:4444
On the Client host (IP=CC.CC.CC.CC):
$socat -v TCP-LISTEN:4444,fork UDP4-DATAGRAM:188.8.131.52:6666,range=SS.SS.SS.SS/24
I let you check how to tune parameters with the
socat manual. It is quite straightforward once you know you MULTICAST GROUP and your network interface’s ip adresses.