How Do Packets Make Their Way Through Packet-Switched Networks?
Earlier we said that a muter takes a packet arriving on one of its attached communication links and forwards that packet on to another of its attached communication links. But how does the router determine the link onto which it should forward the packet? This is actually done in different ways by different types of computer networks we will describe one popular approach, namely. The approach employed by the Internet.
Source:
How Do Packets Make Their Way Through Packet-Switched Networks?