Try enabling multicat for your nics:
ip link set eth0 multicast on
echo 1 >/proc/sys/net/ipv4/ip_forwarding to enable IP forwarding
You need to explicitly install or at least verify that it is enabled on the corresponding interfaces.
net.ipv4.conf.all.mc_forwarding = 1 net.ipv4.conf.eth0.rp_filter=0
Allow multicast traffic:
iptables -I INPUT -d 224.0.0.0/4 -j ACCEPT iptables -I FORWARD -d 224.0.0.0/4 -j ACCEPT
You may also need to add a route for multicast traffic:
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
Change the TTL of the multicast sender:
iptables -t mangle -A OUTPUT -d <group> -j TTL --ttl-set 128 Where group is the multicast group address of the stream you want to change the TTL of.
You can also start the multicast proxy
PS:
You should try (if the above did not help) start the docker container with the --net = none parameter and use the pipeline with the following command:
pipework docker0 -i eth0 CONTAINER_ID IP_ADDRESS/ IP_MASK@DEFAULT _ROUTE_IP
which creates the eth0 interface inside the container with the IFF_MULTICAST flag and a specific IP address.
Valeriy Solovyov
source share