Avatar of jskfan
jskfan
Flag for Cyprus asked on

Multicast IGMP Join Group

I have noticed the Multicast Address used in the command:
IP IGMP Join-Group <IP Address>
sometimes it is 239.1.1.1 , sometimes 239.3.3.3 ,etc....
I would like to know how the IP address is determined.

Thank you
RoutersTCP/IP* multicast

Avatar of undefined
Last Comment
jskfan

8/22/2022 - Mon
Chris Jones

Hi Jskfan,

Could you clarify what you are asking?

Multicast addresses function as an identifier to a group of hosts.

The group address should be one in the multicast range:
https://www.iana.org/assignments/multicast-addresses/multicast-addresses.xhtml

The 239.0.0.0/8 range (239.0.0.0 - 239.255.255.255) are described in RFC 2365 (Administratively Scoped IP Multicast):
https://tools.ietf.org/html/rfc2365

A significant point is:
"Administratively scoped IPv4 multicast addresses do not cross administratively defined organizational boundaries, and administratively scoped IPv4 multicast addresses are locally assigned and do not have to be globally unique." (Wiki, https://en.wikipedia.org/wiki/Multicast_address)

Does this help?

Kind regards,
Chris
jskfan

ASKER
for instance on this link: https://networklessons.com/cisco/ccie-routing-switching/igmp-version-2/
H2(config)#interface GigabitEthernet 0/1
H2(config-if)#ip igmp join-group 239.1.1.1
Chris Jones

I think I understand you to mean "Why would you chose 239.1.1.1 as a group address, as opposed to another range of multicast addressing?".

The 239.1.1.1 address is a multicast address chosen by a network admin (manually) to identify a number of hosts to which the multicast traffic shall be sent. This range is "locally significant" to the network, and is not a global address.

The ip igmp join-group <address> statement tells H2 to join the multicast group (as defined here: https://www.iana.org/assignments/multicast-addresses/multicast-addresses.xhtml)

I notice the link you provide is from a CCIE study guide, if you are studying towards your CCIE, have you already completed the CCNA/CCNP first, if not, it is well worth looking through them as they do go into this stuff in a little more detail.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
jskfan

ASKER
The 239.1.1.1 address is a multicast address chosen by a network admin (manually) to identify a number of hosts to which the multicast traffic shall be sent. This range is "locally significant" to the network, and is not a global address.

So the Network Admin, can enter any IP address from 224.0.0.0 - 239.255.255.255  ??
Chris Jones

Not exactly no, the 224.0.0.0 - 239.255.255.255 range also has sub-networks such as 244.0.0.0 - 224.0.0.255, the hosts in this network are designated to local subnetworks only.

For example the multicast address 224.0.0.10 is used in EIGRP the Cisco interior gateway routing protocol for creating neighbourships and so on (sometimes these are done using unicast, just to add to complication)

If you look at the following two links you may find a little more information about the reserved ranges in multicast addressing.
https://en.wikipedia.org/wiki/Multicast_address
https://www.iana.org/assignments/multicast-addresses/multicast-addresses.xhtml

And this link for the cisco manual regarding join-group:
http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipmulti/command/imc-cr-book/imc_i1.html#wp2941931051

IGMP multicast addresses:
http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipmulti_igmp/configuration/15-sy/imc-igmp-15-sy-book/imc_customizing_igmp.html

The join-group command is not limited to the 239.x.x.x range but you should understand the ranges to understand which values can be used.

For example if you tried to use 224.0.0.9 you would have the following returned: Illegal multicast group address, this is because it is reserved for use with RIPv2.
jskfan

ASKER
I see on this link : http://www.tcpipguide.com/free/t_IPMulticastAddressing.htm

224.0.0.0 to 224.0.0.255: Reserved for special “well-known” multicast addresses.
224.0.1.0to 238.255.255.255 Globally-scoped (Internet-wide) multicast addresses.
239.0.0.0 to 239.255.255.255  Administratively-scoped (local) multicast addresses.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
Chris Jones

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
jskfan

ASKER
Thank you