Output of show ip route · destination = 10.4.17.42
Codes: S - Static, C - Connected, D - EIGRP, O - OSPF, B - BGP Gateway of last resort is 192.0.2.1 to network 0.0.0.0 S* 0.0.0.0/0 [1/0] via 192.0.2.1 B 10.0.0.0/8 [200/0] via 192.0.2.9 O 10.4.0.0/16 [110/2] via 198.51.100.7 O 10.4.16.0/22 [110/3] via 203.0.113.2 S 10.4.16.0/24 [1/0] via 198.51.100.42 S 192.168.0.0/16 [1/0] via 198.51.100.99 C 198.51.100.0/24 is directly connected, FastEthernet0/0 C 203.0.113.0/24 is directly connected, FastEthernet0/1
10.4.17.42 = 00001010.00000100.00010001.00101010
/22 mask cuts after 22 bits → matches network 10.4.16.0/22 (range 10.4.16.0 – 10.4.19.255). /24 covers 10.4.16.0–255 only.