multicast routing

Ok. Here’s some more details:

My configuration:

# nov/28/2007 16:44:48 by RouterOS 3.0rc10
/routing pim 
set switch-to-spt=no switch-to-spt-bytes=0 switch-to-spt-interval=0s 
/routing pim interface 
add assert-override-interval=3s assert-time=3m disabled=no dr-priority=1 hello-holdtime=1m45s hello-period=30s \
    hello-trigerred-delay=5s igmp-version=IGMPv2 interface=vlan60 join-prune-holdtime=3m30s join-prune-period=1m \
    override-interval=250 propagation-delay=50 protocols=pim require-hello=yes tracking-support=yes



 > ip address print from=12
Flags: X - disabled, I - invalid, D - dynamic 
 #   ADDRESS            NETWORK         BROADCAST       INTERFACE
 0   192.168.0.253/30   192.168.0.252   192.168.0.255   vlan60

After PIM interface is added I observe PIM Hello’s on vlan 60:

# tcpdump -n -i xl1 vlan 60 and ether host not 00:15:fa:9a:cd:04

16:41:29.658318 IP 192.168.0.253 > 224.0.0.13: PIMv2, Hello, length: 34
16:41:29.659229 IP 192.168.0.254 > 224.0.0.13: PIMv2, Hello, length: 34
16:41:58.965801 IP 192.168.0.254 > 224.0.0.13: PIMv2, Hello, length: 34
16:41:59.657671 IP 192.168.0.253 > 224.0.0.13: PIMv2, Hello, length: 34
16:42:04.940687 IP 192.168.0.254 > 224.0.0.13: PIMv2, Bootstrap, length: 36

.. however neighbor table is empty.

> routing pim neighbors print detail 

>

PS. 192.168.0.254 is C3560 family device.

Well you are using RC10, multicast wasn’t working very well in that version.
Have you tried RC11?

Upgrade to RC11 didn’t helped too much. Still facing same problem.

Hi all!!

I update to rc11 and “leave channel” now work ok!!,but I have a question, is normal that have 15Mb of traffic in the point to point wireless link without play any stream?.

I have a config like this:

FIRST CONFIG == it’s normal

VLC Server (22Mb traffic) ----- (ether1) ROUTER A RP(wlan1) ------ 0 Mb----- (wlan1)ROUTER B (ether1) ---- CLIENT (0 Mb traffic)


SECOND CONFIG == it’s normal???

VLC Server (22Mb traffic) ----- (ether1) ROUTER A (wlan1) ------15Mb----- (wlan1)ROUTER B RP(ether1) ---- CLIENT (0 Mb traffic)

WITHOUT PLAYING ANY STREAM, If I put the ROUTER A (where is conected the streaming server) as RP, the link
have no traffic. But when I put the ROUTER B (where is the CLIENT) as RP . I have 15 Mb along the wireless
link. I know that the RP have the table of multicast streamers and clients but think that 15Mb to update
the table is too much!!!

Thansk for all.

Kiket

IMHO Stream must get to RP, no matter what! There you have your 15Mbps!

It’s a problem in “REGISTER STOP”. When no router receives a stream request, it should cancel the transmission.

I don’t know if I have a bad config or is a mikrotik rc11 version bug.

If anyone have the same results or have any solution, post here it,please.

Best regards.

Kike

that is correct macgaiver.

when source appear on the multicast network, closes router becomes its designated router, that knows RP’s for multicast groups, then designated router does source join to RP, thus creating the tunnel to RP then RP tries to get same multicast traffic without tunnel and does backward joins to reach source, when this is done tunnel is discarded and RP is receiving multicast stream. if some client want to join that group it will be group-joined to that RP not the source.

so, that RP receives stream is OK and that SHOULD be so.



so kikat - this is not a problem, please read available multicast documentation (RFC is good option). Then you will see that RP should be joined and should have stream, if you group-join and then client leaves, then this group-joined router should stop receiving the stream, and that is not the case of source-join

