Concepts / Dynamic routing

Dynamic routing

RIP

Also called routing information protocol, distance vector, hop count, RIPv2, 224.0.0.9, UDP 520

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.

See it on real machines

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Start with a free account: Google or email, no card.

Open this lab