CS FundamentalsHardGATE CS · networking placement
A router has four equal-cost paths to a destination and uses ECMP. Why does it usually choose the path by hashing each packet's 5-tuple rather than sending packets round-robin?
- A. Hashing spreads load more evenly than round-robin when all packets are equal
- B. So that every packet of one flow takes the same path and TCP does not see reordering
- C. Round-robin would break the IP checksum, which covers the outgoing interface
- D. Hashing lets the router skip the longest-prefix lookup for the remaining packets
Correct answer: B. So that every packet of one flow takes the same path and TCP does not see reordering
Per-packet spraying over paths of slightly different delay reorders a flow's packets, which TCP treats as loss (duplicate ACKs). Per-flow hashing keeps each flow on one path; the price is that a few heavy flows can unbalance the links.
More Computer Networks questions
- An IPv6 packet has Payload Length = 1240 and carries one 8-byte Fragment extension header before the upper-layer data. What is the total…
- Match each IPv6 address with its type. P. ff02::1 Q. fe80::1 R. fd12:3456::1 S. ::1 1. Loopback 2. Link-local unicast 3. All-nodes…
- Three PCs behind one NAT router ping the same public server at the same time. ICMP Echo messages have no port numbers. How does the NAT…
- An 802.1Q trunk is configured with native VLAN 1 on switch A but native VLAN 99 on switch B. What happens to an untagged frame that A…
- Why does 802.11 use collision avoidance with ACKs rather than the collision detection used by classic Ethernet?
- Ten (7, 4) Hamming codewords are written as rows of a 10 × 7 array, and the array is sent column by column. What is the longest burst of…