you can set up closer RP with higher than others priority for that single group, so every other stream goes to your main RP but that groups RP is on the other side.

also you can try STP mode (you can see description in wiki)

Hi all,

Thanks for your comments!!. I write now to comment another problem?¿.

SCHEME

VLC Server (6 MPEG2 STREAMS 22Mb traffic) ----- (ether1) ROUTER A RP(wlan1) ------ 0 Mb----- (wlan1)ROUTER B (ether1) ---- CLIENT (0 Mb traffic)

When I make a bandwith test the link give me 40 Mbps,when I designate the ROUTER B as RP, I can see the 6 streams perfectly in the client, but if I designate the ROUTER A as RP (as the scheme), only can play 2 or 3 streams (7 - 10,5Mb) in the client, when the traffic along the wireless link go up from 10Mb in the client the image is distorts. I can’t transmit more than 2 or 3 streams in a good conditions, and the link can support more than this.

Anyone can help me.

Best regards and thanks in advance.

what is PPS when you set ROUTER B as a RP and when you try to watch when ROUTER A is RP i think that streams are managed differently when client joins and when it is sent to the RP

also you can try to set up nstream on your wireless link

Hi Janisk thanks to answer my question, I test all the options with Nstreme but don’t get best results.

See this picture from ROUTER A as RP, in WLAN1 PPS - TX 997 / RX 5 (Can you see in this picture what is the problem at the right when play the third stream)

See this picture from ROUTER B as RP,in WLAN1 PPS - TX 5 / RX 1548 ( Here are 4 stream playing and it seen without problems).


I don’t understand where can stay the problem. I think this PPS are normal.

I’m so interested in know how to solve this, because want to test a Point - Multi Point streaming, and if no solve it, it’s imposible. Now I can only stream 2 files.

Thanks in advance.

Kiket

---- UPDATE ----

HI Janisk, all my config that I explained up, is without SPT. I test now that if I active the SPT when the ROUTER B is the RP, the router A only transmit 10,6Mb!!! (just for play 2 streams well ) can apreciate this in the first picture. If I don’t use SPT the ROUTER B receive all the bandwith 20Mb to play all the streams perfectly.

I think the problem is in the form where ROUTER A transmit to ROUTER B when the client send join to Router A.The ROUTER A don’t push more than 10-11 Mb.

in the setup when you run RP on the ROUTER A an when you get distorts please create supout.rif file and send it to support@mikrotik so we could see what is happening.

also ensure that you have latest version available.

Hi Janisk,

I send this morning the supout.rif to support@mikrotik.com

Thanks in advance.

Kike.

No one has a configuration similar to mine, or nobody uses multicast on their networks?.I think it’s a basic config, and I’m sure that someone has done.

I Would be very grateful if someone could tell me if the same thing happens, I hope while mikrotik’s support reply my mail.

Best regards,

Kike.

kiket if you can set ROUTER-A as station and ROUTER-B as a AP-bridge or bridge and see if you still have a problem when you move your RP on ROUTER-A

Hi Janisk,

I change the ROUTER A as station and the ROUTER B as apbridge/bridge, and the problem is the same. Router A as RP.

Can you try tunneling the link with an eoip based one?

Hi esn.toolz,

I can test it this weekend, but Janisk say me that “He is working on that and other problems connected with PIM implementation in RouterOS”

Best regards,

Kike

you can try to create EoiP tunnel through wireless link as multicast packets are handled differently by wireless. So that idea is actually good.

Hi all!!

The EoIP test don’t work. I have make a BRIDGED EoIP tunnel between the 2 WLAN but don’t work well.

Only if I try to ROUTING with Eoip (I don’t know if it’s correct) it work well (when make Pto-Pto) but it does not adjust to my needed, because I want to make a Pto - MPoint, and when I make more than one Eoip tunnel doesn’t work.

This my config and want to implement correctly with more clients:

Thanks,

Kike

i have tested multicast using EoIP tunnels and u have not seen any problem with that.

since EoIP is layer 2 then you have to bridge it for it to work.