Route summarization
The process of route summarization is to combine entries in the routing table that have to same common prefix if they all go to the same router. To do this though you need to know that all bother addresses on that subnet need to go to that router.