Figure 90 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 91 Next hop RTE format
IPv6 next hop address is the IPv6 address of the next hop.
Figure 92 IPv6 prefix RTE format
IPv6 prefix RTE format description:
•
IPv6 prefix—Destination IPv6 address prefix
•
Route tag—Route tag
•
Prefix length—Length of the IPv6 address prefix
•
Metric—Cost of a route
RIPng packet processing procedure
Request packet
When a RIPng router first starts or must update entries in its routing table, it usually sends a multicast
request packet to ask for needed routes from neighbors.
The receiving RIPng router processes RTEs in the request. If only one RTE exists with the IPv6
prefix and prefix length both being 0 and with a metric value of 16, the RIPng router responds with
287