[dvblast-devel] multicast via 2 interfaces

Dan Lita dan.lita at b1tv.ro
Mon Sep 21 10:27:36 CEST 2015


Hi list

I have the following problem:

I 'm getting a multicast stream via 2 vlans in the same pc.
The multicast is 239.10.0.1:1234 originating from 192.168.10.1

and the ip of the vlans are:
eth0.5 192.168.5.20  multicast enabled
and
eth0.6 192.168.6.20 multicast enabled


The idea is that I can see the stream with trafshow on both eth0.5 and 
eth0.6
but I cannot get those streams with dvblast by using:

/usr/local/bin/dvblast  -D 239.10.0.1:1234/udp/ifaddr=192.168.5.20 -c 
/root/scripts/config/p1 -u -U -C
or:
/usr/local/bin/dvblast  -D 239.10.0.1:1234/udp/ifaddr=192.168.6.20 -c 
/root/scripts/config/p1 -u -U -C


The only way I was able to get the streams is if I configure the eth0.5 
with ip from the same class as the encoder.
(eth0.5 192.168.10.20) and 239.0.0.0 is routed via eth0.5

I even tried with ifaddr=7 (for eth0.5) as follows without result.
/usr/local/bin/dvblast  -D 239.10.0.1:1234/udp/ifindex=7   -c 
/root/scripts/config/p1 -u -U -C


The scope of getting the stream via two interfaces is that both of them 
are unreliable and from time to time
I have to switch  between them without altering too much the network setup.

What am I doing wrong, can you suggest me any hint?

Thank you
Dan

P.S. firewall is off
default route is 192.168.2.1 on eth0.2


More information about the dvblast-devel mailing list