03-05-2013 05:30 PM - edited 03-07-2019 12:04 PM
Hello everyone,
I had done a LAB to studded IP Multicast as attached. it is very simple but my Multicast Routing doesn't work.
I had done test with VLC player as a server at the side A and a client at the side B but side B never receive any Video.
well, I had done an simple configuration with static route and with commands follow regard IP Multicast
the two routers has the same configuration about IP Multicast
ip multicast-routing
interface FastEthernet0/0
ip address 10.80.1.1 255.255.255.0
ip pim sparse-mode
duplex auto
speed auto
interface Serial0/0/0
ip address 10.80.2.1 255.255.255.0
ip pim sparse-mode
encapsulation ppp
clock rate 2000000
on the server side I came up VLC player as follow
vlc -vvv video1.xyz --sout udp:239.255.12.42 --ttl 12
on the client side I came up VLC player as follw
vlc -vvv udp://@239.255.12.42
I would like any tip about how to configuration IP Multicast routing. for exemplo can I set IP Multicast with static router or I must use
a dynamic routing protocol ?
I wonderfull if anyone help me with a how to about IP Multicas for small enviroment as attached.
I need a straight configuration that only pass my Multicast traffic.
thanks
sorry my poor English
Solved! Go to Solution.
03-05-2013 07:39 PM
Hello Natha,
As Reza said you do not have to rely on an unicast routing protocol as a requisite that is why one of the protocols ( the one most used) between routers to exchange multicast traffic is called PIM ( Protocol Independent Multicast)
Now, I can see that you are running PIM Sparse mode and this means that you will use a Rendevouz Point as root of the multicast traffic.
The source traffic will register with the Rendevouz Point before sending multicast traffic to any of the clients that join the multicast group.
My question would be:
Have you defined already a multicast RP, if not just determine whitch of your routers you want to configure as the RP and configure on each device the following command ( Even on the RP device so you can let it know , it will be the RP)
pim rp-address x.x.x.x ( This usually is a loopback address due to redundancy purposes right) but you would need to inform all the routers about that loopback address using the IGP protocols,etc)
In your case you could use one of the physical interfaces of one of the devices, let's say
the router having IP address 10.80.2.1 255.255.255.0 will be the RP.
So on both routers configure:
pim-rp address 10.80.2.1
Give it a try and let us know
Regards,
Julio Carvajal
03-08-2013 04:38 PM
Hello Natha,
Glad to hear that it's up and running
Here you have 2 books that are great on this topic, the second one I have not read it..
The first one I did read it twice and I can ensure you that it covers the processure of manually setting a RP or the protocols to do this dinamically (Auto-RP, bootstrap)
Regards
03-05-2013 05:38 PM
Hi,
Yes, Multicast works with static routes as long as you have reach ability between the source and the receiver. Can the server ping the client currently?
can the client ping the server?
Are the server and client connected directly to the routers or there is switch at each location? Your diagram show something but not clear if there is a switch at each side.
HTH
03-06-2013 03:05 PM
Thank you Reza Sharifi,
Can the server ping the client currently?
A: yes by IP Address each other
Are the server and client connected directly to the routers or there is switch at each location?
A: yes, there is a Switch L3 3560
on switch I had done
ip igmp snooping
ip igmp snooping vlan
I had done a test put the server and client at the same segmet LAN Layer 2 and all it's Work!
My problem is a issue IP Multicast Routing
thanks
03-06-2013 03:13 PM
Hi,
A: yes, there is a Switch L3 3560
If the switch is used as a layer-3 device then you also need "ip pim sparse-mode" under each vlan SVI.
If the switch is used as layer-2 only then
ip igmp snooping
and
ip igmp snooping vlan xx
should be enough.
HTH
03-05-2013 07:39 PM
Hello Natha,
As Reza said you do not have to rely on an unicast routing protocol as a requisite that is why one of the protocols ( the one most used) between routers to exchange multicast traffic is called PIM ( Protocol Independent Multicast)
Now, I can see that you are running PIM Sparse mode and this means that you will use a Rendevouz Point as root of the multicast traffic.
The source traffic will register with the Rendevouz Point before sending multicast traffic to any of the clients that join the multicast group.
My question would be:
Have you defined already a multicast RP, if not just determine whitch of your routers you want to configure as the RP and configure on each device the following command ( Even on the RP device so you can let it know , it will be the RP)
pim rp-address x.x.x.x ( This usually is a loopback address due to redundancy purposes right) but you would need to inform all the routers about that loopback address using the IGP protocols,etc)
In your case you could use one of the physical interfaces of one of the devices, let's say
the router having IP address 10.80.2.1 255.255.255.0 will be the RP.
So on both routers configure:
pim-rp address 10.80.2.1
Give it a try and let us know
Regards,
Julio Carvajal
03-06-2013 03:13 PM
Hello, jcarvaja your tips are very good!!
I think my issue is about RP definition. I go to test and come back for you
thanks!
03-06-2013 03:35 PM
Hello Natha,
Great to hear that I could help,
Sure, just let me know,
Regards,
03-08-2013 04:27 PM
Hello,
All it's working! I just add pim rp-address x.x.x.x on all routers.
thank very much
I should like comment that some books from cisco press doesn't bring up explain about add pim rp-address command.
I read that RP router ware automatic by exchange messagem router by router even with PIM sparse-mode
03-08-2013 04:38 PM
Hello Natha,
Glad to hear that it's up and running
Here you have 2 books that are great on this topic, the second one I have not read it..
The first one I did read it twice and I can ensure you that it covers the processure of manually setting a RP or the protocols to do this dinamically (Auto-RP, bootstrap)
Regards
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide