Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

RIPng Overview

RIP next generation (RIPng) is an interior gateway protocol (IGP) that uses a distance-vector algorithm to determine the best route to a destination, using hop count as the metric. RIPng exchanges routing information used to compute routes and is intended for IP version 6 (IPv6)-based networks. RIPng is disabled by default.

On devices in the secure context, IPv6 is disabled. You must enable IPv6 to use RIPng.

This topic contains the following sections:

RIPng Protocol Overview

The RIPng IGP uses the Bellman-Ford distance-vector algorithm to determine the best route to a destination, using hop count as the metric. RIPng allows hosts and routers to exchange information for computing routes through an IP-based network. RIPng is intended to act as an IGP for moderately-sized autonomous systems.

RIPng is a distinct routing protocol from RIPv2. The Junos® operating system (Junos OS) implementation of RIPng is similar to RIPv2, but has the following differences:

  • RIPng does not need to implement authentication on packets.
  • Junos OS does not support multiple instances of RIPng.
  • Junos OS does not support RIPng routing table groups.

RIPng is a UDP-based protocol and uses UDP port 521.

RIPng has the following architectural limitations:

  • The longest network path cannot exceed 15 hops (assuming that each network, or hop, has a cost of 1).
  • RIPng is prone to routing loops when the routing tables are reconstructed. Especially when RIPng is implemented in large networks that consist of several hundred routers, RIPng might take an extremely long time to resolve routing loops.
  • RIPng uses only a fixed metric to select a route. Other IGPs use additional parameters, such as measured delay, reliability, and load.

RIPng Standards

RIPng is defined in the following documents:

  • RFC 2080, RIPng for IPv6
  • RFC 2081, RIPng Protocol Applicability Statement

To access Internet Requests for Comments (RFCs) and drafts, see the Internet Engineering Task Force (IETF) website at http://www.ietf.org.

RIPng Packets

A RIPng packet header contains the following fields:

  • Command—Indicates whether the packet is a request or response message. Request messages seek information for the router’s routing table. Response messages are sent periodically or when a request message is received. Periodic response messages are called update messages. Update messages contain the command and version fields and a set of destinations and metrics.
  • Version number—Specifies the version of RIPng that the originating router is running. This is currently set to Version 1.

The rest of the RIPng packet contains a list of routing table entries consisting of the following fields:

  • Destination prefix—128-bit IPv6 address prefix for the destination.
  • Prefix length—Number of significant bits in the prefix.
  • Metric—Value of the metric advertised for the address.
  • Route tag—A route attribute that must be advertised and redistributed with the route. Primarily, the route tag distinguishes external RIPng routes from internal RIPng routes when routes must be redistributed across an exterior gateway protocol (EGP).

Published: 2013-02-02