Unicast, broadcast, and multicast

The three types

For broadcast and multicast, the source still sends only one frame. The switch performs replication and regeneration, copying it to the ports that should receive it: all ports for broadcast, group-member ports for multicast.

How multicast delivery works

The group is represented by a specific multicast IP address (like 239.1.1.1) with a corresponding multicast MAC. Receivers send Join messages declaring they want traffic for that multicast IP.

The source just sends; only hosts listening to that group address accept the packets.

Two protocols build the path:

The mental split: IGMP is hosts telling the LAN “I want in.” PIM is routers building the delivery tree between networks.