10

why TTL value 1 in IGMP protocol and what are the different values possible in TTL section for Multicasting.

What I got from the google is that if TTL value is 1 then it won't leave the LAN, but if it won't leave the LAN how the msg will be broadcasted ?

Ron Maupin
  • 99,565
  • 26
  • 120
  • 195
dillip_beta
  • 449
  • 1
  • 5
  • 13

2 Answers2

11

The reason that it doesn't have to leave the LAN is that IGMP (or MLD if you use IPv6) only talks to the multicast router on the LAN. The multicast router will take care of the routing.

Sander Steffann
  • 6,770
  • 22
  • 33
  • 2
    If the TTL is 1, no router will forward it. That's the whole point. – Ricky Jun 27 '14 at 18:20
  • 1
    The IGMP message isn't forwarded. It is meant to talk to the multicast router on the local subnet. It is never forwarded. The multicast router will probably use PIM or a similar protocol to talk to upstream multicast routers to get the data to flow to where it is needed. – Sander Steffann Jun 27 '14 at 18:23
  • Which protocol is commonly used by multicast router for routing, like PIM or DVMRP or MOSPF and based on what they are used ? Thank You – dillip_beta Jun 30 '14 at 03:44
  • I most commonly see PIM-SM and PIM-SSM. The first choice is between a dense (send multicast packets down a link unless requested not to) or sparse (don't send multicast packets unless asked to) protocol. After that it is mostly a matter of taste, local policy or special requirements. – Sander Steffann Jun 30 '14 at 08:18
6

TTL == 1 means stay on this network; it will not be forwarded by any router. This is true of multicast and unicast. The purpose for doing this with multicast is to limit how far the message can spread. For example, 224.0.0.1 (All Systems on this Subnet) is required to have a TTL of 1 to keep it "on this subnet". 224.0.1.1 (NTP) can have as high a TTL as you like to reach as far across your network as you need.

Ricky
  • 32,147
  • 2
  • 43
  • 85