RIPng packet format
Basic format
A RIPng packet consists of a header and multiple route table entries (RTEs). The maximum number of RTEs in a packet depends on the IPv6 MTU of the sending interface.
Figure 99: RIPng basic packet format
Packet header description:
Command—Type of message. 0x01 indicates Request; 0x02 indicates Response.
Version—Version of RIPng. It can only be 0x01.
RTE—Route table entry. It is 20 bytes for each entry.
RTE format
The following are types of RTEs in RIPng:
Next hop RTE—Defines the IPv6 address of a next hop
IPv6 prefix RTE—Describes the destination IPv6 address, route tag, prefix length and metric in the RIPng routing table.
Figure 100: Next hop RTE format
IPv6 next hop address is the IPv6 address of the next hop.
Figure 101: IPv6 prefix RTE format
IPv6 prefix RTE field description:
IPv6 prefix—Destination IPv6 address prefix.
Route tag—Route tag.
Prefix len—Length of the IPv6 address prefix.
Metric—Cost of a route.