Core Networking · Study deck

Collision Mitigation Strategies

Imagine two trackers appearing with the same name.

Packet Pete is your guide for this deck.

collisionbirthday
Packet Pete, the module guide, in a scene from this chapter.
iotclass.org

After studying this chapter

Learning objectives

You will be able to:

  • Explain: Independent generation can remove a central bottleneck, but it needs enough value space for the chosen risk target and a credible duplicate-detection path.
  • Explain: The fleet owner may see a large list of unused names and assume that a match is rare.
  • Explain: IPv6 DAD checks a tentative address on a link; it does not make every future configuration failure impossible.
  • Explain: Duplicate-address repair can require discovery, reassignment, route or cache updates, application reconciliation, and audit logging.
iotclass.org

Major section

Start With the Failure, Not the Protocol · In 60 Seconds

IPv6 is a network addressing system with a very large address space.

  • A wait-and-retry rule can spread radio messages.
  • Unique assignment helps device names.
  • Listening and waiting can help radio traffic.
  • Smaller groups can reduce shared load.

Key terms

No probability
No probability is universally “safe.” Set an acceptance target from the consequence, then prove the allocator or medium-access control under the busiest credible event.

Why it matters

More possible addresses can reduce random identity clashes.

iotclass.org

Major section

Identity Assignment Patterns · Choose the Probability Target Explicitly

A trusted allocator selects a value that its current state says is unused.

  • This removes the independent-with-replacement birthday model while the allocator state is correct.
  • Independent generation can remove a central bottleneck, but it needs enough value space for the chosen risk target and a credible duplicate-detection path.
  • The approximation gives.

Key terms

Detection
Detection is useful only if the system also knows how to quarantine, reassign, repair caches or routes, and preserve audit history.

Why it matters

Partitioning reduces (n) within each collision domain and limits the blast radius of allocator failure.

iotclass.org

Major section

Checkpoint: Match Control to Variable · IPv6 Duplicate Address Detection

Larger space increases (m).

  • Coordinated allocation changes the choice process.
  • Detection and reassignment reduce duration and consequence; they do not erase the original event.
  • IPv6 does not “remove” address collisions.

Why it matters

Partitioning reduces (n) per domain.

iotclass.org

Major section

Shared-Medium Controls · Collision-Control Record

The release test should reproduce hidden-node, burst, and recovery conditions expected in the deployment.

  • One release record should connect failure, model, control, and observation.

Why it matters

Carrier sensing reduces some overlaps but does not hear every contender.

iotclass.org

Major section

Checkpoint: Evidence Before Release · Recovery Has a Load Limit

Recovery consumes the same constrained resources as useful work.

  • Duplicate-address repair can require discovery, reassignment, route or cache updates, application reconciliation, and audit logging.
  • Media recovery can require acknowledgements, backoff, retransmission, longer wake time, and application timeout handling.
iotclass.org

Major section

Checkpoint: Recovery Is Capacity · The Birthday Problem in IoT Networks

Detection does not make a collision free.

  • Eventual success can still miss latency, energy, or correctness budgets.
  • Persistent recovery is an escalation signal, not normal background noise.
  • The fleet owner may see a large list of unused names and assume that a match is rare.
  • pairs that could match.

Key terms

Birthday mathematics
Birthday mathematics is useful only after the choice space and the devices sharing it have been named precisely.

Why it matters

Because devices come in whole numbers, 302 is the first population for which the approximation exceeds 50%.

iotclass.org

Major section

Summary

Coordinated allocation, larger spaces, partitioning, and detection change different parts of the risk.

  • A birthday contour is a model output, not a universal protocol limit or safety label.
  • IPv6 DAD checks a tentative address on a link; it does not make every future configuration failure impossible.
iotclass.org

Deck summary

Key takeaways

IPv6 is a network addressing system with a very large address space.

  • A trusted allocator selects a value that its current state says is unused.
  • Larger space increases (m).
  • The release test should reproduce hidden-node, burst, and recovery conditions expected in the deployment.
  • Recovery consumes the same constrained resources as useful work.
iotclass.org

Retrieval practice

Recall check 1 of 5

Packet Pete says: answer from memory, then check your reasoning.

Q1Two redundant provisioning servers may operate during failover. Which control most directly prevents them from issuing the same local identifier?

AA shared authoritative allocation rule with atomic uniqueness enforcement or disjoint ranges
BLonger radio backoff after transmission failure
CA stronger antenna
DCounting only the average number of devices
Show answer

Answer: A Coordination or disjoint namespaces changes the assignment process so the servers cannot legitimately issue the same value.

iotclass.org

Retrieval practice

Recall check 2 of 5

Packet Pete says: answer from memory, then check your reasoning.

Q2An IPv6 node receives evidence during DAD that its tentative address is already in use. What follows from RFC 4862?

AThe duplicate address must not be assigned to the interface, and the system needs a recovery path
BThe address becomes safe after one ordinary ping
CIPv6 automatically merges the two interfaces
DOnly the transport layer needs to react
Show answer

Answer: A DAD failure blocks assignment of that address; how a new identifier or manual recovery is obtained depends on the configuration mechanism.

iotclass.org

Retrieval practice

Recall check 3 of 5

Packet Pete says: answer from memory, then check your reasoning.

Q3A network eventually delivers nearly every message, but an outage-recovery burst raises p95 latency beyond the control deadline and triples radio energy. What is the best conclusion?

ARecovery is consuming the latency and energy budgets, so the burst-control design must change
BThe design passes because no message is permanently lost
CIncrease identifier length only
DDisable retry telemetry so the dashboard looks normal
Show answer

Answer: A Eventual delivery alone hides the cost of collision recovery.

iotclass.org

Retrieval practice

Recall check 4 of 5

Packet Pete says: answer from memory, then check your reasoning.

Q4A custom allocator makes 250 independent uniform choices from 65,536 local identifiers. The birthday approximation gives about a 37.8% chance of at least one duplicate. What is the strongest interpretation?

AThe model predicts a substantial chance of at least one duplicate in that specific random-choice domain
BExactly 37.8% of all packets will be lost
CAny protocol with 16-bit short addresses is limited to fewer than 250 devices
DThe address space is 37.8% full
Show answer

Answer: A The result belongs to the stated independent, uniform, with-replacement model and says nothing by itself about a named protocol's capacity.

iotclass.org

Retrieval practice

Recall check 5 of 5

Packet Pete says: answer from memory, then check your reasoning.

Q5A coordinator keeps a table of used values and always assigns an unused identifier. Why should an engineer not apply the independent birthday formula unchanged?

AThe coordinator is sampling without replacement, so duplicate choices are prevented while its allocation state is correct
BThe formula only works for decimal identifiers
CA coordinator makes every radio transmission collision-free
DThe probability becomes exactly 50%
Show answer

Answer: A Coordination removes the independent-with-replacement assumption.

iotclass.org

Print reference

Answers

Answer key.

  1. A · Coordination or disjoint namespaces changes the assignment process so the servers cannot legitimately issue the same value.
  2. A · DAD failure blocks assignment of that address; how a new identifier or manual recovery is obtained depends on the configuration mechanism.
  3. A · Eventual delivery alone hides the cost of collision recovery.
  4. A · The result belongs to the stated independent, uniform, with-replacement model and says nothing by itself about a named protocol's capacity.
  5. A · Coordination removes the independent-with-replacement assumption.
iotclass.org