multicast routing

Hi all,
I don’t know if this is the right place in this forum where to post this but I have been having some issues configuring pim, apparently because of lack of knowledge :laughing: :laughing: :laughing: :laughing:

So I was wondering - could someone provide me with some info or some liitle example or howto ???

Thanks!!! and sorry for my bad english :slight_smile:

I’m interested in see another multicast config too.

I have a multicast config (similar to the wiki, 2 routers Pto-Pto), but when the client stop playing the stream, traffic don’t stop!!.I use VLC server and viewer to test it. I use the demo 3.0rc9. Anyone with the same problem??

Best regards,

Kiket

I had a similar problem. I don’t know much about pim-sm but I think that in sparse mode traffic should stop if there is no listener.

You could correct me if i’m wrong.

this is known problem (continues to transmit when it should end) and will be resolved in future releases

Thanks Janisk.

hi, looks like in new release (RC10) it is not fixed, at least in changelog it is not mentioned. any updates somebody??

I don’t test the last release rc10 (have no changes about multicast), but I think in the next releases will be fixed.

Kike

no there are no fixes in rc10 for PIM (multicast)

if you want you can run basic configurations of PIM in your network, simple static configurations should work.

just remember that multicast addresses use class D addresses and that 224.0.0.0/24 is reserved for network processes and same goes for 238.0.0.0/24

here you can see in more detail about international assigned multicast groups in use:
http://www.iana.org/assignments/multicast-addresses

hi, I try multicast routing with vlc using a configuration like described in mikrotik wiki, but I have some problems.

can someone post a working configuration/example?

tanx to all

What kind of problems you have?

Btw example in wiki IS working example.

Hi francescov,

I have made the wiki configuration,all the config work well unless the unic problem I have is that when the client (running VLC) stop playing the stream, the traffic doesn’t stop.

Best regards,

Kike

“leaving channel” will be solved in next release, so traffic will stop when client disconnects

i expected next release today :slight_smile:

Thanks Janisk!!! I will waiting to the rc11!!

I’m not very expert on multicast routing…I encounter problems with wiki example.

this is my configuration:

Sender – (subnet I) → Router A – (subnet II) → Router B – (subnet III) → Receiver

#####configuration script for router A

/ip address
add address=10.0.1.1/24 interface=ether1
add address=10.0.0.1/24 interface=ether2

/ip route
ip route add dst-address=10.0.2.0/24 gateway=10.0.0.2

/routing pim interface
add

/routing pim rp
add address=10.0.1.1

#####configuration script for router B

/ip address
add address=10.0.2.1/24 interface=ether1
add address=10.0.0.1/24 interface=ether2

/ip route
ip route add dst-address=10.0.1.0/24 gateway=10.0.0.1

/routing pim interface
add interface=ether1

/routing pim rp
add address=10.0.1.1

###router are connected by ether2 ports
###vlc streaming server is connected to ether1 of routerA and streams to 224.0.1.20
###vlc client is connected to ether1 of routerB and receive from 224.0.1.20
###I have made “ip route add 224.0.1.20/32 via 10.0.1.1” on vlc streaming server

I need some help!

best regards

--------------FV--------------

you have to check joins in PIM settings to see has someone joined that group or not.

when we did tests - PIM worked though NAT not talking about simple routed network.

anyway, wait for rc11 when it comes out. it is working better then rc10

also check if your client and server can ping each other as it is simple routing network.

and whereis that 10.0.0.2 that is used as a gateway?

Tanx Janisk, now vlc works well on mikrotik router. I have change pim config:

#####configuration script for router A

/ip address
add address=10.0.2.1/24 interface=ether1
add address=10.0.0.2/24 interface=ether2

/ip route
ip route add dst-address=10.0.1.0/24 gateway=10.0.0.1

/routing pim interface
add

/routing pim rp
add address=10.0.0.2

#####configuration script for router B

/ip address
add address=10.0.1.1/24 interface=ether1
add address=10.0.0.1/24 interface=ether2

/ip route
ip route add dst-address=10.0.2.0/24 gateway=10.0.0.2

/routing pim interface
add interface=ether1
add interface=ether2

/routing pim rp
add address=10.0.0.2

the only problem is “leaving channel”: when I stop vlc, traffic don’t stop!
I’m waiting for Rc11!!

best regard

---------------FV-----------------

v3.0rc11 is released, you can try it out.

PIM does not work properly on VLAN interfaces.

You should be more specific what isn’t working. It works for me.