Home / Network / Multicast routing: PIM dense… Part 2

Multicast routing: PIM dense… Part 2

This post is a part of a serie of posts that introduce the operation of multicast routing:

  • Multicast routing: A step by step
  • Multicast routing: PIM dense
  • Multicast routing: From the source
  • Multicast routing: Hold ASM for a moment
  • Multicast routing: Rather than dense, sparse it and let’s meet at rendez-vous point
  • Multicast routing: RPF

We explore in this post, the operation of PIM multicast routing protocol in the by default operation mode PIM Dense mode. The idea is very simple: flood the network with multicast trafic and then prune it is no client willing it…

Server2 (the source of our multicast trafic: pings to group 226.0.0.1 group) is 3 hops away from its receivers: client1 and 2 (members of 226.0.0.1 multicast group willing to receive this trafic from the Server2)

bring up the multicast setup

The network setup is shown in the next figure:

R3 receives the multicast trafic and forwards it to its forwarding list interfaces (that are facing the clients downward). The router command show ip mroute shows an entry for this flow in format (S,G) sourced from 12.1.1.254 and toward the multicast group 226.0.0.1. This flow is flagged T (SPT-bit set) received from interface FastEthernet1/0 (facing the source of trafic) and forwarded to FastEthernet0/0 (facing the clients) in Forward state in Dense mode operation.

At R2 (one hop downward from the source towards the clients), the entry for the S comma G is present but the incoming interface list is not accurate (does not reflect what we expect as operation) and the outgoing interface list is populated by all interface in Forward state in Dense mode operation.

At R2 the outgoing interface list includes also the incoming interface! The incoming interface list is Null and the RPF neighbor indication is incorrect.

We check that no route exists at R2 to reach the source. This may explain why the RPF (Reverse Path Forwarding) fails…

We activate a debug ip multicast routing, and check that RPF (Reverse Path Forwarding) fails; this confirme the show command on ip cef done before.

Let’s configure a static route to Server2 and check that fowarding towards the source is accurate.

Now the mroute table is populated with a correct information… the Incoming interface points towards FastEthernet0/0 and indicates as RPF neighbor the nexthop of the static route entered earlier.

We do the same thing on R1 and check the mroute information about 226.0.0.1 multicast group

We check that Server1 is receiving now replies to its pings from Client1

In this lab PIM is configured in dense mode (which is the mode by default, the other mode is Sparse discussed in further posts in the same serie)

At R2, the output of the show ip pim interfaces thus the interfaces that are enable for PIM operation, shows that both interfaces FastEthernet0/0 and 1/0 are enabled for PIM v2 operation in Dense mode. The command shows also the DR (designated router).

At R3, we check that the information is coherent between routers (R2 for example). R2 sees that R3 is DR on FastEthernet1/0; the same information is confirmed by R3.

We recall that PIM is our multicast routing protocol that helps us deliver multicast trafic in a network similar to our lab setup (where routing is necessary because the server is not located in the same L2 or broadcast network as the clients)

The dense variant of PIM floods first the server trafic multicast domain wide (all routers and corresponding interfaces configured for PIM) and prune the paths or interfaces that are not willing to receive it.

prune and flood of PIM in dense mode

Let’s check the flood and prune behavior of PIM dense mode

Client1 is no more interested in 226.0.0.1. This is confirmed by the command show ip igmp memebership: no entry is recorded…

How R1 would react? when we add new memberships…

To see PIM into run we enable a debug ip pim

We check the IGMP active memebership using the command show ip igmp memebership.

We notice the the 226.0.0.1 in IGMP table is flaged as S for static and A for aggregate

The field Exp. Which indicates the status of the tracking shows that Client1 has stopped joining the group

For Test we reconfigure Client1 to join the group and the result is show in the next output:

The Exp. field downcounter is enabled again (count 3 minutes)

As soon as we stop IGMP (static or dynamic) memberships, R1 inserts a prune in RPF neighbor queue which cause the Exp. (Expire) field to stop.

In the mroute table the entry is flagged as P, which indicates that it’s pruned

Additionnally the outgoing interface list is changed to Null (because Client1 was the last client willing this trafic)

If Client1 joins again, R1 builds a message for its PIM RPF neighbor to ask for group multicast and populates the outgoing interface with the corresponding interface.

as a conclusion

as a conclusion we’ve checked in this post the basic operation of PIM multicast routing protocol in Dense mode from the client perspective. In the next posts we’ll deepen this understanding and continue to explore all the possibilities the CLI (command line) show and debug commands allow to configure and troubleshoot multicast…

Tagged:

Leave a Reply

802.11 (4) application (2) architecture (4) asm (4) automatisation (2) cagd (3) chd (2) cisco (6) command (5) controller (1) cost (6) coverage (5) debug (10) distance (6) dtls (2) dynamic rrm (5) firewall (2) fortinet (2) ieee (4) igmp (5) igp (8) interference (2) internet (3) ip (2) logique (2) loop (5) mac (3) machine learning (3) meraki (1) model (2) mpls (3) mroute (4) multicast (5) nat (2) ndp (2) network (3) next-hop (5) nurbs (3) osi (6) pat (2) pim (4) poisoning (6) projet (2) qos (2) radio (5) rib (5) rip (5) route (6) router (6) routing (15) rpf (4) rrm (10) security (3) show (5) simulation (2) sla (2) snr (2) solution (2) split-horizon (5) sql (1) ssl (2) ssm (4) static (6) stp (2) summarization (5) tcp (2) translation (1) travail (2) udp (2) vpn (3) vrf (3) wifi (11) wireshark (2) wlan (7) wlc (5)

  • vPC vs VSS
    Si l’objectif “historique” est le même : s’affranchir de la limitation de STP (blocage de ports pour prévenir les boucles), de l’usage des FHRP (HSRP, VRRP) pour équilibrer les liens, d’augmenter les performances en débit et capacité de calcul, d’éliminer les SPOF liés à l’utilisation d’un seul châssis ou stack de switches… les implémentations du
  • Présentation de livre: D.A.T(er) comme un professionnel, un Architecte…
    Dans ce blog, je présente ce travail sur le DAT ou Dossier d’architecture technique d’un point de vue d’un architecte réseau et services (sécurité, qualité de service, gestion d’infrastructure). Le lien vers le travail complet est: D.A.T(er) comme un professionnel, un Architecte… Le DAT… Le dossier d’architecture technique ou DAT s’inscrit en amont dans le
  • Book presentation: La dRRM du WiFi… en action!
    Ce blog présente le travail que vous pouvez retrouver sous le lien: La dRRM du WiFi… en action!, concernant la gestion des ressources radio dans un réseau wifi. La gestion des ressrouces radio ou RRM qui est au coeur de tout développement ou conception d’architecture wifi (d’entreprise ou publique). La RRM commen processus ou module
  • From router configuration to Excel… a basic how to automate configuration work process!
    comment récupérer une certaine information d’un fichier de configuration (routeur IOS de Cisco par exemple) et la mettre dans un fichier Excel en vue d’un traitement plus avancé ce traitement peut être simplement de comparer cette information de plusieurs sources (du routeur et du pare-feu, par exemple) à titre d’exemple nous souhaitons vérifier que les
  • Protected: An example network from scratch: Internet access
    This content is password protected.
September 2025
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  
Table of Contents
Copied!