RIPv2 is the second version of the Routing Information Protocol, a distance-vector routing protocol that routers use to share information about which networks they can reach and how far away those networks are. It is a networking standard, not a slang word: it was published by the IETF as RFC 2453 in 1998, and it updated the original RIPv1 defined in RFC 1058. RIPv2 is still supported on most enterprise and small-office routers, but it is now considered basic, legacy technology — it works well in small, simple networks and badly in large or fast-changing ones. If you have ever opened a router's configuration pages and seen a choice between RIPv1, RIPv2 and OSPF, RIPv2 is the sensible, usable member of the RIP family.
Where RIPv2 came from
RIP's ancestor is the older Gateway-to-Gateway Protocol, and its core idea — counting the number of routers (hops) between here and a destination, and choosing the path with the fewest hops — traces back to the early ARPANET work. RIPv1 spread widely because it was simple to implement and was bundled into many operating systems and small routers. RIPv2 added features that RIPv1 lacked: subnet mask information in its updates, a simple authentication option, multicast updates instead of broadcast, and support for next-hop addresses. It remains a mature, stable, widely documented protocol, but it is a distance-vector design, and its limitations are built in.
How RIPv2 works in practice
Every RIPv2 router keeps a routing table of networks, the next router to send traffic to, the interface to use, and a metric. That metric is the hop count. A network connected directly to a router is one hop; a network two routers away is two hops, and so on. Each router periodically sends its whole table to its neighbours, and neighbours merge the information they receive into their own tables, keeping the route with the lowest hop count. When a router learns a route from a neighbour, the hop count it records is the neighbour's advertised count plus one.
The mechanics that matter day to day:
- Updates are sent every 30 seconds by default, by multicast to the address 224.0.0.9, which is one of the key differences from RIPv1's broadcast approach.
- Maximum hop count is 15. A destination 16 hops away is treated as unreachable. That single number is why RIP is confined to small networks.
- Subnet masks are included in updates, so RIPv2 supports classless addressing (CIDR and VLSM), unlike RIPv1, which assumed classful networks.
- Authentication can be configured with a plain-text password or an MD5-based scheme, so routers only accept updates from peers that share the secret. On modern gear the exact options vary, and authentication should be treated as a guard against accidental mixing, not a strong security control.
- Split horizon, route poisoning, and triggered updates are standard protections against routing loops; check your router's documentation for how each is configured.
One detail that trips people up: the routing table is not recalculated from scratch on every update. A router only replaces an existing route if the new one has a lower metric, or if the existing route has failed. A worse route learned from a different neighbour simply sits in the table unused.
Configuring RIPv2 on a router
The exact menu labels differ by router make, firmware version and region, so treat any GUI path as a starting point rather than a guarantee. On most consumer and small-business routers it looks roughly like this:
- Open the router's admin interface — for many models this is a page reached by typing the device's LAN IP address into a browser, or a management app.
- Find the routing or dynamic routing section and enable RIP.
- Select version 2, so the router sends subnet masks and uses multicast updates.
- Choose whether updates go out on the LAN interface, the WAN interface, or both. The safe default is to run RIP only on the internal network, never toward your internet connection.
- If authentication is available, set it, and make sure every router in the group uses the same method and secret.
- Check the learned routes in the routing table to confirm neighbour updates are arriving.
On a command-line router the shape of the commands is similar: enable RIP, set it to version 2, and name the networks that this router should advertise and listen on. If you are unsure of syntax for your model, copy an example from the vendor's own documentation rather than guessing.
What RIPv2 is good for — and where it is not
RIPv2 genuinely applies in a few cases:
- Small networks with a handful of routers and a flat, simple layout.
- Mixed-vendor equipment where a lightweight, universally documented protocol is easier than vendor-specific routing.
- Temporary or lab networks, where a router can be configured in a minute and needs no topology planning.
- Simple failover: if the primary link dies, a RIPv2 route through a backup link can be learned and installed.
It does not suit large networks, networks with frequent link changes, or anything with many alternate paths. RIPv2 converges slowly compared with link-state protocols like OSPF, its hop-count metric ignores link speed entirely — a slow link and a fast link of the same length look identical — and the 15-hop ceiling rules out many real topologies. For anything beyond a small setup, OSPF or a modern protocol is usually the better choice.
Common RIPv2 problems and how to fix them
- Version mismatch. A router sending RIPv1 updates and another expecting RIPv2 will not exchange routes properly. Set both ends to version 2 explicitly rather than leaving it to auto-detection.
- Authentication mismatch. If one router has a password set and the other does not, updates are silently ignored. Confirm the method and password match exactly.
- Network not advertised. A route will not be learned if the source router never names that network in its RIP configuration.
- Hop count already at the limit. A destination reported as 16 hops is unreachable by design. Nothing in RIPv2 raises that ceiling.
- RIP accidentally exposed to the internet. Advertising routes toward the WAN interface or a home router's public side is a mistake. Keep it internal.
- Count-to-infinity slow convergence. After a link failure, routes can take a while to stabilise while routers count upward one hop at a time. Split horizon and poison-reverse help but do not eliminate it.
If a route is still missing after these checks, confirm that the interface is up, that both routers are on a common subnet, and that no firewall rule or ACL is blocking the RIP multicast and its traffic.
RIPv2 vs alternatives
RIPv1 is RIPv2's predecessor: same hop-count logic, no subnet masks, broadcast updates, no authentication. RIPv2 is the strictly better version and there is little reason to run RIPv1 today. OSPF is a link-state protocol that builds a shared map of the network, uses a cost metric based on bandwidth, converges faster and scales much further — it is the usual recommendation for anything larger than a small office. Between dynamic routing protocols generally, choose RIPv2 only when simplicity and interoperability beat efficiency and speed; otherwise OSPF (or BGP where multiple organisations are involved) is the standard answer. Note that RIP as a protocol is entirely separate from the "ripgrep" command-line search tool sometimes abbreviated rg — the names are unrelated.
Frequently Asked Questions
Is RIPv2 a standard?
Yes. It is a formal internet standard defined in RFC 2453 by the IETF, not an informal term. Any use of "RIPv2" in a network configuration or documentation set means that protocol.
What is the maximum hop count in RIPv2?
Fifteen. A destination more than 15 hops away is marked unreachable, which is why RIPv2 is limited to small networks.
How often do RIPv2 routers send updates?
Every 30 seconds by default, by multicast to 224.0.0.9. Triggered updates can also be sent immediately when a route changes.
Does RIPv2 support subnet masks?
Yes, unlike RIPv1. Subnet mask information travels in the updates, so RIPv2 works with classless addressing and VLSM.
Should I use RIPv2 or OSPF at home?
For a typical home network you usually need neither; a single router with a static default route is enough. If you are connecting several routers, OSPF scales better, while RIPv2 is quicker to set up and easier to monitor.
Is RIPv2 secure?
Only in a limited sense. It offers optional plain-text or MD5-style authentication between peers, which prevents accidental misconfiguration, but it is not encryption — updates can still be read in transit. Do not run it across untrusted networks.