Home / Network / Multicast routing: From the source… Part 3

Multicast routing: From the source… Part 3

This blog is a part of a serie of blogs about 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

Previously we’ve introduced multicast routing and PIM protocol operation in dense mode. In this blog, we’ll check the operation PIM multicast routing protocol from the source perspective. The next figure show our test topology:

Our multicast network is 3 router R1, R2 and R3, 2 servers: Server1 and Server2, one local to clients and the other is far away behind R3 router

Lets find out how R3 handles Server2 source multicast trafic? that is not local to clients…

R3 is the only UP router for the Server2 trafic. Upon sending of the multicast trafic, let’s check on R3 what happens…

the mroute

The next figure shows the output of mroute table (that shows forwarding information) by using the command show ip mroute:

the R3 mroute table show a correct source (ip addre 12.1.1.254) for the multicast trafic (pings in our case) towards the group 226.0.0.1 and incoming interface (Fastethernet1/0) but a Null outgoing interface list

the mrib

The mrib which is the ip multicast routing information base (not the mroute ou multicast routing table seen before) shows the output in the next figure:

The source of trafic is added successfully ant flagged as A (for accepted) but no clients appears under the show ip mrib client

the mfib

Similarily R3 the mfib table shows that the incoming interface (Fastethernet1/0) is accepting under SW Forwarding field but, all packets are being dropped (check the third term of 2/0/2, this counter corresponds to Other counts: Total/RPF failed/Other drops, in the legend)

No SW forwarding was into play

The third term of 2/0/2 shows 2 drops

let’s check the reason of these drops

A debug on mfib shows that these packets were dropped because of no forwarding interface

the output of the debug command (the last line for example) show that because of no forwarding information the packet from she Server2 is being dropped by the MFIBv4 forwarding process

Back to the mfib table (after lauching more trafic from the source)

In the output of the show ip mfib we check that the Fastethernet1/0 (R3 interface facing the Server2) the trafic is no more accepted flagged as NS which means Negate Signalling

No SW forwarding

The “Other” counter indicates a total of 35 drops, 13 due to RPF (which is new to the first test)

A debug ip pim shows nothing… PIM is not into play yet

enable PIM

Let’s enable a downward PIM neighbor

We brought up R2 router and PIM neighborship

PIMingly The neighbor is UP and added to the (*,226.0.0.1) which now in the forwarding state at R3 level as show in the next figure:

A debug ip mrouting indicates that upon the reception of the trafic the mroute entry is created

trafic being pruned

We check the status of the mroute toward the specific group 226.0.0.1 up and running. The incoming interface list is correct and so the outgoing interface list (please notice the keywork Prune added to the PIM mode of operation of this interface in Dense mode).

We check the mfib table. The Forwarding counts shows 2 forwarded packets.

The source is pruned and the “Other” counter is incrementing

From the beginning only 2 packets were SW forwarded. let’s clear mfib counters and check again.

We remark the NS flag for negate Signalling added to the FastEthernet1/0 interface and redo the test. We check that the flow is in mroute.

R2 sends a prune request which supposes that it has received a multicast packet from the source (and that no client is seen yet)

This is confirmed at R3 mfib (upon the reception of prune message from R2, the flow is dropped)

Let’s check what “debug ip mfib pak” says?

We send exactly 3 packets from the source and get the output in the next figure:

First of all the signalling was needed to determine the outgoing intreface. Then TS (no idea!), FS (fast switching) and PS (process switching) accepted forwarding of the packets.

The PS indicates no fowarding interfaces, then it drops the packet. On the other hand, the mfib table confirms that only one packet were fowarded (FS) as show in the next figure:

Then the source stops and the mfib at R3 is flagged with NS.

static igmp

Let’s now add a static igmp on R2 interface facing the receivers (such to signal that clients are present!)

At R3 the mroute shows a flagged T (indicating that SPT-bit is set; SPT stands for shortest path tree) route and correctly populated incoming and outgoing lists

The mfib table has changed also

Now the incoming interface is marked A for accept and the outgoing interface as F for forward. All packets were SW forwarded and no drops were registered.

The debug shows the packet are being forwarded because the forwarding interface is known now!

As conclusion

In this post we’ve checked the operation of our multicast routing network from the source (Server2) perspective by activating first the R3 (the router the nearst to Server2) and then R2. We showed how source trafic is being accepted and forwarded and then pruned because of lake of client.

We checked that in dense mode PIM signalling is not into much play (using the corresponding debug ip pim) from the source perspective.

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
  • 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
  • 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!