Take the 2-minute tour ×
Network Engineering Stack Exchange is a question and answer site for network engineers. It's 100% free, no registration required.

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 ?

share|improve this question

2 Answers 2

up vote 8 down vote accepted

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.

share|improve this answer
    
Ty for replay, its is really helpfull. –  dillip_beta Jun 27 at 8:58
1  
If the answer solves your problem/question please don't forget to mark it as such. That's how sites such as this work :) –  Sander Steffann Jun 27 at 11:19
    
If the TTL is 1, no router will forward it. That's the whole point. –  Ricky Beam Jun 27 at 18:20
    
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 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 at 3:44

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.

share|improve this answer
    
He is asking about the IGMP messages, your answer seems to be about the actual multicast packets. –  Sander Steffann Jun 27 at 18:24
    
what are the different values possible in TTL section for Multicasting. sigh –  Ricky Beam Jun 27 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. –  Sander Steffann Jun 28 at 19:20
    
Ty Ricky, in the case of NTP what should be the TTL value ? will it be 31 or 255. Ty –  dillip_beta Jun 30 at 3:53
    
here, I'm seeing "64" and I did nothing special to openntpd. –  Ricky Beam Jun 30 at 4:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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