We cannot assume idealized routing in practice:

In terms of scale, there are billions of potential destinations.

Instead, we have an administrative autonomy in practice:

For scalable routing, routers are aggregated into regions known as “autonomous systems” (AS) - aka domains.

In interconnected ASes, the forwarding table is configred by intra- and inter-AS routing algorithms.