š ICMPv6 error reporting messages (13 MCQs)
Reporting IPv6 Packet Delivery Errors
ICMPv6 error messages inform a source host when an IPv6 packet encounters a delivery problem that prevents normal forwarding or processing. Their Type values identify conditions such as Destination Unreachable, Packet Too Big, Time Exceeded, and Parameter Problem. These reports help protocols and administrators diagnose failures, adjust packet sizes, and identify invalid network-layer information. They are control feedback, not data acknowledgements.
Four Main Error Message Types
Destination Unreachable uses Type 1, Packet Too Big uses Type 2, Time Exceeded uses Type 3, and Parameter Problem uses Type 4. A Code value further identifies the reason within each type. The message includes a portion of the invoking packet so the original sender can associate the error with the affected communication.
Sending an Error Report to the Original Source
A router or destination creates an ICMPv6 error when a packet meets a condition for which reporting is appropriate. It places the error type and code in the message, includes relevant information from the original packet, and sends the report toward the source address. ICMPv6 rules limit when errors may be generated to avoid error loops and unnecessary traffic.
Packet Too Big and Path MTU Discovery
Suppose a sender transmits an IPv6 packet larger than a link MTU along its route. The router cannot fragment it, so it discards the packet and sends a Packet Too Big message, Type 2, with the supported MTU. The source can reduce packet size and retransmit, allowing Path MTU Discovery to work.
Error Reporting and Reliable Transport Protocols
ICMPv6 error reports provide network feedback but do not retransmit application data or guarantee successful delivery. TCP may react to the underlying loss or path information, while UDP applications may need their own response strategy. Packet Too Big is especially important because IPv6 routers do not perform fragmentation in transit, making effective feedback necessary.
Misunderstandings About ICMPv6 Errors
'Every dropped packet generates an error' is incorrect because protocol rules suppress many reports. 'Packet Too Big means the destination is unavailable' is false; it indicates a packet-size constraint. 'ICMPv6 retransmits the original data' is wrong; it reports an event, leaving recovery to the source or upper-layer protocol. Their purpose is notification rather than recovery.
Interpreting ICMPv6 Error Types and Codes
For examination questions, memorize Types 1 through 4 and match each to its function. Explain how Code refines the reason and why the original packet excerpt is included. Be able to trace a Packet Too Big exchange and distinguish network-layer error notification from transport-layer retransmission or application recovery. Know which side of the exchange receives the report.
ICMPv6 Error Message Terms
- Destination Unreachable - Reports that packet delivery cannot proceed.
- Packet Too Big - Reports a link MTU limitation.
- Time Exceeded - Reports expired Hop Limit or reassembly timer.
- Parameter Problem - Identifies an invalid IPv6 packet field.
- Type - Identifies the ICMPv6 error category.
- Code - Specifies the exact reason for an error.
š All ICMPv6 error reporting messages MCQs
Q1. If a router does not receive any update for a route within the expiration interval, what immediate action does RIP take regarding that routeās metric?
š Explanation: When the expiration timer reaches zero, RIP treats the route as timedāout and sets its metric to 16, which represents an infinite distance, signaling that the destination is unreachable. The route remains in the table and continues to be advertised with this metric until the garbageācollection timer later removes it.
Q2. Suppose Router Aās expiration timer for a route expires exactly when Router Bās garbageācollection timer for the same route reaches zero. What is the most likely effect on neighboring routersā view of that route?
š Explanation: When the expiration timer expires, the route is marked unreachable and advertised with metric 16. If the garbageācollection timer also reaches zero at that moment, the router still sends the metricā16 advertisement before purging the entry, so neighbors briefly observe the route as unreachable before it disappears from their tables.
Q3. Consider two adjacent routers that have their update timers synchronized such that both send full routing updates at the same instant every 35āÆseconds. How does this synchronization impact network convergence compared to the randomized timer approach described in RIP?
š Explanation: Simultaneous updates create a burst of identical information, which can mask failures and cause routers to rely on stale data longer. This synchronization raises the chance that a failed link is not detected promptly, fostering countātoāinfinity situations and therefore slowing overall convergence compared with the randomized approach that spreads updates over time.
Q4. Which statement correctly contrasts the purposes of the expiration timer and the garbageācollection timer in RIP?
š Explanation: The expiration timer is triggered when no update is received within its interval; it changes the routeās metric to 16, indicating unreachability. The garbageācollection timer then starts, counting down a fixed period (typically 120āÆseconds) before the route entry is finally removed from the forwarding table.
Q5. If the expiration timer were increased from 180āÆseconds to 300āÆseconds while keeping the garbageācollection timer at 120āÆseconds, what is the most probable impact on network stability after a link failure?
š Explanation: A longer expiration interval means routers will wait longer before declaring a route invalid, so the failure is detected more slowly. However, once the route is marked unreachable, the existing 120āsecond garbageācollection timer still controls removal, causing stale (but unreachable) entries to persist for a greater overall period, which can reduce stability.
Q6. How does the combination of splitāhorizon with poisonāreverse and the 180āsecond expiration timer work together to mitigate the countātoāinfinity problem in RIP?
š Explanation: Poisonāreverse ensures that a router advertises a metric of 16 for a route it learned from a neighbor, so that neighbor will not reuse that path, breaking potential loops. The expiration timer then guarantees that if updates cease, the route will be marked unreachable after 180āÆseconds, preventing indefinite metric increments.
Q7. In RIP, a route whose hop count reaches 16 is interpreted as what?
š Explanation: RIP defines a metric of 16 as infinity, meaning the destination cannot be reached. When a routeās hop count reaches this value, routers treat the route as invalid and propagate the metric 16 to inform neighbors that the path is no longer usable.
Q8. Explain how the randomization of the 35āsecond update interval contributes to faster convergence while reducing routing traffic.
š Explanation: By adding a random delay to each routerās 35āsecond timer, updates are staggered across the network. This prevents many routers from transmitting simultaneously, reducing the chance of packet collisions and excessive bandwidth use, while still delivering timely information that aids quicker convergence.
Q9. Propose a modification to RIPās timer scheme that would improve robustness against a single router failure without significantly increasing controlāplane traffic. Which of the following changes best meets these criteria?
š Explanation: A dedicated heartbeat timer that fires quickly after a failure can prompt neighboring routers to send immediate updates, accelerating detection of the problem. Because it only activates on failure events, overall controlāplane traffic remains low, preserving robustness without the constant overhead of a shorter regular update interval.
Q10. What is the default duration of the expiration timer for a route in RIP?
š Explanation: RIP specifies that when a route entry is created or refreshed, its expiration timer is set to 180āÆseconds. If no further updates are received before this period elapses, the route is marked unreachable.
Q11. A router receives a valid update for a route just 5āÆseconds before its expiration timer would expire. What is the effect on the timer and the routeās status?
š Explanation: Receiving a fresh update restarts the expiration timer, resetting it to the full 180āÆseconds. Consequently, the route stays in the forwarding table with its current metric, and the timer begins counting down from the new value, preventing premature expiration.
Q12. Compare the impact on network bandwidth of using a fixed 35āsecond update interval versus a randomized interval between 30āÆseconds and 40āÆseconds. Which statement is accurate?
š Explanation: Randomizing the interval spreads update transmissions over a wider time window, lowering the probability that many routers send updates at the same moment. This distribution eases bandwidth demand during any single second, even though the average number of updates per unit time remains comparable to the fixedāinterval case.
Q13. How does the garbageācollection timer ensure that neighboring routers become aware of an invalid route before it is removed from the forwarding table?
š Explanation: When a route becomes invalid, RIP continues to advertise it with a metric of 16 while the garbageācollection timer counts down. This persistent advertisement informs all neighboring routers that the path is no longer usable, giving them time to update their tables before the route entry is finally purged.