cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2388
Views
0
Helpful
8
Replies

A simple IP Multicast

Natha340Mai340
Level 1
Level 1

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

2 Accepted Solutions

Accepted Solutions

Julio Carvajal
VIP Alumni
VIP Alumni

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

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC

View solution in original post

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)

http://www.amazon.com/Routing-Switching-Certification-Guide-Edition/dp/1587059800/ref=sr_1_1?ie=UTF8&qid=1362789436&sr=8-1&keywords=CCIE+ROUTING+AND

http://www.amazon.com/Developing-Multicast-Networks-Volume-paperback/dp/1587142899/ref=sr_1_sc_1?ie=UTF8&qid=1362789447&sr=8-1-spell&keywords=IPMULTICAST

Regards

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC

View solution in original post

8 Replies 8

Reza Sharifi
Hall of Fame
Hall of Fame

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

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

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

Julio Carvajal
VIP Alumni
VIP Alumni

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

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC

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!

Hello Natha,

Great to hear that I could help,

Sure, just let me know,

Regards,

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC

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

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)

http://www.amazon.com/Routing-Switching-Certification-Guide-Edition/dp/1587059800/ref=sr_1_1?ie=UTF8&qid=1362789436&sr=8-1&keywords=CCIE+ROUTING+AND

http://www.amazon.com/Developing-Multicast-Networks-Volume-paperback/dp/1587142899/ref=sr_1_sc_1?ie=UTF8&qid=1362789447&sr=8-1-spell&keywords=IPMULTICAST

Regards

Julio Carvajal
Senior Network Security and Core Specialist
CCIE #42930, 2xCCNP, JNCIP-SEC
Review Cisco Networking for a $25 gift card