On a Unix or Linux computer we can run the iftop
command and monitor
the packets of all the other computers on our local network. Why does
this not completely saturate the bandwidth of our connection?
Your premise is incorrect. iftop
does not “monitor the packets of all the other computers on our local network.” As described in the official documentation for iftop
:
iftop - display bandwidth usage on an interface by host
Additionally in the description; emphasis is mine:
iftop listens to network traffic on a named interface, or on the first
interface it can find which looks like an external interface if none
is specified, and displays a table of current bandwidth usage by pairs
of hosts.
All iftop
does is present network data for the machine it is run on including packets destined for the specific machine. But unless iftop
is run from a server that is a router or some kind of device that sits in the middle of all network traffic, it won’t ever show anything but traffic on the local machines network ports.
That said, you if you are seeing packets from other machines they are most likely from devices broadcasting their presence via ARP and/or multi-cast. Line via technology like Bonjour or Avahi. But this is not tons of packets but rather bursts of "I'm here!" announcements from devices that help your interface know who/where these devices are.
In some environments, ARP traffic & broadcasting is disabled for this reason. It’s not so much that it saturates bandwidth as much as the constant announcements can just cause confusion to switches and such.