Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Multicast Ports?

We use multicast heavily throughout our Datacenter for heartbeat purposes for servers and other cisco proprietary uses HSRP etc...My question is, in multicast is having different ports make a difference if using the same multicast address with other services. Or should we use a unique multicast address for each service that does not conflict? I always thought that ports for multicast were irrelavant and only unique addresses were needed? Sorry if this seems to basic of a question. Thx!

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Multicast Ports?

Not really ... just like unicast, it is the combination of the address and the port that matters. But you would do well to use different multicast IP addresses for different application because switches will distribute multicast packets according to the IP address (regardless of port).

So if you have two applications that use the same IP address but different ports, a machine that is interested in either application will have to listen to both sets of traffic and filter out the port it is not interested in. If they are using different IP addresses, the switch will do that for them.

(Actually, its a bit more complicated because the switch distributes according to groups of 32 addresses, so there may be some overlap even if the addresses are different ... if the addresses fall in the same MAC group.)

Kevin Dorrell

Luxembourg

3 REPLIES
Cisco Employee

Re: Multicast Ports?

Hi Friend,

It will be good to use different address if assigning a multicast address for some application is in your control. I do not think port number is relevant for multicast traffic as it is mostly UDP based traffic.

Regards,

Ankur

New Member

Re: Multicast Ports?

So in your expert opinion will we expect problems if there is an IP address conflict even if UDP ports used are different?

Re: Multicast Ports?

Not really ... just like unicast, it is the combination of the address and the port that matters. But you would do well to use different multicast IP addresses for different application because switches will distribute multicast packets according to the IP address (regardless of port).

So if you have two applications that use the same IP address but different ports, a machine that is interested in either application will have to listen to both sets of traffic and filter out the port it is not interested in. If they are using different IP addresses, the switch will do that for them.

(Actually, its a bit more complicated because the switch distributes according to groups of 32 addresses, so there may be some overlap even if the addresses are different ... if the addresses fall in the same MAC group.)

Kevin Dorrell

Luxembourg

528
Views
0
Helpful
3
Replies
CreatePlease login to create content