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.
Support level
Section titled “Support level”| Area | Level | Notes |
|---|---|---|
| RIPv2 routing | Supported | Periodic updates between neighbours; routes enter the RIB at distance 120. |
| Hop-count metric | Supported | Lower hop count wins; infinity is treated as unreachable. |
| Network statements | Supported | Cisco-style classful selection: network 10.0.0.0 means 10.0.0.0/8. Secondary subnets the statement covers are announced; RIP peers over primaries only (no ip split-horizon sourcing from a secondary is not modelled). |
| Passive interfaces | Supported | Suppresses updates on selected interfaces. |
| Packet timing | Supported | The full table every 30 s, and at once to a new neighbour. Triggered updates within 1 s carry only the changed routes. On the wire in a capture (Packet Lens), decoded by Wireshark. |
| Route timers | Supported | A route not refreshed for 180 s goes to metric 16. It is still advertised at 16 and deleted 120 s later. |
| Port down | Supported | A port going down marks its neighbour’s routes unreachable at once. A shutdown port’s network is withdrawn at metric 16 and returns on no shutdown. |
| Split horizon / poison reverse | Supported | A route is not sent back where it was learned; poison reverse sends it at metric 16. |
| Authentication | Supported | ip rip authentication key-chain: a key mismatch stops route exchange. |
Standards coverage
Section titled “Standards coverage”| Standard | Coverage | Notes |
|---|---|---|
| RFC 2453 | Supported | RIPv2 updates, triggered updates (section 3.10.1), route timeout and garbage collection (section 3.8), split horizon, hop-count routing. |
Feature matrix
Section titled “Feature matrix”| Feature | Status | Notes |
|---|---|---|
router rip | Supported | Enables RIP process. |
version 2 | Supported | RIPv2 config surface. |
network <network> | Supported | Interface participation. |
passive-interface | Supported | Stops sending updates from the interface. |
no auto-summary | No effect | Accepted; the model makes no classful summary. |
ip rip authentication key-chain NAME | Supported | Authentication key from a key chain. |
| Route installation | Supported | RIP routes enter the IPv4 RIB with protocol distance. |
Vendor command matrix
Section titled “Vendor command matrix”| Command | IOS-style | Junos-style | VyOS-style | Notes |
|---|---|---|---|---|
router rip | Supported | Supported | Not modelled | Canonical RIP process. Junos: set protocols rip group G neighbor IF turns RIP on for the device. NX-OS: router rip TAG and ip router rip TAG on the port. |
version 2 | Supported | n/a | Not modelled | RIPv2 mode. |
network 10.0.0.0 | Supported | n/a | Not modelled | Interface selection. |
show ip route rip | Supported | Partial | Partial | RIP-learned routes. |
show ip rip database | Supported | n/a | n/a | RIP database. A route in garbage collection shows as possibly down, [16] via … with its age. |
Behaviour notes
Section titled “Behaviour notes”The model avoids probabilistic update races. Given the same topology, the same RIP routes and hop counts appear every run.
A change is announced by a triggered update within 1 s, carrying only the
changed routes. The full table still goes out every 30 s. A received update
merges into what the router already holds. A route nobody refreshes times out
at 180 s, is advertised at metric 16, and is deleted 120 s later. An uncabled
stub port that is not shutdown is still announced.
Examples
Section titled “Examples”Canonical example
configure terminalrouter rip version 2 no auto-summary network 10.0.0.0endshow ip route ripVendor styles
IOS-style
router rip version 2 no auto-summary network 10.0.0.0Junos-style
set protocols rip group CORE neighbor ge-0/0/0.0Known limits
Section titled “Known limits”The timers are fixed: 30 s updates, 180 s timeout, 120 s garbage collection,
and triggered updates at most once per second. timers basic and per-vendor
timer quirks are not modelled. redistribute and default-information originate under router rip are not read. VyOS has no RIP grammar here.