~/netref / Multicast (IGMP/PIM)
##

Multicast (IGMP / PIM)

Efficient one-to-many delivery — sent once, replicated by the network only where needed. Class D is 224.0.0.0/4.

// group ranges
224.0.0.0/24Local network control (link-local, not routed)
224.0.1.0/24Internetwork control
232.0.0.0/8Source-Specific Multicast (SSM)
233.0.0.0/8GLOP (RFC 3180)
239.0.0.0/8Administratively scoped (private)
// well-known groups
224.0.0.1All hosts
224.0.0.2All routers
224.0.0.5OSPF — all routers
224.0.0.6OSPF — DR/BDR
224.0.0.9RIPv2
224.0.0.10EIGRP
224.0.0.13PIM
224.0.0.18VRRP
224.0.1.39Cisco RP-Announce
224.0.1.40Cisco RP-Discovery

// Layer 2 (MAC) mapping

239.142.57.6 01-00-5E-0E-39-06
11101111 10001110 00111001 00000110  →  0000 0001 · 0000 0000 · 0101 1110 · 00001110 00111001 00000110
// IGMP versions
IGMPv1Original spec — join only, no explicit leave
IGMPv2Adds leave messages + querier election
IGMPv3Adds source filtering (used by SSM)
// PIM modes
Dense ModeFlood then prune — tree starts everywhere
Sparse ModeBuilt from an RP out to source & receivers
Sparse-DensePer-group: sparse if an RP is known, else dense
// distribution trees
Source-Rooted (SPT)Shortest path from the source to each receiver
Shared TreeCommon links rooted at a Rendezvous Point (RP)
  • Group IP maps to MAC 01:00:5E + the low 23 bits of the IP
  • Example: 239.142.57.6 → 01-00-5E-0E-39-06
  • 5 bits are dropped, so 32 group IPs share one MAC
  • PIMv1 uses Auto-RP (Cisco) · PIMv2 uses the BSR (standard)
// terminology
IGMPHosts join groups by signaling local routers
IGMP SnoopingSwitch inspects IGMP → forwards only to members
PIMProtocol Independent Multicast — routes the traffic
RPRendezvous Point — shared-tree root (sparse mode)
RPFReverse Path Forwarding — loop check vs unicast route
CGMPLegacy Cisco switch protocol (deprecated)
pim / igmp · cisco ios
ip multicast-routing
!
interface Gi0/0
 ip pim sparse-mode
 ip igmp version 3
!
! Static rendezvous point
ip pim rp-address 10.0.0.1
verify
show ip mroute
show ip pim neighbor
show ip pim rp mapping
show ip igmp groups