In: Computer Science
Consider a router that has the following Routing Table contents:
Destination Subnet |
Outgoing Interface |
Next Hop |
50.62.8.0/24 |
Fa0/0 |
118.2.77.4 |
24.19.0.0/16 |
Fa0/1 |
59.16.1.1 |
0.0.0.0/0 |
Fa0/2 |
18.12.52.43 |
0.0.0.0/0 is the default route. When a packet arrives, the router checks the destination IP address of the packet to see in which subnet it falls. If the destination IP address does not fall within any of the specified subnets, then the default route is used as a last resort. The packet is consequently forwarded out Fa0/2.
Answer A
************
packet will forward to interface Fa0/0 , because /24 range is 0-254 and here last octet is 154 which fall between this range.
Answer B
************
packet will forward to interface Fa0/2 because its defaut route and no .25 subnet is found in the table.
Answer C
************
packet will forward to interface Fa0/2 because its defaut route and no .9 subnet is found in the table.
Answer D
***********
packet will forward to interface Fa0/1 , because /16 range is 0-65534 and 24.19.0.0 to 24.19.255.255 so it fall in between this range.
Answer E
***********
packet will forward to interface Fa0/2 , because route .19 is there but we have .19 route.
if you have any doubt then please ask me without any hesitation in the comment section below , if you like my answer then please thumbs up for the answer , before giving thumbs down please discuss the question it may possible that we may understand the question different way and we can edit and change the answers if you argue, thanks :)