GATE 2024 set1 Computer Science and Information Technology question: Consider the entries shown below in the forwarding table of an IP router. Each entry…
Consider the entries shown below in the forwarding table of an IP router. Each entry consists of an IP prefix and the corresponding next hop router for packets whose destination IP address matches the prefix. The notation “/N” in a prefix indicates a subnet mask with the most significant N bits set to 1.
| Prefix | Next hop router |
|---|---|
| 10.1.1.0/24 | R1 |
| 10.1.1.128/25 | R2 |
| 10.1.1.64/26 | R3 |
| 10.1.1.192/26 | R4 |
This router forwards 20 packets each to 5 hosts. The IP addresses of the hosts are 10.1.1.16, 10.1.1.72, 10.1.1.132, 10.1.1.191, and 10.1.1.205 . The number of packets forwarded via the next hop router R2 is _______
Show answer
Official answer: 40