Computer Networks • Week 2–3
01 / 13Routing tables, default gateway, longest-prefix match
Routers do not ask 'which route seems generally closest?' They compare the destination IP against candidate prefixes and choose the most specific matching route, called longest-prefix match. The selected route then determines the next hop or outgoing interface.
StackShade deck
Predict → explain → retrieve