Skip to content

Broadcast domains and boundaries

Module
Ethernet and Local Delivery
Difficulty
Easy
Updated
Tested on
Ubuntu 24.04.5 LTS, netlab 1.0, GNU Bash 5.2.21, tcpdump 4.99.4
On this page

A broadcast reaches everyone nearby. You have seen phone capture laptop’s question, although the question asked for router. Web also belongs to the lab. You need a more precise boundary than “everyone” before predicting whether web sees the same frame.

Finish Unicast, broadcast, and flooding. Leave machine shells and run netlab reset from the VM terminal. Keep modes off. Terminal 1 begins at the VM prompt and enters web. Terminal 2 enters laptop. Start web’s listener first, then send laptop’s first ping to router’s home address.

Keep the previous lesson’s arp or icmp filter, numeric addresses and link headers. Router’s eth0 is its home interface; eth1 is its site interface. Web has eth0 on the site network. Those names describe different places even when two interfaces share the name eth0.

Predict: will web see the broadcast sent by laptop before its first ping to router?

Listen beyond the router
learner@rootvolt:~$ netlab shell web[sudo] password for learner: learner@web:~$ sudo tcpdump -i eth0 -n -e arp or icmp[sudo] password for learner: tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes^C0 packets captured
0 packets received by filter
0 packets dropped by kernellearner@web:~$ exitlogoutlearner@rootvolt:~$ 

Step-by-step replay of a verified session · Recorded on Ubuntu 24.04.5 LTS, networking lab (netlab 1.0), GNU Bash 5.2.21. Terminal 1 enters web and listens on its site interface while laptop sends from home.
Steps (17)
  1. Type netlab shell web
  2. Press Enter
  3. Output: [sudo] password for learner:
  4. Type the password (the terminal shows nothing)
  5. Press Enter
  6. Type sudo tcpdump -i eth0 -n -e arp or icmp
  7. Press Enter
  8. Output: [sudo] password for learner:
  9. Type the password (the terminal shows nothing)
  10. Press Enter
  11. Output: tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
  12. Terminal 2 on laptop finished sending. Return to terminal 1.
  13. Press Ctrl + C
  14. Output: 0 packets captured 0 packets received by filter 0 packets dropped by kernel
  15. Type exit
  16. Press Enter
  17. Output: logout
Send from terminal 2 on laptop
learner@laptop:~$ ping -c 1 10.77.10.1PING 10.77.10.1 (10.77.10.1) 56(84) bytes of data.
64 bytes from 10.77.10.1: icmp_seq=1 ttl=64 time=0.397 ms

--- 10.77.10.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.397/0.397/0.397/0.000 mslearner@laptop:~$ 

Step-by-step replay of a verified session · Recorded on Ubuntu 24.04.5 LTS, networking lab (netlab 1.0), GNU Bash 5.2.21. Terminal 2 on laptop starts the first ping to router's home address in this fresh lab.
Steps (3)
  1. Type ping -c 1 10.77.10.1
  2. Press Enter
  3. Output: PING 10.77.10.1 (10.77.10.1) 56(84) bytes of data. 64 bytes from 10.77.10.1: icmp_seq=1 ttl=64 time=0.397 ms --- 10.77.10.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.397/0.397/0.397/0.000 ms
Check your answer

Web captures zero matching frames. The ping succeeds, so a quiet capture on web does not mean laptop failed to send. It means this traffic did not reach the interface where web was listening.

A second recording made at the same time listens at both router interfaces. You can repeat it by listening on router with the same filter: use -i eth0 for home or -i eth1 for site, resetting before each run. On its home interface, the first frame has destination ff:ff:ff:ff:ff:ff and asks who has router’s home address. The site interface and web see none of that broadcast. Compare those points before deciding where the frame stopped.

Capture point Matching frames Home broadcast
router:eth0 4 Present
router:eth1 0 Absent
web:eth0 0 Absent

The four home frames include the question, its answer, the echo request and its reply. Only the first is broadcast. Count the destination addresses as well as the total; four captured frames do not mean four broadcasts.

