Concepts / Multicast

Multicast

IGMP snooping

Also called multicast database, mdb, bridge mdb

A switch reading its devices' IGMP to send each multicast group only out of the ports that joined it.

A plain switch floods multicast to every port, like broadcast. A snooping switch listens to the IGMP reports and leaves passing through it and keeps a multicast database: which ports have members of which group. A group's traffic then goes only to those ports, plus towards multicast routers. Snooping depends on a querier: without regular queries the entries age out. On Linux, bridge mdb show is the table.

One packet in, two out
One packet in, two out

The switch reads the IGMP reports to learn which ports joined, and copies the group's frames out of those ports alone. From the Multicast: send it once, to whoever asked lab.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab