Octet

What is the difference between a collision domain and a broadcast domain? Count them in an example.

Show the answer

Say this first

A collision domain is the set of devices whose transmissions can collide on a shared half-duplex medium. Hubs extend it; every switch port and router port is its own. A broadcast domain is the set of devices that receive a layer 2 broadcast. Switches extend it within a VLAN; routers and VLAN boundaries end it. With full duplex on every port, collisions cannot happen at all.

Go deeper

Worked example

R1 has two LAN interfaces. Gi0/0 connects to switch SW1 with four PCs. Gi0/1 connects to a hub with three PCs. All on one VLAN each.

  • Broadcast domains: 2. One per router interface. R1 does not forward broadcasts.
  • Collision domains: 6. SW1 has five ports in use (four PCs and the uplink to R1), each its own collision domain. The hub, its three PCs and R1 Gi0/1 share one.

Rules of thumb

DeviceCollision domainsBroadcast domains
Hub1 for all ports1
Switch, one VLAN1 per port1
Switch, N VLANs1 per portN
Router1 per interface1 per interface

Why it matters now

Collision domains are history on a full-duplex switched network. Broadcast domains still matter: every host in one must process every ARP and broadcast, and a loop in one becomes a broadcast storm. That is why we keep VLANs to a few hundred hosts.

Traps

  • Saying switches break up broadcast domains. They break up collision domains.
How did you do?Book 2.6 Multi-Access NetworksBook 3.2 Switched Ethernet