by cranekam · 3y ago · 0 comments
https://networkengineering.stackexchange.com/questions/76562...
https://blog.apnic.net/2021/03/03/what-will-happen-when-the-...
And besides, there is no need to keep the whole routing table in RAM. Instead all that's necessary is a single integer per route representing which port packets to each route needs to be sent down. So even for a large router with 64 ports, the whole routing table fits inside 1 megabyte.
A single port of a router at an internet exchange can reach more than 1000 different routers. A router has to decide to which IP it should forward a packet not just the port.