( A) Eth1 and Eth2 …..
To find the interface,
we need to do AND of incoming IP address and Subnet mask. Compare the result of AND with the destination.
Note that if there is a match between multiple Destinations, then we need to select the destination with longest length subnet mask.
128.75.43.16, matches with 128.75.43.0 and 128.75.43.0, the packet is forwarded to Eth1 as length of subnet mask in Eth11 is more….
If a result is not matching with any of the given destinations then the packet is forwarded to the default interface (here Eth2)….
Therefore the packet’s addressed to 192.12.17.10 will be forwarded to Eth2….