[dvblast-devel] multicast via 2 interfaces - resend due bad date

Dan Lita dan.lita at b1tv.ro
Mon Sep 21 12:10:07 CEST 2015


On 9/21/2015 11:35 AM, Christophe Massiot wrote:
> Hello,
>
>> On 20 Aug 2015, at 10:29, Dan Lita <dan.lita at b1tv.ro> wrote:
>>
>> 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
> Then this means it is probably a Linux problem : disable the rp_filter on both interfaces.
>
> Regards,
> _______________________________________________
> dvblast-devel mailing list
> dvblast-devel at videolan.org
> https://mailman.videolan.org/listinfo/dvblast-devel
>
It seems if I configure rp_filter=2 it works ok.

echo 2 > /proc/sys/net/ipv4/conf/eth0.5/rp_filter

Thank you for the hint with rp_filter
Dan



More information about the dvblast-devel mailing list