Skip to content

RIPv2

RIPv2 is modelled as a deterministic distance-vector routing protocol for IPv4 training scenarios. It is intentionally small and transparent: the important outcome is which hop-count routes appear in the RIB.

AreaLevelNotes
RIPv2 route solvingBehaviour modelComputes routes across configured RIP domains.
Hop-count metricSupportedLower hop count wins; infinity is treated as unreachable.
Network statementsSupportedCisco-style network selection.
Passive interfacesSupportedSuppresses updates on selected interfaces.
Packet timingPartialTimers are deterministic simulation events, not wall-clock protocol noise.
StandardCoverageNotes
RFC 2453Behaviour modelRIPv2 hop-count routing and route advertisement concepts.
FeatureStatusNotes
router ripSupportedEnables RIP process.
version 2SupportedRIPv2 config surface.
network <network>SupportedInterface participation.
passive-interfaceSupportedStops sending updates from the interface.
no auto-summaryConfig modelAccepted for config fidelity.
Route installationSupportedRIP routes enter the IPv4 RIB with protocol distance.
CommandIOS-styleJunos-styleVyOS-styleNotes
router ripSupportedn/aPartialCanonical RIP process.
version 2Supportedn/aPartialRIPv2 mode.
network 10.0.0.0Supportedn/aSupportedInterface selection.
show ip route ripSupportedPartialPartialRIP-learned routes.

The model avoids probabilistic update races. Given the same topology, the same RIP routes and hop counts appear every run.

Canonical example
configure terminal
router rip
version 2
no auto-summary
network 10.0.0.0
end
show ip route rip

Vendor styles

IOS-style
router rip
version 2
no auto-summary
network 10.0.0.0
Junos-style
set protocols rip group CORE neighbor ge-0/0/0.0
set protocols rip group CORE export CONNECTED
VyOS-style
set protocols rip network 10.0.0.0/8
set protocols rip interface eth0

Triggered update races, authentication, route poisoning packet fidelity, and per-vendor timer quirks are not modelled in depth.