A broadcast domain is the set of interfaces a local broadcast can reach through the connected switches. Router’s two sides belong to different broadcast domains. It receives the home broadcast on its home interface and does not forward that frame onto the site network.

Router separates two broadcast domains Router straddles the shared boundary: eth0 faces home and eth1 faces site. Point 1 sees the broadcast; points 2 and 3 see no matching frames. laptop phone sw-home sw-site web router 1 2 3 home broadcast domain site broadcast domain eth0 eth1 1 router eth0: broadcast arrives 2 router eth1: no matching frames 3 web eth0: no matching frames
Router separates two broadcast domains Router straddles the boundary: eth0 faces home and eth1 faces site. The key below both regions gives the results for the three numbered capture points. laptop phone sw-home sw-site web router 1 2 3 home broadcast domain site broadcast domain eth0 eth1 1 router eth0: broadcast arrives 2 router eth1: no matching frames 3 web eth0: no matching frames
Router straddles the home and site broadcast domains. Point 1, router eth0, sees the broadcast arrive. Points 2, router eth1, and 3, web eth0, see no matching frames.

Router straddles the boundary, with its eth0 link inside the home domain and its eth1 link inside the site domain.

This gives a concrete meaning to “one network” from LANs, WANs, and the Internet. Laptop, phone and router’s home interface share local broadcast delivery. Web and router’s site interface share a different local broadcast boundary. The router can carry suitable traffic between those networks, but sharing a router does not make them one broadcast domain.

“A router forwards everything it receives.” Router’s home capture contains the question; its site capture does not. Receiving a frame is not a promise to copy it onto every other interface. Reading the successful ping alone would miss this difference.

“Zero frames means the whole network is silent.” Web’s zero is a result at web. The simultaneous home capture has four frames. Always keep the capture point beside the result when describing evidence.

These counts belong to a fresh, quiet run with the stated filter. Other traffic or an already used lab can change what appears. Begin again before comparing. You are checking whether the home broadcast crosses the boundary, rather than promising a count for every network.

In this model, sw2 connects one interface of each router. Each router’s other interface connects to an outer switch. Outline every broadcast domain and list its members, including the named machines. Predict which switches a broadcast from pc2 reaches. Then predict what router’s site interface captures from laptop’s first ping to router after a reset. In terminal 1, run netlab shell router, then sudo tcpdump -i eth1 -n -e arp or icmp. In terminal 2, enter laptop with netlab shell laptop and run ping -c 1 10.77.10.1. Stop the listener with Ctrl+C and compare with your prediction.

Find the members of each broadcast domain Switches sw1, sw2 and sw3 form a chain through routers r1 and r2. Machine pc1 joins sw1, pc2 joins sw2, and pc3 joins sw3. Outline every broadcast domain. sw1 r1 sw2 r2 sw3 pc1 pc2 pc3
Find the members of each broadcast domain A vertical chain joins sw1, r1, sw2, r2 and sw3. Each switch has its named machine on a straight link to the right. Outline every broadcast domain. sw1 pc1 r1 sw2 pc2 r2 sw3 pc3
Simplified model. Three switches connect through r1 and r2. Machine pc1 joins sw1, pc2 joins sw2, and pc3 joins sw3. Outline the domains and list their members.
Solution

There are three domains. One contains pc1, sw1 and r1’s interface facing sw1. The next contains pc2, sw2 and the interfaces of r1 and r2 facing sw2. The last contains pc3, sw3 and r2’s interface facing sw3. A pc2 broadcast reaches both facing router interfaces and neither outer switch.

The site listener captures zero matching frames. This expected result is already proven by the existing simultaneous recording at router:eth1. The home broadcast appears at router eth0 and stops there.

  • A broadcast reaches interfaces within its broadcast domain.
  • Router separates home broadcast delivery from site broadcast delivery.
  • Compare captures at named interfaces to locate a boundary.

Next, Practice: Ethernet and Local Delivery combines byte reading, learning and receiver predictions.