Dynamic routing
RIP
A distance-vector routing protocol: each router tells its neighbours how many hops away every network is.
Every 30 seconds (by default) a router multicasts its whole table to 224.0.0.9, UDP port 520; a neighbour adds one hop
and keeps the lowest count per network. No router sees the network's shape, and link speed plays no part. A route not
heard for 180 s is marked 16, unreachable, and deleted 120 s later. Simple, but slow to forget and prone to loops;
EIGRP keeps the distance-vector idea with loop-free checks, and OSPF replaces it with a shared map.