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 ?

2 Answers 2

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.

4
  • 2
    If the TTL is 1, no router will forward it. That's the whole point.
    – Ricky
    Jun 27, 2014 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. Jun 27, 2014 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 Jun 30, 2014 at 3: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. Jun 30, 2014 at 8: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.

5
  • 1
    He is asking about the IGMP messages, your answer seems to be about the actual multicast packets. Jun 27, 2014 at 18:24
  • what are the different values possible in TTL section for Multicasting. sigh
    – Ricky
    Jun 27, 2014 at 19:28
  • TTL always means the same. It needs to be high enough so that it can reach the destination you are talking to. If that destination is on your local LAN then TTL=1 is enough. Jun 28, 2014 at 19:20
  • Ty Ricky, in the case of NTP what should be the TTL value ? will it be 31 or 255. Ty Jun 30, 2014 at 3:53
  • here, I'm seeing "64" and I did nothing special to openntpd.
    – Ricky
    Jun 30, 2014 at 4:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.