š Multicast Distance Vector (DVMRP) (16 MCQs)
Distance-Vector Multicast Routing Protocol Fundamentals
Distance Vector Multicast Routing Protocol (DVMRP) is an early IPv4 multicast routing protocol based on distance-vector routing ideas. It uses source-oriented forwarding and reverse-path checks to distribute multicast datagrams through an internetwork. DVMRP also maintains multicast reachability information and uses pruning to reduce traffic sent toward networks without interested receivers. This distinction also shapes multicast path selection and receiver delivery decisions at routers.
Reverse Path Broadcasting and Distance Information
DVMRP exchanges distance information with neighboring routers and builds a multicast routing view that supports reverse path forwarding. Its forwarding logic initially assumes receivers may exist downstream, then uses membership and routing information to identify branches where multicast traffic is unnecessary. This approach is commonly described as flood-and-prune operation. These details determine how multicast routers maintain usable group state.
Flood-and-Prune Multicast Distribution Process
When a source begins sending to a group, multicast packets are flooded along valid reverse-path branches. A router with no downstream members sends a prune message upstream, removing that branch from the distribution tree. If a receiver later appears, a graft message can request restoration of the pruned path. This sequence limits replication to interfaces selected by the forwarding tree.
Prune and Graft Operations in a Network
Imagine a source sends group G traffic into a network with four downstream LANs, but only one contains listeners. DVMRP first distributes packets along valid branches; routers for the three uninterested LANs prune their branches. A later joining receiver can cause a graft to restore the necessary forwarding path. The example shows how the rule affects packet delivery at each hop.
Relationship Between DVMRP and IGMP
DVMRP relies on local group membership information, commonly learned using IGMP, while its own routing exchanges establish reverse-path reachability. It is therefore distinct from IGMP, which does not route packets between routers. DVMRP is historically important but has largely been superseded by PIM in modern multicast deployments. This relationship keeps membership management separate from data forwarding.
Misconceptions About DVMRP Operation
'DVMRP is an IGMP version' is incorrect because the protocols perform different jobs. 'Pruning stops the source from transmitting' is incorrect because it removes only an unnecessary downstream branch. 'DVMRP floods without loop control' is incorrect because reverse-path checks constrain forwarding to valid paths. These corrections prevent frequent mistakes when interpreting multicast control traffic.
Tracing DVMRP Forwarding and Pruning Behavior
Explain DVMRP's distance-vector basis, reverse-path forwarding, and flood-and-prune behavior. Trace where prune and graft messages travel and distinguish group membership from route reachability. In comparison questions, identify DVMRP as an early intradomain multicast approach rather than confusing it with PIM or unicast RIP. These points help students trace protocol behavior in examination scenarios.
DVMRP Routing and Pruning Terms
- DVMRP - Distance-vector IPv4 multicast protocol.
- Flood-and-prune - Flooding followed by branch removal.
- Prune - Suppresses traffic on branch.
- Graft - Restores a pruned branch.
- Reverse path - Route toward multicast source.
- Neighbor - Adjacent routing peer.
š All Multicast Distance Vector (DVMRP) MCQs
Q1. Which equation is employed by DVMRP to recompute distance entries after receiving a neighborās vector?
š Explanation: DVMRP uses the BellmanāFord relaxation step, as shown in lineāÆ19 of the pseudocode: . This equation updates each destinationās distance by comparing the current cost with the cost through neighborāÆw, ensuring the smallest metric is retained. The other equations belong to different routing families.
Q2. When a node sends its updated distance vector to a neighbor before receiving that neighborās latest vector, what primary problem can arise?
š Explanation: If a node forwards its new vector before learning the neighborās most recent information, it may adopt a stale path that appears valid. The neighbor then incorporates this incorrect metric, causing both nodes to believe they have a viable route when none exists, which creates a temporary routing loop and destabilizes the multicast tree.
Q3. Which statement correctly differentiates DVMRP from traditional unicast distanceāvector routing?
š Explanation: Unlike unicast distanceāvector protocols that keep a single routing table for all destinations, DVMRP keeps distinct distance vectors for each multicast group, allowing the protocol to manage groupāspecific forwarding trees. This perāgroup state is essential for efficient multicast distribution, whereas the other statements describe unrelated routing behaviors.
Q4. If the cost of a link to neighborāÆw increases, what immediate operation does the node perform according to the algorithm?
š Explanation: When a link cost changes, the node must recompute the metric for every destination that could use that link. It does this by applying the BellmanāFord update: . This step ensures that any increased cost is reflected in the distance vector without discarding valid routes outright.
Q5. In the DVMRP pseudocode, the 'wait' step (lineāÆ16) primarily represents which of the following?
š Explanation: The 'wait' construct indicates that the node suspends further processing until it either receives a new distance vector from a neighbor or detects a change in any of its links. This blocking behavior prevents unnecessary CPU cycles and aligns with the eventādriven nature of the distanceāvector update mechanism.
Q6. Consider a network where link AāX fails and nodeāÆB sends its updated vector to A before A has processed its own failure. Which logical outcome best describes the ensuing behavior?
š Explanation: Because Bās vector still contains a path through the failed link, A incorporates that stale information and believes a route to X exists via B. A then advertises this erroneous path back to B, creating a loop where each node repeatedly trusts the otherās outdated metric until further updates break the cycle.
Q7. Evaluate the impact of using periodic (timerādriven) updates versus eventādriven (onāchange) updates in DVMRP on convergence speed and bandwidth consumption.
š Explanation: Periodic updates broadcast the full distance vector at regular intervals, allowing nodes to learn about failures quickly, which speeds convergence. However, this regular transmission consumes more bandwidth even when the network is stable. Eventādriven updates only send information after a change, reducing traffic but potentially delaying awareness of failures, resulting in slower convergence.
Q8. NodeāÆA has current distance to destinationāÆy. It receives from neighborāÆw a distance and the link cost . According to the BellmanāFord step, what will be the new value of ?
š Explanation: Applying the BellmanāFord relaxation: . The algorithm selects the smaller metric, so the distance to destinationāÆy is reduced from 10 to 7 after incorporating the neighborās advertised cost plus the local link cost.
Q9. How does increasing the number of destinations affect the computational complexity of the DVMRP update loop for a single node?
š Explanation: The algorithm contains a loop that iterates from to (linesāÆ17ā20). Each iteration performs a constantātime BellmanāFord relaxation, so the total work scales proportionally to the number of destinations. Therefore, the perānode computational effort grows linearly with .
Q10. When a node receives conflicting distance vectors for the same destination from multiple neighbors, which rule does DVMRP apply to select the preferred entry?
š Explanation: DVMRP follows the BellmanāFord principle: for each destination it computes for every neighborāÆw and retains the minimum result. This metricābased comparison ensures the most efficient path is chosen, regardless of which neighbor supplied it.
Q11. To prevent routing loops in multicast traffic, which conceptual modification could be integrated into the DVMRP algorithm?
š Explanation: Applying split horizon with poison reverse means a node will not advertise a route back to the neighbor from which it originally learned that route, and will explicitly mark it as unreachable. This technique eliminates the possibility that two neighboring routers repeatedly convince each other that a failed path still exists, thereby breaking the loop formation.
Q12. Given a simple network: Aā1āBā2āC (link costs shown). Initially, all nodes have distances to C set to infinity except C (zero). After one iteration of the DVMRP update, what is Aās distance to C?
š Explanation: During the first iteration, B learns from C that and updates its own distance to C as . A then receives Bās updated distance (2) and adds the cost of the AāB link (1), yielding . Hence, after one round, Aās distance to C becomes 3.
Q13. Why does DVMRP transmit the entire distance vector to all neighbors only after detecting a change, rather than after every receipt of a neighborās vector?
š Explanation: Sending updates only when a metric actually changes avoids redundant transmissions, which conserves bandwidth and CPU cycles on both the sender and receivers. This eventādriven behavior aligns with the protocolās design goal of efficiency, whereas unconditional forwarding after each reception would generate excessive traffic without adding new information.
Q14. Design an extension to DVMRP that supports Quality of Service (QoS) by incorporating bandwidth reservations. Which of the following changes is essential?
š Explanation: QoSāaware DVMRP must convey not only cost but also the amount of residual bandwidth a path can provide. By adding a bandwidth attribute to each vector entry and adjusting the selection rule to prefer routes that satisfy both cost and bandwidth constraints, the protocol can make informed multicast forwarding decisions that honor reservation requirements.
Q15. Prove that, in a network without negativeācost cycles, the BellmanāFord update used by DVMRP converges to the optimal distances after at most iterations. Which key property underlies this guarantee?
š Explanation: In any graph with nodes, a simple shortest path cannot contain more than edges; otherwise a cycle would exist. The BellmanāFord relaxation propagates optimal distances along paths of increasing length, and after each iteration paths of length are correctly evaluated. Consequently, after iterations all possible simple paths have been examined, guaranteeing convergence to the true shortestāpath metrics.
Q16. In a scenario where A and B simultaneously exchange updated vectors after a link failure, leading to instability, what is the root cause and what mitigation strategy does the algorithm recommend?
š Explanation: When both routers update each other before confirming the failure, they may continually advertise increasingly larger metricsāa countātoāinfinity problem. The standard remedy is to employ a holdādown timer that suppresses acceptance of new routes for a destination until the timer expires, allowing the network to stabilize and preventing the loop from persisting.