Masks control the local-delivery decision

Each host uses its own routing configuration. Two hosts sharing Ethernet can disagree about whether they belong to the same IP subnet. A smaller prefix length covers more addresses; it does not extend the physical broadcast domain.

  • DNS 130.192.16.253/25 sees .128-.255 as its subnet’s complete range. H1 .1/24 sees DNS as local, but DNS sees H1 as remote. A gateway at .254 is reachable, allowing the answer to return through the router.
  • Move that gateway to .100: it lies outside DNS’s configured /25. Under the workbook’s direct-next-hop model, DNS cannot send the answer through it.
  • H1 130.192.16.81/23 thinks DNS 130.192.17.2 is local. If DNS is on another Ethernet segment, H1’s ARP broadcasts never reach it. Correcting H1 to the intended /24 makes DNS traffic use its gateway.

These are workbook assumptions, not a claim that all systems reject every off-subnet gateway configuration. Explicit on-link routes and other platform features are outside these exercises.

Read the first missing stage

Capture patternExplanation in the relevant workbook example
Echo Requests without Replies after disconnectionCached MAC still permits requests, but destination no longer answers
Unanswered ARP after cache expirySender cannot resolve the next recipient’s MAC
Repeated ARP for a physically remote DNS serverWrong mask makes sender attempt direct delivery
DNS Queries without AnswersQuery or response path, DNS service or configuration may fail
DNS Query followed by ICMP Network UnreachableRouter reports no delivery route
TCP SYN without a successful handshakeInvestigate transport reachability, filtering or service availability
HTTP error responseRequest reached an HTTP endpoint; inspect the application response

A pattern is evidence, not always a unique diagnosis. Inspect addresses/masks/gateway/DNS, test name resolution, and use ping, traceroute and captures to narrow the failure. Ping success does not prove HTTP service availability; ping failure does not prove all other traffic fails. Retry counts, cache lifetimes and application termination vary by system.

HTTP through a configured proxy

In the workbook’s explicit plain-HTTP proxy scenario, the client knows the proxy IP and opens its TCP connection to the proxy. It supplies the requested website name inside the HTTP request; client-side DNS resolution of that website is unnecessary for this example. The proxy’s cache already contains the page.

ARP for local gateway if necessary
TCP: SYN -> SYN-ACK -> ACK with proxy
HTTP GET naming desired website -> proxy
HTTP response and TCP acknowledgments
Field on client’s outgoing frameIdentifies
Destination MACLocal gateway, when proxy is remote
Destination IPProxy
Website name in HTTP requestDesired website

Ping uses ICMP and does not use this HTTP proxy setting. DNS commonly uses UDP in these simplified traces; UDP adds no TCP-style connection handshake. Application retries can still occur. TCP provides ordered reliable delivery using sequence numbers, acknowledgments and retransmission. Responses can span multiple segments; acknowledgments may be delayed or combined with data. The workbook’s displayed separate ACKs are an illustrative sequence, not a universal count. Normal TCP closure often uses FIN/ACK exchanges in both directions; the exercise’s response-size-dependent trace does not specify a complete close sequence. This is the supplied plain-HTTP model, not a walkthrough of HTTPS or every web transport.

Source

Fulvio Risso, Exercises on Packet Sniffing and Traffic Analysis, 17 September 2017, 56 pages. Source: local 01e - Packet Sniffing and Traffic Analysis.pdf in Downloads. PDF page order is used. Workbook-derived explanations retain CC BY-NC-SA 3.0 attribution and licensing: https://creativecommons.org/licenses/by-nc-sa/3.0/. Original PDF and figures remain local. Plain-language analogies and qualifications are added study explanations.